Does a 302 same domain redirect affect SEO?

4 replies
  • WEB DESIGN
  • |
I am setting up multiple sites, and want the root domain to point to a subdirectory so that it is cleaner to manage.
I modified the htaccess file to use a 302 to point wwwDOTdomainDOTcom to the subdirectory, which still will show as wwwDOTdomainDOTcom.

Since this is a same domain 302, will it hurt SEO?

If it will reduce my performance with Google, then it is not worth the risk and I will simply not put my main domain files in the subdirectory.
#302 #affect #domain #redirect #seo
  • Profile picture of the author katehblog
    302 redirects are not good for SEO, 301 is better.
    Signature

    Response Mine Interactive (RMI)

    {{ DiscussionBoard.errors[3672158].message }}
    • Profile picture of the author raredesign
      Originally Posted by katehblog View Post

      302 redirects are not good for SEO, 301 is better.
      I know that a 302 is not good for off-domain, but I am really curious to specifics for on-domain.

      I may not even do it this way, since it would not function like a real subdomain.
      it would look like wwwDOTdomainDOTcom/subfolder once someone clicked on a link.
      I know people do it with /site /portal etc. Even SharePoint operates that way.
      {{ DiscussionBoard.errors[3672188].message }}
  • Profile picture of the author SteveJohnson
    Originally Posted by raredesign View Post

    I am setting up multiple sites, and want the root domain to point to a subdirectory so that it is cleaner to manage.
    I modified the htaccess file to use a 302 to point wwwDOTdomainDOTcom to the subdirectory, which still will show as wwwDOTdomainDOTcom.

    Since this is a same domain 302, will it hurt SEO?

    If it will reduce my performance with Google, then it is not worth the risk and I will simply not put my main domain files in the subdirectory.
    You don't use redirects at all - you use internal rewrites. The browser shows the domain.com address, and is not redirected, but the content is served from wherever you want it to be served from. It does NOT affect SEO.

    See Apache docs for mod_rewrite here: mod_rewrite - Apache HTTP Server

    You'll want to look through the examples on this page: http://httpd.apache.org/docs/current/rewrite/ especially.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[3672235].message }}
    • Profile picture of the author raredesign
      Originally Posted by SteveJohnson View Post

      You don't use redirects at all - you use internal rewrites. The browser shows the domain.com address, and is not redirected, but the content is served from wherever you want it to be served from. It does NOT affect SEO.
      See Apache docs for mod_rewrite here:
      You'll want to look through the examples on this page:
      Yea, that is the method I had used, and I thought that would qualify as a 302, but when I ran IEInspector, it returned a 200, so I wasn't sure.
      {{ DiscussionBoard.errors[3672482].message }}

Trending Topics