Hard .htacess question???
I'm really having a problem with this htacess file - i'm not geat, and am trying to put it together with code on the web.
I'm trying to make the following happen:
http://site.com redirect to http://www.site.com http://www.site.com/folder redirect to http://www.site.com/folder/
AND put it all together as a rewrite redirect to the index...
http://www.site.com/page-name/ redirect to http://www.site.com/index.php?p=page-name
So a www is always added.
A forward slash is always added.
and anything after the domain is actually poinint to index as a variable.
Can anyone help?
Thanks so much!
-
Bruce Hearder -
[ 1 ] Thanks
{{ DiscussionBoard.errors[1835201].message }} -
-
guest -
Thanks
{{ DiscussionBoard.errors[1849307].message }} -