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
-
My DA hasn't changed in over a year
My DA has been stuck at 32 for over a year, despite me producing lots of new, relevant content for my site and getting many high-quality backlinks from decent websites. Both my keywords and link profile have grown... but DA has not. I know these things take time, but I've watched competitors climb from low DA to now higher than me in a year, and I have no clue why I haven't grown too. I'm not entirely sure what to do next. Moz says I don't have any crawler issues, so I assume it's seeing my site ok. Any advice, clues, ideas very welcome. Thanks
Link Building | | WanderingBird0 -
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 -
Authority redirection - 301
Hello! Could you please help me out with below? For example i have a domain www.domain1.com which has authority of 50... and i set redirect 301 to www.domain2.com will the second domain receive first domains authority and rankings? Thanks in advance!
Link Building | | irakli.chkheidze0 -
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 -
Should you ever change your anchor text ?
Hello I have a question about anchors. I have done all my own seo over the last 3 years, with tools from various sites. I had an seo audit done about 1 month ago and was told my link profile was very natural. They had one recommendation. To go back over my link profile and ask some webmasters if they would change the anchor from the name of my site or my url to a more seo friendly phrase. This seemed logical. I never did a lot of anchor text just name or site or url. Anyway, over last 4 weeks I have messaged several webmasters and asked to have anchor text changed to something along the lines of the keywords Im targeting. Tedious task to go through all the links but I changed several anchors to what was recommended. I was also out link building at same time. These last links and I got several of them all natural links after 16 hours work days. Are all will seo friendly anchors, because as Ive gotten more experienced my links have gotten more in lines of what is "seo friendly" or at least I hoped. I asked one webmaster to change my anchor and he warned me I would be slapped with a penguin penalty and wouldn't recommend I do this. I have already done this to several of my links. Then today the new seomoz update came up and I was down on DA and PA by 3-4 points. Do these have anything to do with one another and have I been given bad advice and can I fix it if I have ? Sorry about long post just a little confused. I don't want to step into penalty land and not know I did.
Link Building | | New1000ad0 -
What percentage of an old post can I change without lose rank?
A few months ago I updated some old posts of my site (Wordpress), to improve old content, with new pictures (better quality), better content, new info about product, and links to our review of this product (newer posts). Most part of the content is this old posts were new, so I "deleted" the old text but replaced the new one with another of better quality. I suppose it will help new post to improve rank, but I los thousands of daily visits, because old posts ranks worse since the change. What do you think? What happened here? Maybe I shouldn't update the whole text, only add a link to new content? Thank you!
Link Building | | DSG0 -
301 Redirect Domains with old links
I came across a nice discovery of about 20 old domain names that each have many root domains and a bit of DA. I want to know the best way to utilize them without any type of penalty. Currently, (as of an hour ago) I am 301 redirecting all of them to the most relative pages on a single domain. Will i get the majority of the link juice from the domains? I'm excited to see what will happen here. Thanks in advance, Daniel
Link Building | | seoninja200