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
-
301 redirect single page
I have a popular page on one domain and I did 301 redirect of it to another domain. Just one single page. Both the sites are very related to each other. Will the backlinks get transferred? Its been more than a week but nothing shows up in webmaster tools.
Link Building | | anran0 -
Use 301'd Domain for a new campaign
Hello everybody, My company is getting ready to start a new mediacampaign on a very specific subject. The mediacampaign is not directly targeted at our core business, the goal is more to inform our customers about a subject and do a little branding for our company. A nice (and expensive) infographic was built that is going to be the core content of the campaign. We want the infographic to get shared a lot and therefore some of my colleagues want the url to be as short as possible. The idea is to host the infographic on a url on our companysite, but use a 301'd, shorter domainname in our communications. We are going to be getting a lot of links to this empty 301'd domain which does nothing else then 301 to our companysite. I know that linkbuilding to a 301'd domain is an old blackhat tactic, that's the main reason I don't feel good about this. But i can't really find any info on this subject.
Link Building | | Laurensvda0 -
Domain Authority and Page Authority down - Change of Server
Dear All, Today I noticed that our page authority and domain authority is down, and the number of linking domains is also down. We do not have too many linking domains to our site, but at least one blogger link to us, with a very nice article about our site (since some months ago) and this link does not appear in the site explorer (follow link). This blog is well indexed by google, but impossible to see using open site explorer for some reason unknown to me; and two pages we helped, and they link also to us (follow links): their links appear in the webmaster tools, but not in the site explorer. Neither the blog nor those two pages were in the site explorer before, the links that were removed are from other sources (SEO analisys pages, automatic generated when I run a test by them, so I supossed not high quality links at all, not content related, we don't miss them). Our site was partially down for 1 1/2 day this week due change of server, from a shared hosting to a VPS. Now all pages are up again, and we are improving everything, working really hard (almost no sleep at all in two days). Could it also have something to do with the lower domain authority? How bad penalized google the time down of a domain? How long will we feel the effects of that? Listing published in our site are ranking exactly as before, but I am afraid this could change in the near future. Since the end of December (not directly related to my question), we do not have this nice snipped showing the main pages of our site, when we writte the exact domain name in google. At the time, we did not any change, and this did not affect the listings ranking (they even improved in some cases); we rank better for the main keyword, so the snipped changed, without other problems. So, the questions: Have made site explorer any change in the last days, to discard low quality links? Could be the lower domain authority related to the down time of our site? How long can be felt the effects of the down time in google results? Is it something that can be felt forever? =( Do you have any idea why google decides in some cases to remove the site links in the snipped? General question, I know it is not possible to answer it for any specific domain without looking at it. We would like to have those links again. Is there something we can do in order site explorer visit that blog I mentioned? I will try to crawl it using the dashboard to see what happen. Many thanks for your help! Daniel
Link Building | | te_c0 -
Backlinks on an older domain which is now 301
Hi What is the best way to see what backlinks one of my domains has pointing at it? It is an older domain and is no longer being used for marketing purposes and has a 301 redirect on it. However when looking at this older domain in opensiteexplorer it does not show what the links are because it redirects to the newer domain name
Link Building | | ocelot0 -
301 Direct with a deleted domain newbie
Hello I'm wondering if the 301 redirect to your money site with a high pr deleted domain still works post penguin. Will all the link strength pass on to the new domain? What if the domain has nothing to do with your niche? Does that affect it or no?
Link Building | | 6786486312640 -
Changing domain names... Bad idea?
We are re-doing a clients e-commerce website. Before I had entered them on SEO moz we had decided to change their domain name to one with a keyword inside. I had not known that they had an online marketing company previous working for them. They have a domain authority of 42 right now. It would be a horrible idea to switch their domain right? I looked at some of the links, they all have a variety of good anchor text. But alot of the links are coming from sites or directory categories that are not relative. We are also planning on doing 301 re-directs for the links. But this will not transfer the domain authority to the new domain right? Any thoughts?
Link Building | | DTOSI0 -
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 -
Does it pay to change link text internally?
Most of my internal pages have their best links from within our site (of course we are trying to change that). Is it worth the effort to sculpt the link text to show varied text instead of most all showing the same link text? Or is that only important from external links?
Link Building | | joemas990