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 [email protected]
-
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 -
Can I 301 re-direct a page to regain the authority from a penguin penalized page
I built way too many anchor text links to an internal page and was penalized for the associated keyword. However, I do rank on that page for less significant keywords that I didn't build anchor text links for, though not super high. Subsequently, I've found that the sites that rank highly for the keyword that I was looking to rank for are high domain authority with almost no links built to those pages. Can I 301 re-direct that URL to my homepage, where I'm not trying to rank for that term, to make use of that authority of the links I've built to that page and start over on the page that I was hit by penguin on? This appears to make sense to me as my pages that have been hit are specifically for the terms that I have gone overboard on anchor text links. Terms that I haven't built too many anchor text links to still rank on those pages.
Link Building | | dusty79690 -
Changing Anchor Text and Domain Name on external sites
Hey guys, I was hoping somebody might be help with my current dilema. We have a international website due to go live soon which has changed its brand name. It is International educational website funded by the government is all I can tell you I'm afraid. They have over 40,000 inbound links many of which are images. I'm wondering what i site best approach. To contact the web master of the top PR sites and ask them to change the listing to the new brand? I was also thinking if I was to leave most of them there as they would be redirected anyhow. Could I be clever and add the new brand link to some of these sites without removing the old and reap the benefits of having two links, the old site url and the new site url? Here is the main dilema though, the commission wish to keep the old site live for 6 months before we can redirect. Thanks, Rob
Link Building | | daracreative0 -
How to make google index the page title has changed ?
Google has indexed all my websites, but I have to change some title in the website but when checking google does not update the change.
Link Building | | tuananh0688
Please help me .
My site : http://blog.addme.vn0 -
Remove links or change anchor text?
I am currently in the process of cleaning up the link profile for a website that has been hit by Penguin thanks to loads of links from free directories with exact match keyword anchor texts (about 200 root domains from total of 300 root domains). I was wondering whether it's best to remove these un-natrual keyword anchor text links altogether, or change the anchor texts to brand (domain name, domainname.com, www.domainname.com, http://www.domainname.com)? I am currently trying to remove these links but was thinking it would be quicker to get to a healthier link profile (in terms of brand/commercial anchor text split) by altering the anchor texts and not removing them. Some of these directories are the worst of the worst on the other hand. Also note that I'm only really getting about a 30% response rate from the owners of these directories. Any thoughts? Many thanks in advance.
Link Building | | ec9awp0 -
Can changing our links page make our rankings drop through the floor?
Hi all, When I first started at my current job, most of the link building (aside from submitting to free directories left, right and centre) was replying to every spammy reciprocal email and adding them to our links page! Now we're all a bit wiser about such matters (thanks SEOMoz!), I want to get our links page turned into something actually useful. My plan was to get it neatly categorised, with recommendations, cut out unrelated links that would be useless to visitors and call it something like "Our Friends" I thought this might be useful for future link building efforts, but in its current state, it's a complete mess. However, I am worried about cutting out a lot of links if they have been reciprocal ones. Are the sort of sites that would be sending typical spammy link exchange emails for window installation in NY likely to notice our UK education site taking away their link six months later and take away ours? If they do, will losing links from these sites harm us? Perhaps more importantly, is my plan a terrible idea in the first place? Look forward to hearing from y'all!
Link Building | | TEFLScot0 -
Has there been a change in the Competitive Domain Analysis?
I've noted the total number of links has dropped drastically on multiple reports. Is there something new in the Competitive Domain Report or is it really just my clients? Also I've noticed that all of my clients have seen slight decreases in MozTrust - is this related to your reports analysis of panda? Thanks!!
Link Building | | LeslieVS0 -
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