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. Link Building
    4. Changing permalinks, 301 nightmare

    Changing permalinks, 301 nightmare

    Link Building
    16 4 273
    • 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.
    • VillasDiani
      VillasDiani @LeahHutcheon last edited by

      Hi Philip, Thank you very much, yest I would love to, but once I delete them and I go to check the redirects, they do not bring me to the new url but the page is not found:-(

      LeahHutcheon 1 Reply Last reply Reply Quote 0
      • LeahHutcheon
        LeahHutcheon @VillasDiani last edited by

        Hmm, that is a bother. Are you not able to edit the permalinks directly for each of the posts? Sorry, maybe I'm just not following, but why create whole new posts?

        VillasDiani 1 Reply Last reply Reply Quote 0
        • VillasDiani
          VillasDiani @LeahHutcheon last edited by

          Most of our permalinks are way to long and almost all contain Diani beach, which is a word we wanted rank for and believed we have to write it everywhere....so I need to change them as it is a problem.

          Sure I can change the permalink directly for each of the post, but then all the old posts links will be still not found after I change the link...

          I thought with yoast plugin it is going to be easy but it does not make sense for me why if I redirect the post it stays in category. What is it for...who wants to redirect a post and then keep it in a category...

          I can't find any answer anywhere:-( I am actually getting to the point that I want to just delete them(it is around 30) and wait until google index the new once, but I am afraid of some punishment..

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

            I think the Yoast SEO Plugin assigns 301 redirects to existing pages, so it can't keep the redirect if you delete the old page. It sounds like you need to either add the 301 redirects directly to your .htaccess file (which isn't too tough if you only have a few), or use another plugin for redirects. The plugin called "Redirection" by John Godley does a good job.  Good luck!

            VillasDiani 1 Reply Last reply Reply Quote 2
            • VillasDiani
              VillasDiani @Tunji last edited by

              Thank you very much Jeff, I thought that the only option will be to do it in .htaccess file, any idea how to do it?

              Tunji 1 Reply Last reply Reply Quote 0
              • Tunji
                Tunji @VillasDiani last edited by

                The basic idea for 301 redirects in htacess is:

                `Redirect 301 /oldpage.html http://www.yoursite.com/newpage.html` 
                
                But if you aren't comfortable writing out a line for each page you've deleted and need redirecting, I would suggest the "Redirection" plugin. It's pretty easy to set up.
                
                VillasDiani 2 Replies Last reply Reply Quote 1
                • VillasDiani
                  VillasDiani @Tunji last edited by

                  Thank you Jeff very much,

                  But we are not using www, do you thing that I have to include it anyway or is this redirect without www correct? Redirect 301 /geography-kenya-map-kenya/ http://villasdiani.com/where-is-kenya/

                  1 Reply Last reply Reply Quote 0
                  • VillasDiani
                    VillasDiani @Tunji last edited by

                    So and now i have pasted redirects of some posts and I am going to check and I can't axes the site! It says Internal server error. And now I am dead:-(

                    Tunji 1 Reply Last reply Reply Quote 0
                    • Tunji
                      Tunji @VillasDiani last edited by

                      Hmmm.Yes, I would try the www in case your server doesn't handle that redirect automatically.

                      If you can't get it to work, I would remove the 301 redirects you added to the .htaccess file. Again, I would suggest you use the Redirection Plugin:

                      http://wordpress.org/extend/plugins/redirection/

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

                        Hi July

                        This is really three separate things here, so I see why it's giving you trouble.

                        1. Changing permalinks
                        2. Changing what category a post belongs to
                        3. Redirects

                        When you do one of the above, it does not do the others automatically - for example, changing a permalink will not change the category or add a 301 redirect (by default - although some systems might add the 301 automatically).

                        So let me explain each one step by step. Realize they are three separate things normally.

                        1. Changing The Permalink

                        This is changing the URL. If you wanted to change for example

                        • domain.com/first-url-dont-like-it ... to
                        • domain.com/love-this-url

                        That's one step. Now. Some plugins may add a redirect for you. So. When you change your permalink

                        • try visiting the old permalink
                        • if it redirects - you're all set - you don't need to do a redirect yourself.
                        • if it does not redirect, you either need to use the redirection plugin or write the redirect in the .htaccess file.

                        2. Changing What Category The Post Belong To

                        Note, this is entirely different from just changing a permalink. You need to go to edit that post itself and select your preferred category for that post. This is assuming your not creating any new categories or deleting old categories. You're just moving posts around to different categories.

                        Then, when you move a post into a different category and remove it from the old one, it will show up under the new category archive.

                        3. Redirects

                        As mentioned - these may or may not happen automatically when you change a permalink. I usually prefer them to NOT happen automatically.

                        This is why it's best of course to decide the final permalink for a post before you hit publish as it's much easier to not have to go back and edit it.

                        Please let us know if you're still having trouble - thanks!

                        -Dan

                        VillasDiani 1 Reply Last reply Reply Quote 3
                        • VillasDiani
                          VillasDiani @evolvingSEO last edited by

                          Thank you so much Dan for all the explanation! All clear now! I have now manged to do redirect in .htaccesses file. All links are running well now. Thank you so much!

                          Iam trying to give you the good answer and it is bringing me to Not Found page:-(

                          I believe I might be cursed by computers and our site will never rank:-(

                          VillasDiani 1 Reply Last reply Reply Quote 1
                          • VillasDiani
                            VillasDiani @VillasDiani last edited by

                            😉 now it just worked...I am cursed:-(

                            evolvingSEO 1 Reply Last reply Reply Quote 0
                            • evolvingSEO
                              evolvingSEO @VillasDiani last edited by

                              Awesome! Thanks for letting me know it worked and thanks for trying that 'good answer' button a few times 😉

                              If you ever have any more trouble with anything on Moz - email help@seomoz.org

                              VillasDiani 1 Reply Last reply Reply Quote 1
                              • VillasDiani
                                VillasDiani @evolvingSEO last edited by

                                Sunny greetings from Diani beach Dan! Thank you very much! I wish you very nice day 😉

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post
                                • Authority redirection - 301
                                  irakli.chkheidze
                                  irakli.chkheidze
                                  0
                                  3
                                  63

                                • 301 redirect on yahoo hosting
                                  jimmy0225
                                  jimmy0225
                                  0
                                  6
                                  2.8k

                                • Open Site Explorer Changed?
                                  KeriMorgret
                                  KeriMorgret
                                  0
                                  4
                                  330

                                • Link from or 301 Domains?
                                  matbennett
                                  matbennett
                                  0
                                  9
                                  347

                                • Changing links
                                  Audiohype
                                  Audiohype
                                  0
                                  4
                                  317

                                • Weird change in amount of links
                                  BenFox
                                  BenFox
                                  0
                                  2
                                  298

                                • Changing backlinks anchor text
                                  clickangel
                                  clickangel
                                  0
                                  6
                                  1.7k

                                • Has there been a change in the Competitive Domain Analysis?
                                  LeslieVS
                                  LeslieVS
                                  0
                                  3
                                  518

                                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

                                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