Home Forums WordPress Plugins Hide My WP HTML Replace issue

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #24850
    HTCNewsIR
    Pro
    Post count: 32

    Hello,
    I’ve added these two values in Replace Tools ==> Replace In HTML, but it seems the files cannot load.

    Let me make an example:
    “wp” and “WP” are set to be replaced with “myName”. This works fine in HTML. But the issue is “wp-content”, “wp-admin”, etc are changed to “myName-content”, “myName-admin”, etc. And as there’s no directory called “myName-content”, the login page is not shown properly. Its .css files and the main files get error 404 and are not found.
    Also I’ve tried Replace URLs, which does not work as I want too.

    Could you help me?
    Need any pictures or credentials to see and check? If yes, let me know to provide you.

    #24852
    Suman M.
    Post count: 12478

    Hi, you shall not be replacing the general text/words like “wp” as this will replace all the occurrences of “wp”, and there’s high chances that your site will break. Please add the replacement like below, one at a time:

    wp-xyz ==> myName1
    wp-abc ==> myName2

    Also, you should be careful if you are replacing CSS class names. You should check your site after each replacement.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.