FreeHostia Forums
http://forum.freehostia.com/

301 redirects
http://forum.freehostia.com/viewtopic.php?f=11&t=8367
Page 1 of 1

Author:  J_M [ Tue Sep 25, 2007 4:21 pm ]
Post subject:  301 redirects

I want to redirects any page queries for my site which come from roadsout.com to www.roadsout.com.

So if I put this code, here: redirect 301 roadsout.com/ http://www.roadsout.com/ in my .htaacess file will that work?

Author:  james_ [ Wed Sep 26, 2007 5:35 am ]
Post subject: 

There is a more simple solution for your issue. Add a subdomain (from your SubDomain Manager menu) www.roadsout.com and point its home directory to the directory of roadsout.com. This will prevent some additional options in the .htaccess file. I hope that my answer is enough satisfying for your question.

Author:  J_M [ Wed Sep 26, 2007 11:39 am ]
Post subject: 

Cool, thanks.

Author:  james_ [ Wed Sep 26, 2007 11:49 am ]
Post subject: 

No problem at all, you are welcome :")

Author:  thpalex [ Wed Nov 17, 2010 5:32 am ]
Post subject: 

you can forward it as well........ for forwarding you can take help of free domain forwarding services as well.

Author:  yogesh35 [ Tue Feb 19, 2019 4:09 am ]
Post subject:  Re: 301 redirects

A 301 redirect is a permanent redirect which passes between 90-99% of link equity to the redirected page. 301 refers to the HTTP status code for this type of redirect.

Author:  Jace Cohen [ Wed Feb 20, 2019 5:55 pm ]
Post subject:  Re: 301 redirects

Hello,

Another way to redirect from the non-www host name to the www one via .htaccess is by using the following code:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Author:  Truptir [ Thu Feb 21, 2019 12:14 pm ]
Post subject:  Re: 301 redirects

Thanks for this solution. I was having same problem it worked for me.

Author:  Jace Cohen [ Sat Feb 23, 2019 5:50 pm ]
Post subject:  Re: 301 redirects

Glad to hear that and you are always welcome!

Author:  rashmi [ Sat Mar 09, 2019 5:29 am ]
Post subject:  Re: 301 redirects

Really great information

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/