Fernanditos
asked on
.htacess question
Hi,
I have my main site located at site.com/board/
Since I don't have a site.com/index.php I would like to call only site.com and have the content of site.com/board/
so, this: site.com = site.com/board/
How can I do this using .htaccess ?
I have my main site located at site.com/board/
Since I don't have a site.com/index.php I would like to call only site.com and have the content of site.com/board/
so, this: site.com = site.com/board/
How can I do this using .htaccess ?
ASKER
not working...
RewriteEngine On
RewriteBase /
RewriteCond % ^www.site.com [NC]
RewriteRule ^(.*)$ http://site.com/$1 [L,R=301
RewriteRule ^(.*)$ http://site.com/board/ [R=permanent]
RewriteBase /
RewriteCond % ^www.site.com [NC]
RewriteRule ^(.*)$ http://site.com/$1 [L,R=301
RewriteRule ^(.*)$ http://site.com/board/ [R=permanent]
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have been forced to accept, otherwise I can not ask another question. THis solution did not solved my issue.
redirect 301 / http://www.site.com/board/
more detail: http://www.isitebuild.com/301-redirect.htm