Results 1 to 3 of 3
  1. #1
    Web Ho - Design B!tch ~Michelle's Avatar
    Join Date
    January 18th, 2005
    Location
    Michigan
    Posts
    2,040
    .htaccess & 301 Redirect
    Can someone tell me if from a Search Engines prespective these two methods of using a 301 Redirect are the same?


    Code:
    Redirect 301 sitename.com http://www.sitename.com
    and

    Code:
    RewriteEngine on RewriteCond %{HTTP_HOST} ^mysite\.com RewriteRule ^(.*)$ http://www.mysite.com/$1 [R=permanent,L]
    TIA!
    ~Michelle
    "All I ask is a chance to prove that money can't make me happy."
    "Work to become, not to acquire." -- Confucius

  2. #2
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    United Kingdom
    Posts
    1,797
    Yes, they're both 301 redirects so the search engines will see them as the same.

  3. #3
    Web Ho - Design B!tch ~Michelle's Avatar
    Join Date
    January 18th, 2005
    Location
    Michigan
    Posts
    2,040
    Thank you!

    I do have one more question.

    Say you own the following domain names:

    mysite.info
    mysite.com
    mysite.org

    You currently have your website set up at mysite.org.

    Can you use the 2nd redirect in my post above to point all the domain names to the main site? If so, how do you code it and will search engine's penalize you for it since they do accept 301 redirects?

    Also, what if you do the following?

    sitename#1.com
    sitename#2.com
    sitename#3.com

    Have your website currently set up on sitename#1.com

    Use the modrewrite to point the other two domain names to sitename#1.com.

    Is that acceptable to the search engines because it is a 301 redirect or do they see it as duplicate content?
    ~Michelle
    "All I ask is a chance to prove that money can't make me happy."
    "Work to become, not to acquire." -- Confucius

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. 301 Redirect table in ASP.net
    By Eric Ewe in forum Programming / Datafeeds / Tools
    Replies: 0
    Last Post: October 18th, 2010, 06:04 PM
  2. 301 redirect
    By martinsbca in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: February 27th, 2007, 05:05 PM
  3. Apache 301 Permanent Redirect Issue
    By popdawg in forum Domains & Hosting
    Replies: 3
    Last Post: September 21st, 2006, 09:50 PM
  4. 301 redirect using htaccess question
    By ~Michelle in forum Midnight Cafe'
    Replies: 5
    Last Post: February 26th, 2006, 09:16 PM
  5. 301 redirect: from dynamic to static html
    By istvan in forum Programming / Datafeeds / Tools
    Replies: 1
    Last Post: July 19th, 2004, 04:07 PM

Posting Permissions

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