Rewriting URL with htaccess

I am trying to rewrite the url to my wordpress theme folder as so:

Actual URL:

Trying to rewrite to:

Here is what I have in my .htaccess file which is in my home folder, and is not working:

RewriteEngine On
RewriteRule ^mytheme/(.*) /wp-content/themes/mytheme/$1 [QSA,L]

What am I doing wrong?

Read more here: Rewriting URL with htaccess

Leave a Reply

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