Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Difference between [R] and [R=301] apache

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #154049
    Rugg
    Participant

    Is there any difference between a redirect using [R] vs [R=301] in the .htaccess?

    From my understanding…

    [R] instructs Apache to issue a redirect, causing the browser to request the rewritten/modified URL.

    and

    301 Request has Moved Permanently

    #154079
    TheDoc
    Member

    haha I feel like you just answered your own question?

    #154095
    __
    Participant

    [R] should do a 302 redirect by default (i.e., if you don’t specify a status).

    If it’s doing a 301 by default, that’s …odd

    mod_rewrite [R] flag

    #154171
    TheDoc
    Member

    It has significant SEO implications: http://moz.com/learn/seo/redirection

    #154337
    __
    Participant

    Rather than saying “301 is best for SEO” and “don’t use 302”, it should say, “if the redirect is permanent, 301 is best for SEO.” If the redirect really is temporary, then sending a 301 header could be disastrous once you go back to using the original URL.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Other’ is closed to new topics and replies.