I've moved WordPress into it's own directory as per the instruction found on the WordPress support site.
I've got his working fine but the URL now shows http://www.example.com/subfolder/
but I want it to show without the /subfolder/
I can't seem to get the htaccess to remove the /subfolder/
Here's my current htaccess code
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?mysite.com$
RewriteRule ^(/)?$ subfolder [L]
This should change http://www.mysite.com/subfolder/
to http://www.mysite.com/
RewriteEngine On
RewriteRule ^/subfolder/(.*)$ http://www.mysite.com/$1 [L,R=301]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With