Redirecting deleted posts 301 vs 302
-
There is a category on WP where job ads are posted. when a post got deleted I would like to pass 404 error page and redirect all those deleted posts to specific category.
I found WP plugin Auto Redirect 404 in 301 for Trashed Posts which does redirect deleted post to specific URL. But posts which are in the trash (not permanently deleted) will get 302 redirects. Those deleted permanently will get 301 redirects.
Should I try editing this plugin or find another why? Maybe there is similar way with Redirection plugin?
-
It's probably easier to only use 301 redirects, especially if the majority of deleted posts are not going to be restored and are deleted permanently in a few months.
-
Actually those posts get permanently deleted after a while (1-5 months). But as I said before, some of them get deleted and then they need to be reposted again before they will get permanently deleted.
-
Then a 302 would be more appropriate as it is a temporary redirect. It sounds like you need to work on some of your publishing operations/procedures. Ideally, once you publish a post, it stays up etc. You need to figure out how you can improve the process so that you minimize getting into the situation to start with.
If you need to, I would delay the posting to start with if that would ensure that once it posts, it stays up on the site etc.
Good luck.
-
I don't own that site but the owner of the site needs post to be kept in the trash because those posts often have to be restored.
-
You need the 301 redirects. 302 redirects give me ulcers. Is there any reason you are keeping things in the trash? If you really need to save something for later, putting it in the trash is probably not your best option. If you need to permanently delete them - then go ahead. If you need the trash option for storage, then you probably need another plugin.
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, Canonical, and Page Authority
I have been trying to find an answer to this question for awhile now but I am having trouble. I have a clients site that I need to redirect and Canonical the pages to correct duplicate content issues and title tags however, the issue with this client is that some of the www. pages have a higher PA than non-www and the reverse is true. I am wondering if there is an issue with chasing the PA to get the highest PA per page (even if this means the site is going to be a mix of www. and non-www. pages)? I am extremely new to SEO so I apologize ahead of time if I missed this in the forum.
On-Page Optimization | | Highline_Ideas0 -
Is it better to delete old job pages on a recruitment site?
My client (online recruitment) has over 1.5 million pages indexed, the majority of which are old job posts and listings since they began. I wanted to know if it would be better to keep all of the pages, or advise my client to delete some of the archive as these pages will no longer be attracting traffic.
On-Page Optimization | | AxonnMedia0 -
Should I index news and blog posts which receive little traffic
Hi all, I have a very large site at the moment with a handful of high authority pages with great content which describe the charity's work. But the main content on the site is blogs and news article which, while being good quality content from a reader's point of view, receive little traffic from search engines as they are so niche and long-tail. They do, however, get ok internal traffic from other pages. Should these pages be indexed still or should I remove them? Is there a rule of thumb regarding minimum clicks/bounce rates that an indexed page should have? What do big news agencies do with really niche articles that may get next to no traffic but have valuable content on for those that do click through? Thanks in advance! Den
On-Page Optimization | | Deniz0 -
Schema.org vs data-vocabulary.org
Hi, I am implementing the rich snippets on an e coomerce site. Should we implement schema.org or data-vocabulary.org? As i feel data vocabulary is more used by google in showing rich snippets.
On-Page Optimization | | rahijain0 -
301 redirects from several sub-pages to one sub-page
Hi! I have 14 sub-pages i deleted earlier today. But ofcourse Google can still find them, and gives everyone that gives them a go a 404 error. I have come to the understading that this wil hurt the rest of my site, at least as long as Google have them indexed. These sub-pages lies in 3 different folders, and i want to redirect them to a sub-page in a folder number 4. I have already an htaccess file, but i just simply cant get it to work! It is the same file as i use for redirecting trafic from mydomain.no to www.mydomain.no, and i have tried every kind of variation i can think of with the sub-pages. Has anyone perhaps had the same problem before, or for any other reason has the solution, and can help me with how to compose the htaccess file? 🙂 You have to excuse me if i'm using the wrong terms, missing something i should have seen under water while wearing a blindfold, or i am misspelling anything. I am neither very experienced with anything surrounding seo or anything else that has with internet to do, nor am i from an englishspeaking country. Hope someone here can light up my path 🙂 Thats at least something you can say in norwegian...
On-Page Optimization | | MarieA1 -
"And" vs "&"
I blog for hotels and I am wondering whether it is best to have on a wordpress tagline the name of the hotel such as Holiday Inn and Suites vs Holiday Inn & Suites. In Google AdWords, the "and" keyword always beats out the "&" word in exact search. The "&" just always looks cleaner. Also, when I refer to the hotel within a blog post, should I use the "and" or "&" in the name? Please help me understand which is best for seo. Thank you!
On-Page Optimization | | lwilkins0 -
How do I check how a competitor ranks in the UK vs. US?
In building my strategy I want to check how well my competitors rank in country specific searches, for example in Canada or the UK vs. the US. Can someone help me by pointing me in the right direction? Thanks
On-Page Optimization | | jclubb0 -
Absolute vs Relative URLs
What are the pros and cons of these two types of URLs and what type of weight does this hold. It doesn't seem to be a big issue in regards to ranking. Any qualified clarity would help.
On-Page Optimization | | Romancing0