It is currently Tue Oct 08, 2024 4:20 pm


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: 301 redirects
PostPosted: Tue Sep 25, 2007 4:21 pm 
Getting Started
Getting Started

Joined: Fri Jun 29, 2007 5:11 pm
Posts: 68
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?

_________________
Stay Cool!
Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 26, 2007 5:35 am 
Getting Started
Getting Started

Joined: Wed Sep 19, 2007 8:15 am
Posts: 51
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.

_________________
Best Regards
James


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 26, 2007 11:39 am 
Getting Started
Getting Started

Joined: Fri Jun 29, 2007 5:11 pm
Posts: 68
Cool, thanks.

_________________
Stay Cool!
Image


Top
 Profile  
 
 Post subject:
PostPosted: Wed Sep 26, 2007 11:49 am 
Getting Started
Getting Started

Joined: Wed Sep 19, 2007 8:15 am
Posts: 51
No problem at all, you are welcome :")

_________________
Best Regards
James


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 17, 2010 5:32 am 
Newbie
Newbie

Joined: Wed Nov 17, 2010 5:24 am
Posts: 7
you can forward it as well........ for forwarding you can take help of free domain forwarding services as well.


Top
 Profile  
 
 Post subject: Re: 301 redirects
PostPosted: Tue Feb 19, 2019 4:09 am 
Newbie
Newbie

Joined: Mon Feb 18, 2019 11:04 am
Posts: 7
Location: Pune
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.


Top
 Profile  
 
 Post subject: Re: 301 redirects
PostPosted: Wed Feb 20, 2019 5:55 pm 
Newbie
Newbie

Joined: Thu Jul 05, 2018 3:15 am
Posts: 44
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]

_________________
Jace is on the case!


Top
 Profile  
 
 Post subject: Re: 301 redirects
PostPosted: Thu Feb 21, 2019 12:14 pm 
Newbie
Newbie

Joined: Thu Feb 21, 2019 12:11 pm
Posts: 3
Thanks for this solution. I was having same problem it worked for me.

_________________
Digital Marketing


Top
 Profile  
 
 Post subject: Re: 301 redirects
PostPosted: Sat Feb 23, 2019 5:50 pm 
Newbie
Newbie

Joined: Thu Jul 05, 2018 3:15 am
Posts: 44
Glad to hear that and you are always welcome!

_________________
Jace is on the case!


Top
 Profile  
 
 Post subject: Re: 301 redirects
PostPosted: Sat Mar 09, 2019 5:29 am 
Newbie
Newbie

Joined: Sat Mar 09, 2019 5:27 am
Posts: 2
Location: mumbai
Really great information


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011