Hide/mask WP theme links (4 posts)

  1. Anydog
    Posted 6 years ago #

    Hi, please help.
    I would like to hide/mask css/javascrip etc. links from my WP site header code - the <link rel="stylesheet" href=""/wp-content/themes/style.css /> and <script type='text/javascript' src='wp-includes/js/jquery/jquery.js?ver=1.3.2'></script> ... and generally all links that has "wp" letters.
    Is there any way to mask it or hide it so it would look like href="myblog.com/styles/style.css" instead of href="myblog.com/wp-content/themes/style.css". Not to actually change the paths, but to appear that way.
    I'm not sure if I explained it well, because it's late and my english is far from perfect.

  2. morgannunan
    Posted 5 years ago #

    I would also like to know how to hide references to wp-. I'm sure this could be kind of hacked up in .htaccess but it would be better maybe if there was some kind of plugin. Either way, I would like /wp-admin to just be /admin, wp-content/themes/ to just be /files or something, et cetera.

  3. morgannunan
    Posted 5 years ago #


    Shouldn't one be able to create a function that rewrites these in .htaccess? This seems like it shouldn't be that hard to alias.

  4. gemmasan
    Posted 5 years ago #

    Does anyone have a solution for this?

Topic Closed

This topic has been closed to new replies.

About this Topic