Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      What is your Brand Authority?
      Moz

      What is your Brand Authority?

      Check yours now
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. Home
    2. SEO Tactics
    3. Technical SEO
    4. Is there a way of changing the Permalink without getting the 404 Error?

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Is there a way of changing the Permalink without getting the 404 Error?

    Technical SEO
    4
    6
    1435
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • MissVe
      MissVe last edited by

      Hi, I am new to this all..

      Is there a way of changing the permalink for example from:

      domain/content/ to domain/profile/ without receiving the 404 error message. It's just that since my website has been developed, some pages and their content have changed but the permalink still shows the name of the old page which may be confusing.

      Ps. Please use most simple language for explanations as I am really new to it.

      Thank you!

      Ve

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

        Wow - looks like folks kinda missed the part where you asked to keep it simple, Ve 🙂

        Because you site is built using WordPress software, it's actually simple and straightforward to do what you're asking. All it requires is the installation of a small plugin called "Redirection" to your website to automatically handle what needs to be done anytime you wish to change a page or post's permalink. (just to be sure - this is all assuming you're talking about changing the permalink right on the edit page for a post, not changing the permalink structure on the settings page for your whole blog)

        In case you haven't installed plugins before, here's the step-by-step process. Don't be intimidated - it only looks long because I've made every step it's own bullet point for clarity

        • log into your WordPress as if you were going to create a new post, but instead, look for the button called Plugins on the left sidebar
        • hover your cursor over the Plugins button, and click on the Add New link that shows up
        • on the new page, type Redirection into the search box and click the Search Plugins button beside it
        • the plugin you want should be right at the top of the list - called Redirection (no other words) and in the description you'll see it is written by John Godley
        • click the link for Install Now located under the name of the plugin
        • you'll be taken to a page that tells you it's installing the plugin. (If WordPress gives you empty boxes to fill ion this new page, post back here. Depending on your site's configuration, sometimes WordPress needs a little help at this point.)
        • Once WordPress has done it's thing, you should see a successful install notification on that page.
        • click on the Activate Plugin link that now appears at the bottom of the "successfully installed" page you're on
        • WordPress will again do it's thing and then take you to the page listing all your installed plugins. The plugin is now installed and activated!
        • now go the post or page you want to change, and edit its permalink, republishing the post when you're done.
        • go to your live site and click on one of the links to the page you just changed, to confirm that you end up on the correct new page at it's new address
        • DONE! Go have a glass of wine (or other celebratory beverage.)

        The background (if you want to know the "Why" as well as the "how")
        When you change the permalink of a page in WordPress, you are changing its actual web address (also know as its URL). Even though you know you've done this, the rest of the web (and even your own website) don't know about the change so they're still looking for that page at it's old address.

        When your site's server gets a request to display that page, it can't find it so it sends back a 404 error, which basically says "there's no page at the address you're asking for and I have no idea where it might be".

        To fix this, you need to teach the server where it should send everybody who's looking for the old address. You do this by writing what's called a 301 Redirect into the server so that when it gets a request for that old address, it can say "there's no page at that old address anymore - it's now moved permanently to this new address and I'm going to automatically send you there."

        This all happens instantaneously in the background so the visitor never sees it - they just end up on the new address. In addition, this redirect tells the search engines to give the ranking value of the old address to the new address so it doesn't look like a brand new page starting from scratch. (helps keep your page showing up well in the search results)

        The Redirection plugin automatically notices whenever you change the permalink of a page and automatically writes the code necessary to give the server the 301 redirect it needs, instead of you having to muck about with all the coding the other answers were talking about. YAY for WordPress! (Still, best to change the permalinks as seldom as possible though)

        The method I gave you installs the plugin directly from the WordPress parent site , meaning they've checked and approved it so you know it's safe. The plugin can also do many other powerful things, but those are for another post 🙂

        Do let me know if anything's not clearly-enough explained, or if you run into any problems

        Good luck, and let us know how it goes!

        Paul

        1 Reply Last reply Reply Quote 0
        • mememax
          mememax @MissVe last edited by

          Hi Ve, just as a further clarification, remember that when you use the 301 redirection you're passing that value to the new page although you lose something of that value (further reading here) that's why you should schoose wisely whenever perform a redirect or not.

          In the case you need to do that consider that you won't be starting from 0 but not even from the same point you were with the other page which was ranking.

          1 Reply Last reply Reply Quote 0
          • MissVe
            MissVe @mememax last edited by

            Thank you!

            I didn't think there was sooo much work involved. I will look into it. Cause at the moment my site is ranking not badly, so making changes to my URL would mean losing those ranking positions and starting from new. It may be worth long term doing anyway, so I just have to see.

            Thank you!

            Ve

            mememax 1 Reply Last reply Reply Quote 0
            • TextMarketing
              TextMarketing last edited by

              MissVe,

              you can change your permalinks. You just need to set up 301 redirects from the old permalinks to the new. This not only forwards users to the new location but tells google that you've moved the page as well. This is the best way to handle your situation!

              Hope that helps!

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

                Hi Ve. A 404 is generated when someone reach a page which doesn't exist, so to have someone reaching such a page you need to give them a path to it. There may be two different paths:

                • internal. You can remove this internal path changing all the links pointing to the old url to the new one.
                • external. This may be trickier. There may be:
                1. external sites pointing with links to the old page. In this case you need to think if it's really worth to change the url. If it is, get in touch with those websites and ask them to change the link.
                2. Google having indexed that page and make it rank. That cannot be changed by YOU.

                So make all the internal and external possible fixes

                change your sitemap and submit that to google webmaster tools

                and then you'll need to modify your htaccess (if your server is driven by apache, which 90% normally do) and create a rule which redirects from the old page to the new one. In that way even if the external site doesn't change the old link the user won't receive a 404 but will be redirected to the new page, and google will drop the old url (in a week or so it depends on the crawling rate) and then index instead the new one.

                For the htaccess rule if you're not experienced with that kind of file leave that to your it guys, because a wrong comma there, may brake the whole site.

                Hope this is clear 🙂

                MissVe 1 Reply Last reply Reply Quote 2
                • 1 / 1
                • First post
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                Browse Questions

                Explore more categories

                • Moz Tools

                  Chat with the community about the Moz tools.

                • SEO Tactics

                  Discuss the SEO process with fellow marketers

                • Community

                  Discuss industry events, jobs, and news!

                • Digital Marketing

                  Chat about tactics outside of SEO

                • Research & Trends

                  Dive into research and trends in the search industry.

                • Support

                  Connect on product support and feature requests.

                • See all categories

                Related Questions

                • woshea

                  Google Search Console Showing 404 errors for product pages not in sitemap?

                  search console 404 error 404s

                  We have some products with url changes over the past several months. Google is showing these as having 404 errors even though they are not in sitemap (sitemap shows the correct NEW url). Is this expected? Will these errors eventually go away/stop being monitored by Google?

                  Technical SEO | | woshea
                  0
                • daniel-brooks

                  Intermittent 404 - What causes them and how to fix?

                  Hi! I'm working on a client site at the moment and I've discovered a couple of pages that are 404ing but producing a 200 OK response. However, I have checked these URLs again and some are now producing a 404 Error response. No changes have been made (that I'm aware of) so it appears that the URLs are returning both 200 OK and 404 Error responses intermittently. Any ideas what could cause this and the best solution? Thanks!

                  Technical SEO | | daniel-brooks
                  0
                • yacpro13

                  Resubmit sitemaps on every change?

                  Hello Mozers, Our sitemaps were submitted to Google and Bing, and are successfully indexed. Every time pages are added to our store (ecommerce), we re-generate the xml sitemap. My question is: should we be resubmitting the sitemaps every time their content change, or since they were submitted once can we assume that the crawlers will re-download the sitemaps by themselves (I don't like to assume). What are best practices here? Thanks!

                  Technical SEO | | yacpro13
                  1
                • A_Fotografy

                  Yoast SEO. After set up 404 error pages

                  Hello all, Something strange happened with my blog site. I recently signed to MOZ tools. Initially everything was fine, but during my last crawl I got loads of 404
                  pages. Few days ago I was tweaking some settings in SEO plugin according to this post https://moz.com/blog/setup-wordpress-for-seo-success What I noticed was that 404 pages were coming from my blog posts, but for
                  some reason category was missing in those posts. For example this link is 404
                  https://a-fotografy.co.uk/inchcolm-island-wedding-photography-bailie The one with category is https://a-fotografy.co.uk/wedding-pictures/inchcolm-island-wedding-photography-bailie/ So basically for some reason category was missing. Please let me know how can I fix this instead of doing hundreds of
                  redirects now. Thank you,
                  Regards,
                  Armands

                  Technical SEO | | A_Fotografy
                  0
                • TheKrazyCouponLady

                  429 Errors?

                  I have over 500,000 429 errors in webmaster tools. Do I need to be concerned about these errors?

                  Technical SEO | | TheKrazyCouponLady
                  0
                • Prime85

                  Are 404 Errors a bad thing?

                  Good Morning... I am trying to clean up my e-commerce site and i created a lot of new categories for my parts... I've made the old category pages (which have had their content removed) "hidden" to anyone who visits the site and starts browsing.  The only way you could get to those "hidden" pages is either by knowing the URLS that I used to use or if for some reason one of them is spidering in Google. Since I'm trying to clean up the site and get rid of any duplicate content issues, would i be better served by adding those "hidden" pages that don't have much or any content to the Robots.txt file or should i just De-activate them so now even if you type the old URL you will get a 404 page... In this case, are 404 pages bad?  You're typically not going to find those pages in the SERPS so the only way you'd land on these 404 pages is to know the old url i was using that has been disabled. Please let me know if you guys think i should be 404'ing them or adding them to Robots.txt Thanks

                  Technical SEO | | Prime85
                  0
                • sesertin

                  Urls with or without .html ending

                  Hello, Can anyone show me some authority info on wheher links are better with or without a .html ending? Thanks is advance

                  Technical SEO | | sesertin
                  0
                • PlusPort

                  Changing CMS, are there SEO effects?

                  We want to change our cms from typo3  to CMS made Simple. We have done this already for another site and it effected the rankings. Have you got experience with this? What factors are important for SEO to consider? Is it normal when you change from cms the rankings will drop?

                  Technical SEO | | PlusPort
                  0

                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
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority 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

                Access all your tools in one place. Whether you're tracking progress or analyzing data, everything you need is at your fingertips.

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

                Looks like your connection to Moz was lost, please wait while we try to reconnect.