The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Where does Wordpress store the 301 redirects?

    Where does Wordpress store the 301 redirects?

    Technical SEO Issues
    4 3 6.9k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dballari
      dballari last edited by

      Hi, I've just created a campaign for my new wordpress blog and found 11 301 redirects which I was not aware of. It looks like wordpress has created them automatically.

      Does any one know how wordpress handles this issues or where are they stored so I can delete them? They are of no use for me.

      9 of these redirects point to the same url with an added '/' and are in pages

      1 is on a post. I've been changing the permalink and some urls several times and maybe one of these times the Wordpress has automatically created the 301 redirect. But why? I do not want to keep the old url.

      the last redirect is very strange it goes from http://www.mydomain.com/folder to http://www.mydomain.com where folder is the folder where I installed wordpress. But again, I want no one to type the url with the folder name or even know this folder exists.

      Any comment on this would be greatly appreciated.

      Thanks a lot,

      David

      1 Reply Last reply Reply Quote 0
      • ShaMenz
        ShaMenz last edited by

        Hi David,

        Having the 301's in place is a good thing rather than a problem. They have been created by Wordpress so that you do not have broken links on your site (because you have created links and then deleted them by changing the permalink).

        There are 3 major reasons for using 301 (Permanent) Redirects:

        1. To move pages (or whole sites) to a new location and maintain accessibility to them
        2. To eliminate broken link issues when URL's that may already have been crawled and/or seen by search engines or site users. (Links can be created by ordinary users who may have bookmarked or shared the URL)
        3. To ensure that multiple URL's which render the same content are not seen by search engines as duplicate content. For example, a canonicalization issue can exist when http://mydomain.com (root domain) and http://www.mydomain.com (the subdomain) generally produce the same page of content, but can be seen as duplicates of each other because they are distinctly different URLs. Dr Pete's Duplicate Content in a Post Panda World is the definitive post on the different reasons for duplicate content and the best options for fixing them.

        The 301's have no influence on users as they cannot see them - they are written to the .htaccess file. The idea of having them there is to catch any incoming traffic that comes via existing links to those pages that no longer exist.

        There is a good explanation of 301 Best Practice in the Learn SEO section here at SEOmoz.

        When working through the things identified in the crawl test, the Errors (red) and Warnings (yellow) are the things to pay attention to first. If you check the single line explanation above the blue tabs you will see this message "Notices are interesting facts about your pages we found while crawling." So they are not really problems that need fixing.

        A couple of other great resources if you are just starting out are The Beginners Guide to SEO and the rest of the Learn SEO section.

        Hope that helps,

        Sha

        http://www.seomoz.org/blog/duplicate-content-in-a-post-panda-world

        1 Reply Last reply Reply Quote 1
        • Aran_Smithson
          Aran_Smithson last edited by

          Hi,

          There are plug ins which handle 301 redirects so I'd start by checking your plugs section and seeing what is active.

          Wordpress uses a HTAccess file to store its 301's and such. However if you are inexperienced with handling a HTAccess file, I'd leave it be ad ask a expert to have a look at it as you can seriously mess up your site.

          dballari 1 Reply Last reply Reply Quote 2
          • dballari
            dballari @Aran_Smithson last edited by

            Thanks Sha and Aran,

            Thank's a lot for your explanations on 301 redirects

            I see a line of code in the htaccess file (RewriteBase /) that is probably doing the 9 first redirects that I mentioned

            To avoid the rest, I just exported the pages and posts, deleted all of them and imported the xml file again. Maybe this fixes it. I understand it's not important but I'd rather have them disappear.

            But appart from that, before importing the file I changed the

            David

            1 Reply Last reply Reply Quote -1
            • 1 / 1
            • First post
              Last post
            • How to redirect 302 status to 301 status code using wordpress
              ThompsonPaul
              ThompsonPaul
              0
              4
              1.3k

            • Blogger to Wordpress 301 and Meta Refresher Redirect
              evolvingSEO
              evolvingSEO
              0
              9
              434

            • Static site to wordpress - avoiding 301 redirects
              OlegKorneitchouk
              OlegKorneitchouk
              0
              9
              423

            • To 301 redirect or not to 301 redirect? duplicate content problem www.domain.com and www.domain.com/en/
              Chris-CA
              Chris-CA
              0
              5
              456

            • 301 redirect on wordpress.com
              Tunji
              Tunji
              0
              3
              2.8k

            • 301 Redirect Domain or 301 Redirect Domain + Interior Pages
              Room214
              Room214
              0
              7
              1.1k

            • Google Webmaster redirect vs 301 redirect
              lavellester
              lavellester
              0
              2
              493

            • Wordpress 301 redirects
              KeriMorgret
              KeriMorgret
              0
              5
              916

            Get started with Moz Pro!

            Unlock the power of advanced SEO tools and data-driven insights.

            Start my free trial
            Products
            • Moz Pro
            • Moz Local
            • Moz API
            • Moz Data
            • STAT
            • Product Updates
            Moz Solutions
            • SMB Solutions
            • Agency Solutions
            • Enterprise Solutions
            • Digital Marketers
            Free SEO Tools
            • Domain Authority Checker
            • Link Explorer
            • Keyword Explorer
            • Competitive Research
            • Brand Authority Checker
            • Local Citation Checker
            • MozBar Extension
            • MozCast
            Resources
            • Blog
            • SEO Learning Center
            • Help Hub
            • Beginner's Guide to SEO
            • How-to Guides
            • Moz Academy
            • API Docs
            About Moz
            • About
            • Team
            • Careers
            • Contact
            Why Moz
            • Case Studies
            • Testimonials
            Get Involved
            • Become an Affiliate
            • MozCon
            • Webinars
            • Practical Marketer Series
            • MozPod
            Connect with us

            Contact the Help team

            Join our newsletter
            Moz logo
            © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
            • Accessibility
            • Terms of Use
            • Privacy