I want to add "www" .[domain] to .[domain

  • geno369329
  • Beginner
  • Beginner
  • User avatar
  • Joined: Sep 29, 2008
  • Posts: 44
  • Status: Offline

Post July 16th, 2009, 8:13 am

While checking out my site grade I got this message

Search engines may think 2duce2.com and http://www.2duce2.com are two different sites.You should set up a permanent redirect (technically called a "301 redirect") between these sites. Once you do that, you will get full search engine credit for your work on these sites.

I've tried googling to find the solution and how to setup a 301, but I get completely lost!

I'd appreciate any help!

Thanks
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 16th, 2009, 8:13 am

  • tastysite
  • Proficient
  • Proficient
  • User avatar
  • Joined: Apr 09, 2008
  • Posts: 349
  • Loc: Brighouse, West Yorkshire, England
  • Status: Offline

Post July 16th, 2009, 11:47 am

Most browsers will add the http://www. to the start of your URL if its not there
However I think then when I go my domain for my site it said I had a http://www.mysite.com and a mysite.com the http:// bit is never an issue!

To reassure you think of this if there is nothing on the whole of the internet about it then its probably not a big problem. I have never heard of it before.
^__^
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post July 16th, 2009, 3:46 pm

It looks like you're using Yahoo hosting. I'm unable to determine which of Yahoos account types you're using, so I'm not sure which FAQ to check for an answer specific to your site.

If you know where the support literature for your hosting is, you're looking for something about a "permenant redirect", "htaccess", "301 redirect" or similar. There may be a tool for just this purpose provided in your Yahoo control panel, since redirects are a common thing.

If you can give me a link to any FAQ/support pages your account control panel might be suggesting to you I'll see if I can find anything.

I subscribed to this thread, so I'll get an email notification any time someone replies to it. :)
Strong with this one, the sudo is.
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post July 17th, 2009, 11:51 am

I don't know how to do it via those panels, but I do know from an apache standpoint you can get there from here using a rewrite:
Code: [ Select ]
RewriteCond %{HTTP_HOST} !^fully\.qualified\.domain\.name [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^/(.*)         http://fully.qualified.domain.name/$1 [L,R]
  1. RewriteCond %{HTTP_HOST} !^fully\.qualified\.domain\.name [NC]
  2. RewriteCond %{HTTP_HOST} !^$
  3. RewriteRule ^/(.*)         http://fully.qualified.domain.name/$1 [L,R]
"It's always a long day, 86,400 won't fit into a short."
  • saisan
  • Born
  • Born
  • No Avatar
  • Joined: Jul 30, 2009
  • Posts: 2
  • Status: Offline

Post July 30th, 2009, 12:30 am

There is no real need to do a redirect unless you have had different content for http://www.sitename and http://sitename

Search engines have enough intelligence to identify it. Using google webmaster tool you can even set how it identifies the sites.
  • Gab
  • Novice
  • Novice
  • No Avatar
  • Joined: Sep 14, 2008
  • Posts: 20
  • Status: Offline

Post July 30th, 2009, 4:43 am

Hello,

Here is the exact rule to 301 redirect from 2duce2.com to http://www.2duce2.com

RewriteEngine on
RewriteCond Host: ^2duce2\.com
RewriteRule (.*) http\://www\.2duce2\.com$1 [I,RP]

Or

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

Hope this helps you :)

Wish you Good Luck :)

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 52 guests
  • 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
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.