Submit Your Article Forum Rules

Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: no www 301 Redirect or 302 Object moved for domains

  1. #1
    WebProWorld MVP incrediblehelp's Avatar
    Join Date
    Jan 2004
    Posts
    7,567

    no www 301 Redirect or 302 Object moved for domains

    I was wondering what is everyone opinion on doing a 301 Redirect or 302 Object moved command for your domain name without the www? I am seeing more and more people setting up these commands for the domain name without the www. I assume this is to basically let the engines know that the primary domain is the one WITH the www and the IBL value should be weighted on the www domain only. This should also avoid the search engine using the domain without the www in the search results which can be a nuisance as well.

    For instance do a header check for this domain, Intranets.com.

    So why are not more of us doing this?

  2. #2
    WebProWorld MVP
    Join Date
    May 2004
    Posts
    1,656
    I assume this is to basically let the engines know that the primary domain is the one WITH the www and the IBL value should be weighted on the www domain only. This should also avoid the search engine using the domain without the www in the search results which can be a nuisance as well.
    This is exactly correct. You should either not allow anyone to get to the non-www version of the domain or set up a 301 from the non-www to the www subdomain (www, after all, is a subdomain).

    I have seen too many cases where sites suddenly lost rankings due to the fact that the search engines suddenly decided to list the non-www version rather than the www subdomain. The search engines are "supposed to" figure it all out, but often-times they don't.
    So why are not more of us doing this?
    We just don't know that it's an issue--until your site suddenly vanishes from the rankings.
    Follow me on Twitter, I'm bhartzer or like my page on Facebook.

  3. #3
    Senior Member adbart's Avatar
    Join Date
    Apr 2005
    Posts
    459
    Everyone should do this.

    Considering the fact that the vast majority of websites have adopted the 'www' subdomain idea, you'd think that the search engines automatically went with it, rather than the straight domain. Interesting point though.
    Freelance IT consultant & SEO marketing
    Private message for contact information

  4. #4
    WebProWorld MVP incrediblehelp's Avatar
    Join Date
    Jan 2004
    Posts
    7,567
    I am going to implement them on all my websites right now. I wonder why http://webproworld.com doesnt have one installed.

  5. #5
    Senior Member adbart's Avatar
    Join Date
    Apr 2005
    Posts
    459
    Maybe they'll do it now ;-)
    Freelance IT consultant & SEO marketing
    Private message for contact information

  6. #6
    WebProWorld MVP incrediblehelp's Avatar
    Join Date
    Jan 2004
    Posts
    7,567
    Does anyone know how to do this type of redirect in IIS? I tired it in the IIS manager console and the domain just kept doing a loop to itself.

  7. #7
    Senior Member
    Join Date
    Jul 2003
    Posts
    121
    Does anyone know how to do this type of redirect in IIS? I tired it in the IIS manager console and the domain just kept doing a loop to itself.
    I'm not sure if this will answer your question. But in IIS, you'll need to make sure that when you set up a new website in IIS, make sure that you click "advanced" in the IP address field under the 'web site' tab. In there, make sure that you have two IPs listed: one that has a host header value of yourdomain.com and another one that is www.yourdomain.com. Also, make sure your redirect is a 301 and not a 302. Google tends to like 301s much better. For more info on redirecting, visit http://www.webconfs.com/how-to-redirect-a-webpage.php
    Brian Zajac
    EyeMagination
    http://www.eyemagination.us - Naples Florida Web Design & Marketing
    info@eyemagination.us

  8. #8
    WebProWorld MVP incrediblehelp's Avatar
    Join Date
    Jan 2004
    Posts
    7,567
    Yeah I have handled redirects before for files and different domain names, but this is something I havent done before.

  9. #9
    WebProWorld MVP incrediblehelp's Avatar
    Join Date
    Jan 2004
    Posts
    7,567
    Can someone please post clear instructions on how to do this in both IIS and Apache platforms?

    Remember this redirect is only concerned with redirecting a domain, domain.com to www.domain.com.

    I am more concerned with how to do in IIS, this is where I am confused.

  10. #10
    WebProWorld MVP incrediblehelp's Avatar
    Join Date
    Jan 2004
    Posts
    7,567

    For Apache 301 redirect without www

    for apache you can use this in your .htaccess file:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^yourdomain\.com
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=permanent,L]

Page 1 of 2 12 LastLast

Similar Threads

  1. domains that redirect to site
    By eliboone in forum Google Discussion Forum
    Replies: 3
    Last Post: 04-06-2009, 01:54 PM
  2. Should I redirect moved/renamed pages?
    By candyman in forum Search Engine Optimization Forum
    Replies: 4
    Last Post: 03-27-2007, 04:26 PM
  3. 2 domains, which to 301 redirect to the other?
    By lchrzan in forum Search Engine Optimization Forum
    Replies: 2
    Last Post: 03-09-2007, 06:12 PM
  4. 2 domains - which should I redirect to?
    By garyfoote in forum Search Engine Optimization Forum
    Replies: 8
    Last Post: 03-15-2006, 07:57 PM
  5. 302 Object Temporarily Moved
    By C French in forum The Castle Breakroom (General: Any Topic)
    Replies: 2
    Last Post: 01-06-2005, 02:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •