Humble noob begs wisdom re; htaccess
-
Hi,
My apologies if this is already covered, but I could not find an exact fix doing a search. Lots of general guides, which were are all great reading.
I am publishing a wordpress site at hawaiianshirtfriday.com, and the folks at Godaddy say my htaccess is probably to blame for the “403 Forbidden” error I am seeing.
RewriteEngine on
rewritecond %{http_host} ^maui.us [nc]
rewriterule ^(.*)$ http://www.maui.us/$1 [r=301,nc]
DirectoryIndex index.htm index.htmlMy main site uses php, and if I include “index.php” in the DirectoryIndex line, the main site will top working. This would be bad.
hawaiianshirtfriday.com is, of course, a subdomain hosted under maui.us, which has its own ip.
Any help would be greatly appreciated.
- The topic ‘Humble noob begs wisdom re; htaccess’ is closed to new replies.