.htaccess file not working
Posted by: Darkcinema
Posted on: 2008-10-15 14:52:00
Hi. I'm new to using the .htaccess options.
My domain is www.darkcinema.net. Currently, there's just a boring old list of links as the main page. However I have a blog (a WordPress installation) at www.darkcinema.net/darkrantings.
I'd like folks who go to www.darkcinema.net to be redirected to www.darkcinema.net/darkrantings.
I tried creating a .htaccess file and putting in:
Options -Indexes +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} !^/darkrantings/
# Don't apply to URLs that go to existing files or folders
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all those to insert /folder
RewriteRule ^(.*)$ /darkrantings/$1 [L]
(I got this from the Dreamhost Wiki entry)
But it doesn't seem to be working.
Is there another change I should be making?
Thank you ahead of time.