I need one practical advice - is better to redirect with .htaccess Redirect 301 rules, or to use PHP header function (after parsing URL)?

Which one is better to Google and SEO?

Tnx in adv!

1 Answer 1


HTTP clients cannot tell what caused a server to return a 30x redirect status, so it makes absolutely no difference.

  • Ok for HTTP clients, but what about search engine spiders?
    – user6211
    Commented Jul 24, 2011 at 15:52
  • 8
    Search engine spiders are HTTP clients (except the one used for Mystic Meg's Special Search Engine, which reads the minds of the content authors instead).
    – Quentin
    Commented Jul 24, 2011 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.