Changing permalinks, 301 nightmare
-
I would like to change some of permalinks on our website. I have created new posts with new permalinks and the old ones I have redirect by using yoast seo plugin.
Today I have opened a category and I have realized that there are of course the post with new permalinks, but also the old once!
What should I do with the old posts?
-
Sunny greetings from Diani beach Dan! Thank you very much! I wish you very nice day
-
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
-
now it just worked...I am cursed:-(
-
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:-(
-
Hi July
This is really three separate things here, so I see why it's giving you trouble.
- Changing permalinks
- Changing what category a post belongs to
- 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
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
-
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:
-
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:-(
-
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/
-
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.
-
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?
-
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!
-
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..
-
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?
-
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:-(
-
Hi,
Would it be possible to delete the old pages if they're not serving any purpose?
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
-
What happens to your domain authority if you are forced to change your website name?
Out of curiosity if for legal reason you or a client were forced to change their domain name, what happens to all of your domain authority once you lose the old domain? While you still own the domain you can easily redirect any old links to your new website, but what happens if you no longer own that domain and someone else purchases it? Do they steal all of your domain authority? Or is it possible to keep those old links pointing toward your website?
Link Building | | SteveKettig0 -
SEO value of 301 redirects from non-existent sites.
I have a question about an SEO tactic. There is this site that has purchased three domain names, and has redirected them to their main site. The three domains are: Spokaneduilawyer org, Spokaneduilaw com, and Spokaneduilawfirm com and the website has all three domains redirecting to their main site. What is the SEO value with this? I looked at those three domains on Majestic and they have no backlinks that I could find, and when I looked on archive.org I didn't see any history of those domains being actual sites that might bring traffic. What is the webmaster trying to do, and what is this tactic called?
Link Building | | RandyHT0 -
Backlink Help - Contact Site Owners or 301 Redirect?
Hi, I am performing some backlink updates for a client and would like to know if I can speed the process up. Currently I am contact site owners and asking them to update the links that appear on their website of my clients. As this is tedious work, can I just setup 301 redirects for these products instead of contacting site owners and asking them to change the URL? Is there any benefit to having the proper URL on other websites? Thanks in advance!
Link Building | | KarenNelson0 -
How to save links from an old website when building a new website even if the site map changes?
I have a client that needs a new website with better navigation, etc. The site has been up for a number of years and has backlinks that I would like to keep when building the new site in WordPress.
Link Building | | Doug_Hay0 -
Has anyone noticed no change is MOzRank since February?
When using Open Site Explorer, two of my clients have experienced no change in MozRank since February, but nothing has changed/stopped in their link building/optimisation programme. Has anyone else experienced a similar 'pause' - can anyone explain?
Link Building | | caroline19770 -
Finding competitor's 301's
Is there a way to find out what domains a competitor has 301'd to their main site? I am wondering if a competitor has hidden back links using a 301'd site.
Link Building | | EugeneF0 -
Impact of Panda Algorithm Change on Articles Base.
I am a published author and researcher. All my articles are original content and high quality. If I am looking for backlinks by submitting high quality original articles to Articles Base, how will the panda algorithm change affect me? Should I be submitting articles somewhere else? If so, where? I greatly appreciate any suggestions you may have.
Link Building | | DanManCastro0 -
Why is Google not following a 301 redirect on the robots.txt file?
Hi Guys, I recently posted a question on the Google Webmasters Forum http://www.google.com/support/forum/p/Webmasters/thread?tid=683e71557db7fd54&hl=en&fid=683e71557db7fd540004a4b4add8cbb6 and didn't get a satisfactory feedback so I thought I will put this to the SEO gurus on here. Perhaps one of you guys might good buddies with Matt and might be able to ask him directly. I actually posted on Matt's blog but he hasn't got back to me. Basically we did a URL restructure for client and set up 301 redirects and saw a huge drop in rankings over time. The 301 redirects seem to work fine and have been tested by many many people. We suspected that google might be ignoring the 301 redirects or devaluing them and so I reviewed the server log to see what is happening when the googlebot crawls the site and it showed that on many occasions the googlebot did not reload the page after hitting a 301 redirect. Sure.. you might say it probably queues it or Google might just be checking that the 301 redirect is still in place but why check so often (with a few hours to a day on the same URL) it even skips a 301 redirect on the robots.txt file i.e. from http://clientsite.com/robots.txt to http://www.clientsite.com/robots.txt. from non-www to www version. I don't think it is easy to dismiss the skipping of the robots.txt file - this 301 redirect should be loaded immediately to use the instructions the gooblebot requires to crawl the page. Any help will be appreciated. I can sent the server log to anyone personally but I am reluctant to post it on here. Regards, Zan
Link Building | | FRL0