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. Wordpress 301 redirects

    Wordpress 301 redirects

    Technical SEO Issues
    5 4 916
    • 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.
    • mmaes
      mmaes last edited by

      I use wordpress as CMS on a few sites and I noticed that word press automattically places 301s if I change a url etc.

      I believe it does it by having the following in the .htaccess file:

      BEGIN WordPress<ifmodule mod_rewrite.c="">RewriteEngine OnRewriteBase /RewriteRule ^index.php$ - [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</ifmodule>

      END WordPress

      Should I use this? I feel like it limits my control over the 301s.

      1 Reply Last reply Reply Quote 0
      • Dan-Petrovic
        Dan-Petrovic last edited by

        Several times I allowed WP to manage page redirects and this caused no trouble. I cannot say for instances where you rename file more than once as it never happened internally.

        mmaes 1 Reply Last reply Reply Quote 1
        • krissy-cca
          krissy-cca last edited by

          Hey,

          At the end of the day it's making life easier for you. Stick with it until you notice something you want to change yourself; then go in and have a play with the .htaccess. Don't try and fix something that ain't broke 😄

          DD

          1 Reply Last reply Reply Quote 0
          • mmaes
            mmaes @Dan-Petrovic last edited by

            Do you know if there is a way to edit them with in wordpress? I have some pages that the URLs where renamed prior to launch.

            KeriMorgret 1 Reply Last reply Reply Quote 0
            • KeriMorgret
              KeriMorgret @mmaes last edited by

              I use the redirection plugin for wordpress to manage this. I personally use it to take care of another site I have redirected to my current site, but don't have access to the .htaccess file, and use it to take care of pages from the old site that don't exist on this site. It has a handy 404 log you can use too, and create redirects right from the 404 list. This might work for your old URLs that were renamed.

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              • Where to put 301 redirects in my Wordpress htaccess file?
                Benspain
                Benspain
                0
                3
                34

              • How to redirect 302 status to 301 status code using wordpress
                ThompsonPaul
                ThompsonPaul
                0
                4
                1.3k

              • Redirect a 301 Redirect
                RedCaffeine
                RedCaffeine
                0
                5
                98

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

              • Delete 301 redirected pages from server after redirect is in place?
                RuthBurrReedy
                RuthBurrReedy
                0
                5
                4.0k

              • 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

              • 301 Redirect
                Paul78
                Paul78
                0
                6
                637

              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