PDA

View Full Version : .htaccess


John3971
03-08-2008, 01:01 PM
hey how do i fix in .htaccess so when you go to http://fanrage.org you will come to http://www.fanrage.org instead?

MrPHD
03-08-2008, 01:08 PM
Hi, What you want exactly?

John3971
03-08-2008, 01:11 PM
just told you. you can do this with mod_rewrite but i don?t know how. if you go to fanrage.org you will come to www.fanrage.org instead.

but nevermind i got help on another site.

Darry
03-08-2008, 04:32 PM
RewriteEngine on
RewriteCond %{HTTP_HOST} ^fanrage.org$
RewriteRule ^(.*)$ http://www.fanrage.org [R=301,L]


try it

John3971
03-08-2008, 04:41 PM
RewriteEngine on
RewriteCond %{HTTP_HOST} ^fanrage.org$
RewriteRule ^(.*)$ http://www.fanrage.org [R=301,L]


try it

thanks alot but like i said i already solved it. but im really glad you helped me with this :)

AzaDiyaR
08-23-2008, 12:50 PM
waow thanks man it work fine ;)