Articles

Article updates

Plugin Requirements

The WP Hide PRO plugin is designed to work seamlessly without the need for any special server configurations. As long as your WordPress installation has active Permalinks enabled, the plugin will function smoothly without any issues.

It is fully compatible with a wide range of server environments, including both UNIX-based systems (such as Ubuntu, CentOS, FreeBSD, Debian, CoreOS, and others) and Windows-based systems running IIS. It supports popular web servers like Apache, NGinX, and other commonly used server software, ensuring flexibility regardless of your server setup.

In terms of system resources, the plugin is optimized for efficiency. It has minimal processing and memory requirements, making it lightweight and easy to run even on lower-powered servers. The code is compact and well-organized to ensure rapid execution without imposing any additional load beyond what you’d expect from a typical small to medium-sized WordPress plugin. If your server can comfortably run WordPress, WP Hide PRO will run without causing any performance degradation.

The plugin requires WordPress version 2.8 or higher, a version that nearly 99.9% of active WordPress sites have already surpassed. Therefore, compatibility with the vast majority of WordPress installations is assured.

WP Hide PRO is built to integrate with virtually any combination of plugins and themes, offering a broad range of compatibility. However, there may be instances where it overlaps with other plugins that provide similar functionality, particularly in terms of security or customization features. In these cases, the WP Hide & Security Enhancer will display a notification, allowing you to choose between the overlapping plugins to avoid conflicts or redundancy in features.

Overall, WP Hide PRO is designed with simplicity, efficiency, and broad compatibility in mind, ensuring that it works effectively without requiring significant resources or complicated setups. Whether you’re running a personal blog or managing a larger enterprise site, the plugin will integrate smoothly into your existing infrastructure.

Rewrite – Map URLs

This functionality is available for PRO version.

The Map URLs module can be used to change individual URLs to custom ones. The interface consists of 2 fields, an Url to replace and an Url replacement.

Any site URL’s can be mapped to something else. Any type of asset works with re-mapping e.g JavaScript, Cascading Style Sheets, Media Images etc. An url should always start with a slash.


/wp-content/plugins/qxshop/assets/js/frontend/qxshop.min.js

to


/ecommerce.min.js

Directories can also be re-mapped, they need to end in a forward slash


/wp-content/cache/

to


/static-data/

The plugin cache directory can be easily changed to something else using something like this


/wp-content/cache/wph/

to


/app-data/

On WordPress MultiSite environment, if using multiple domains and specific URLs need to be changed per domain base; the –domain-name– should be replaced with actual one:


//--domain-name--/wp-content/plugins/woocommerce/assets/js/frontend/cart.js

to


//--domain-name--/shopp.js

There are a few requirements for a replacement and replace Url for the module to process:

  • The resource must be on the same domain as the website or if run on MultiSite, the resources must match one of the existing domains.
  • The URLs can start or not with a domain. If starts with a domain, a double slash should be prepended per above example.
  • If the asset has already been rewritten by another module but still needs further modification, the default URL format must be used. This format can be observed in the outputted HTML when no rewrite has been applied.
  • If there are multiple instances of the same URL (e.g. image asset) all will be replaced with the new provided Url.
  • Any incomplete or invalid URL, either the replaced or replacement makes the entry obsolete and will be ignored.

Rewrite – JSON REST

The WordPress REST API provides a powerful and straightforward way to interact with your site’s data through a set of HTTP endpoints. It allows you to access and manipulate various types of content, including users, posts, taxonomies, and more, all in a simple JSON format. Whether you need to retrieve information or update existing data, you can do so effortlessly by sending HTTP requests.

Continue reading

PostProcessing – CSS

This functionality is available for PRO version.

The PostProcessing engine is a powerful tool designed to enhance the security and performance of WordPress websites by obfuscating and white-labeling various components of the site, making it significantly more difficult for hackers to identify the technologies and plugins in use. One of its most advanced features is the CSS Post-Processing engine, a highly sophisticated system that allows users to manipulate and optimize Cascading Style Sheets (CSS) for a variety of purposes, including hiding, white-labeling, and performance improvements. Activating this engine is crucial for enabling the Replacements functionality, a feature that provides further control over how CSS is handled and presented on the site.

Understanding the CSS Post-Processing Engine

The CSS Post-Processing engine in WP Hide PRO is specifically designed to offer powerful processing capabilities for CSS data types. Its primary function is to allow site administrators to manage and manipulate CSS files, ensuring that these files align with the overall security and branding strategies of the site. By leveraging this engine, users can transform their CSS in ways that not only obscure the underlying technology but also improve site performance and search engine optimization (SEO).

Three Types of Processing Options

The CSS Post-Processing engine offers three primary processing options, each designed to meet different needs and preferences for how CSS is handled:

  1. Combine: The Combine option is ideal for users looking to consolidate their CSS files into fewer files, typically merging all CSS code into two main files—one placed in the header and another in the footer of the webpage. This approach reduces the number of HTTP requests the browser needs to make when loading a page, which can significantly enhance the loading speed. By combining multiple CSS files, the site becomes leaner, more efficient, and quicker to load, which also positively impacts the site’s SEO ranking. Faster loading times are crucial for user experience and can lead to better engagement and conversion rates.
  2. In Place: The In Place processing option is a more straightforward approach where all CSS code is processed but remains in the same location as the original asset or inline CSS. This method is beneficial when you want to retain the existing structure of your CSS files but still want to take advantage of the optimizations and security enhancements provided by WP Hide PRO. The In Place option ensures that all CSS is streamlined without altering its placement, making it easier to maintain and manage.
  3. In Place & Encode Inline: This option builds on the In Place method by adding an extra layer of security and obfuscation. Not only is the CSS processed and kept in the same spot, but any inline styles are also base64 encoded. Base64 encoding transforms the CSS into a non-human-readable format, making it much harder for anyone trying to reverse-engineer the site’s styling. This approach provides an additional layer of protection against potential threats while ensuring that the site’s performance remains optimized. Although base64 encoding can increase the size of the CSS, the security benefits often outweigh the potential drawbacks, especially for sites where privacy and security are paramount.

Enhancing Site Performance and SEO

One of the most significant advantages of the CSS Post-Processing engine is its ability to improve overall site performance. By optimizing CSS files through the available processing options, WP Hide PRO reduces the amount of data the browser needs to download and process, leading to faster page load times. Faster loading times are not only critical for user satisfaction but also play a crucial role in determining a site’s SEO score. Search engines like Google prioritize fast-loading websites in their rankings, meaning that the optimizations provided by WP Hide PRO can directly contribute to higher search engine visibility and better organic traffic.

Moreover, the CSS Post-Processing engine helps streamline code, which can reduce the risk of errors and conflicts between different CSS files. By managing CSS more effectively, site administrators can ensure that their pages render correctly across all devices and browsers, further enhancing the user experience.

Advanced Module Options

In addition to the core processing options, the CSS Post-Processing engine includes several advanced settings that allow for even greater customization and control. These options provide users with the flexibility to tailor the CSS processing to their specific needs:

  1. Remove Comments: Comments within CSS files are often used for documentation purposes during development, but they serve no functional purpose in a live website. WP Hide PRO offers the option to automatically remove all comments from processed CSS files. This not only reduces the file size but also eliminates any potentially revealing information about the site’s structure or the reasoning behind certain design choices.
  2. Minify: Minification is a process that removes unnecessary characters from CSS files, such as spaces, line breaks, and indentation, without affecting the code’s functionality. The result is a smaller file size, which loads faster in the browser. WP Hide PRO includes a robust minification option as part of its CSS Post-Processing engine, ensuring that all CSS files are as lean and efficient as possible. This feature is particularly useful for large websites where even small reductions in file size can lead to significant performance gains.
  3. Exclude Style Files from CSS Combine: There may be instances where certain CSS files should not be combined with others, perhaps due to specific dependencies or load order requirements. WP Hide PRO allows users to specify which style files should be excluded from the CSS Combine process. This level of control ensures that critical CSS files remain separate, preventing potential issues while still benefiting from the performance enhancements offered by the engine.
  4. Exclude CSS Block from Combine: Similar to excluding entire files, this option allows users to specify partial blocks of CSS code that should not be included in the Combine process. This is useful for situations where only certain parts of a CSS file need to remain independent. By excluding specific blocks, users can maintain fine-grained control over how their CSS is processed, ensuring that essential code is handled appropriately while still optimizing the rest of the file.

The CSS Post-Processing engine is an indispensable tool for any WordPress site owner looking to enhance security, improve performance, and maintain a high level of customization. By offering multiple processing options and advanced features, this engine provides the flexibility needed to manage CSS files effectively. Whether the goal is to combine and minify CSS for better performance or to obfuscate and encode inline styles for added security, WP Hide PRO has the tools necessary to achieve these objectives.

The engine’s ability to streamline and optimize CSS not only boosts site speed but also contributes to a higher SEO score, making it a valuable asset for anyone looking to improve their website’s visibility and user experience. With the added benefits of removing comments, minifying code, and allowing for precise control over which CSS elements are processed, WP Hide PRO ensures that your site’s styling is both secure and efficient.

The component is fully compatible with other SEO tools, including cache plugins and asset optimization plugins like Autoptimize, WP-Optimize, and more

PostProcessing – JavaScript

This functionality is available for PRO version.

The JavaScript PostProcessing feature is a crucial component of the PostProcessing engine, working alongside CSS PostProcessing and Replacements to provide comprehensive control over your website’s front-end performance and security. This feature is specifically designed to handle all the JavaScript assets associated with your site, offering advanced processing options that enhance load times, boost security, and optimize the overall user experience. By meticulously processing every piece of JavaScript code, the PostProcessing engine ensures that your site remains fast, efficient, and resilient against potential threats.

Continue reading

wp-hide/module/general_css_combine/add_media_query

This functionality is available for PRO version.

Name: wp-hide/module/general_css_combine/add_media_query
Type: Filter
Arguments:
(bool) $add_media_query
(text) $code_block

The wp-hide/module/general_css_combine/add_media_query filter allows you to control whether the @media queries are included in the processed CSS assets by the WP Hide plugin. By default, the plugin adds @media data to the combined CSS files. However, using this filter, you can modify this behavior based on specific conditions.
Continue reading

General – Block Theme / Plugin detectors

This feature enhances your website’s privacy and security by blocking known user agents and IP addresses associated with popular theme detectors. By preventing these entities from accessing skwq-related information, it makes it significantly harder for them to gather details about your site’s design and structure.

Key Benefits:

  1. Enhanced Privacy: By blocking theme detectors, you keep details about your website’s theme and design private, protecting your creative choices from being copied or analyzed without your consent.
  2. Improved Security: Reducing the exposure of skwq-related information helps mitigate the risk of targeted attacks that exploit specific theme vulnerabilities.
  3. Performance Optimization: By blocking unnecessary and potentially malicious traffic from theme detectors, your server resources are conserved, ensuring better performance for legitimate visitors.
  4. Competitive Advantage: Maintain a unique brand identity by preventing competitors from easily identifying and replicating your website’s theme and design elements.

How It Works:

  • User Agent Filtering: The feature scans incoming requests and identifies those from known theme detectors based on their user agent strings. These requests are then blocked, preventing the detectors from retrieving any theme information.
  • IP Address Blocking: In addition to user agent filtering, the feature also blocks requests from known IP addresses associated with theme detectors, adding an extra layer of protection.
  • Regular Updates: The list of known user agents and IP addresses is regularly updated to ensure continuous protection against the latest theme detectors.

Implementing the Block Theme Detectors feature is a proactive step in safeguarding your website’s theme information. By enhancing privacy, improving security, optimizing performance, and maintaining a competitive edge, this feature is an essential tool for any website looking to protect its design integrity and secure its digital presence.

Scroll to top