Is there a way of changing the Permalink without getting the 404 Error?
-
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
-
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
-
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.
-
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
-
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!
-
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:
- 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.
- 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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Permalink structure of an excising website
Hey everyone, We have a website - a business directory. It is a large directory with lots of B2B listings. So currently our URL structure for the categories look like this: dispensarystack.com/category/professional-services/ **We want to rank for the KW "dispensary professional services". ** Is it enough that we have the word dispensary in our brand name and in this way in the URL structure or is it better to make the slug: **dispensarystack.com/category/**dispensary-professional-services/ Or even closer to the root of the website: **dispensarystack.com/**dispensary-professional-services/ Thank you for your time and answers!
Technical SEO | | Nobody16154975014230 -
Fake 404 Issue
Hello, I just had a problem my site started showing up 404 issues for all my wordpress pages and post but visually the page was loading with content but yet all pages and software including google WMT was showing the 404 issue. I never found the issue but was able to move the site into a new hosting and restore from a backup and it work. Google found the issue on Jan 27th and they remove all the pages with 404 from the index and I lost most of my top ranking I have since fix the issue and was wondering if google would restore my ranking in such a case? Regards, M
Technical SEO | | thewebguy30 -
60,000 404 errors
Do 404 errors on a large scale really matter? I'm just aware that I now have over 60,000 and was wondering if the community think that I should address them by putting 301 redirects in place. Thanks
Technical SEO | | the-gate-films0 -
404 errors
Hi I am getting these show up in WMT crawl error any help would be very much appreciated | ?ecaped_fragment=Meditation-find-peace-within/csso/55991bd90cf2efdf74ec3f60 | 404 | 12/5/15 |
Technical SEO | | ReSEOlve
| | 2 | mobile/?escaped_fragment= | 404 | 10/26/15 |
| | 3 | ?escaped_fragment=Tips-for-a-balanced-lifestyle/csso/1 | 404 | 12/1/15 |
| | 4 | ?escaped_fragment=My-favorite-yoga-spot/csso/5598e2130cf2585ebcde3b9a | 404 | 12/1/15 |
| | 5 | ?escaped_fragment=blog/c19s6 | 404 | 11/29/15 |
| | 6 | ?escaped_fragment=blog/c19s6/Tag/yoga | 404 | 11/30/15 |
| | 7 | ?escaped_fragment=Inhale-exhale-and-once-again/csso/2 | 404 | 11/27/15 |
| | 8 | ?escaped_fragment=classes/covl | 404 | 10/29/15 |
| | 9 | m/?escaped_fragment= | 404 | 10/26/15 |
| | 10 | ?escaped_fragment=blog/c19s6/Page/1 | 404 | 11/30/15 | | |0 -
Getting Recrawled by Google
I have been updating my site a lot and some of the updates are showing up in Google and some are not. Is there a best practice in getting your site fully recrawled by Google?
Technical SEO | | ShootTokyo0 -
Mass 404 Checker?
Hi all, I'm currently looking after a collection of old newspaper sites that have had various developments during their time. The problem is there are so many 404 pages all over the place and the sites are bleeding link juice everywhere so I'm looking for a tool where I can check a lot of URLs at once. For example from an OSE report I have done a random sampling of the target URLs and some of them 404 (eek!) but there are too many to check manually to know which ones are still live and which ones have 404'd or are redirecting. Is there a tool anyone uses for this or a way one of the SEOMoz tools can do this? Also I've asked a few people personally how to check this and they've suggested Xenu, Xenu won't work as it only checks current site navigation. Thanks in advance!
Technical SEO | | thisisOllie0 -
Index page 404 error
Crawl Results show there is 404 error page which is index.htmk **it is under my root, ** http://mydomain.com/index.htmk I have checked my index page on the server and my index page is index.HTML instead of index.HTMK. Please help me to fix it
Technical SEO | | semer0 -
Quality analytics without Google?
I'm trying to find a program or a site that will give me quality traffic data. If I'm going into a presentation or simply a round one meeting I like to prepare a 1 pager with info I've found. Without authentication access to their Google Analytics I feel like I'm a step behind. Any Help would be greatly appreciated. -JoeGrrrcia
Technical SEO | | JOEGRRRCIA0