URL Mapping & Text Mapping

Changing classes names and URLs in the source code is not an easy task especially when the classes are actively used by the plugins. Even if some plugins are easy to be identified because they use their names in the CSS and JS file paths, you need to be careful when you use this feature.


URL Mapping

Hide My WP Ghost can’t automatically change all the URLs containing plugin names from your source code but now you can do this using the URL Mapping feature.

If you find an URL in your source code that reveals the name of the plugin even after all the WordPress common paths are changed, just add that URL in the URL Mapping feature and give it another path.

You can add a list of URLs that you want to change into new ones. It’s important to include only internal URLs from your frontend source code after you activate the plugin in Safe Mode or Ghost Mode.

No External URLs

Hide My WP Ghost works only with internal URLs in the mapping table.

Example:
from: https://yourdomain.com /assets/f9f4ca341/main.css
to:  https://yourdomain.com/mystyle.css

url mapping feature

Text Mapping

To change any class name from your source code that reveals the WordPress CMS, like wp-custom or wp-image, just add it in the Text Mapping table and give it a custom name.

text mapping feature

Don’t hide used classes

Use this feature carefully because some classes like woocommerce are used by plugins and may break the website functionality.


Text Mapping In Classes, Styles, Script and Files

By using Safe Text Mapping, the plugin will only change the text in classes, styles, ids and scripts. It will prevent changing the text in URLs and other places where can damage the functionality.

To activate this feature, switch on Hide My WP > Mapping > Safe Text Mapping


Since Hide My WP Ghost 4.4 you can set to change the text in CSS and JS files. You can even change the classes like Woocommerce and Elementor from your website. Works well with Safe Text Mapping option ON.

Changing the Text in CSS and JS files may slow down the loading speed of your website because they load with WordPress redirect.

To activate this feature, switch on Hide My WP > Mapping > Text Mapping in css and js files

Clear Cache After Save!

It’s important to clear the cache from your cache plugins and CDN. Dive it a minute for the cache to update after you save.

Works For Visitors

The frontent class changes are only working for visitors to prevent any style issue for the logged users.


CDN URLs

This feature is extremely useful when you use a CDN plugin for your website and want to change the WordPress common paths for the CDN domain too.

Hide My WP Ghost is integrated with the most CDN plugins but if the paths are not automatically changed, add the CDN domain in table.

cdn urls features

Was This Article Helpful?

0 Comments

There are no comments yet

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.