Hide wordpress folder
-
Ok…
So I’ve install wordpress on my server in the folder /blog
I’ve made my http://www.domain.com point to /blog
I’ve enabled permalinks so my posts are like this…
http://www.mydomain.com.au/2007/01/new.htmlWhich is good and all, but now http://www.domain.com/blog list all the folder contents. I just want it to redirect to http://www.domain.com
my .htaccess file..
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
The topic ‘Hide wordpress folder’ is closed to new replies.