Can you help me with .htaccess
May 25, 2006 7:32 PM
Subscribe
Help with modifying an .htaccess file. I'm on Dreamhost and using Expression Engine, if that makes any diff.
Disclaimer: I know nothing of the .htaccess thingy and have never touched it before. Please explain as if speaking to an idiot!
I use the Expression Engine CMS which defaults to putting index.php in a url, like this:
www.mydomain.com/index.php/template/
According to
this page in the EE wiki, I can configure .htaccess to omit the index.php so it looks like this
www.mydomain.com/template/
However, I cannot make head nor tail of the instructions there.
I use Dreamhost as my host and do not see an .htaccess file in the root. They do have .htaccess in their control panel and when I click it it asks me to create a new directory.
Hence, I'm lost.
Any suggestions?
posted by You Should See the Other Guy to computers & internet (11 comments total)
RewriteEngine On
RewriteRule ^/template/(.*)$ /index.php/template/$1
(I haven't tested that, so it may be wrong.)
posted by scottreynen at 7:50 PM on May 25, 2006