Random post plugin creates 302 redirects. What should I do?
-
Just started work on a great MMA news site. In their footer, they have a plugin for random posts, which creates URL strings with '?random=1' on the end and then 302 redirects to a random article on the site.
I know SEO-friendly protocol for redirects is to use 301 and not any of the other 300's. However, I don't really see the need to do 301s for these because of the fact that they are random!
That said, I also don't want to leave 1000s of errors that can hinder the 'crawlability' (don't judge me - that's a word :)) of my client's site.
My thought right now is to noindex the urls with the '?random=1' in the string, so the spider doesn't worry about crawling those links. Not sure if that is proper code, but it seems that would be quick and effective.
Is there a better way to attack this? If you know, please share with me!
WP publishers who use random post plugins: have you experienced this? How did you fix it within the friendly confines of Wordpress?
-
'nofollow' - got it. Thanks for the response, and your logic makes sense. Would love a 2nd or 3rd on that from the masses just to make sure.
RE: the use or random posts as opposed to related - great question Oleg! My guess is this was a theme feature that was added in to fill the footer, TBH. I use LinkWithin for related posts on almost every blog I manage - I might need to suggest that to this site, too (or something similar).
Appreciate the extra insights.
-
So if you don't want those links crawled, add rel="nofollow" to the <a>tag. Noindexing the pages will still allow crawlers to follow the links (but won't index what they find). </a>
<a>All of the articles should have canonicals set up to index the file version of each page.
RE: using random post plugins... why random and not related posts? Related posts would have readers more like to click through to another article and improves the overall relevance of the page for SEO. I'd look into a plugin that links directly to a random or relevant post instead of going through an intermediary link.</a>
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
-
Setting up redirects from non wordpress
Hi, we are rebuilding our site which was built on WordPress. The old permalink structure was /%post_id%/%postname%/ The new site is a custom build (not Wordpress), however, we are using WordPress for blog posts. The URL structure is www.customewebsite/blog/ As the custom site is not WordPress, we do not know how to create a redirect to push the WordPress url /%post_id%/ to the /blog section of the new site. What we currently get is page not found. Can anyone help with the htaccess redirect code? Many thanks one and all.
Intermediate & Advanced SEO | | Taiger0 -
Yoast local landing...posts?
Hey Moz squad. I do some seo work for a multi location locksmith and garage door service. On our locksmith website - We just use regular word press landing pages for all of our different city cities. (btw if anyone has a good site architecture tips blog they know about, Send it my way!) So with our Garage door site, we bought the yoast local plugin. And it wants to make our locations Blog posts instead of pages. NOW what do you guys think. Does it matter? I know I have less control on how a blog post looks. But I'm just looking for different opinions. Thanks loves.
Intermediate & Advanced SEO | | Meier0 -
The Value of Backlinks - Blog posts
Alright, So I'm trying to understand the value of a backlink from a blogger/site owner. Now, as I know, (let's use fashion industry), there are thousands of fashion bloggers with good metrics... Domain Authority 40+ Page Authority 40+ etc. etc. for their home page. And there are THOUSANDS of fashion bloggers that link back to ecommerce sites (backlinks). My question is, is there really much of a value with these backlinks? Sure, the domain authority and page authority is high ( for the given example), BUT wouldn't the page authority automatically be a 1 for a "post" ? Le'ts say one blogger writes a new blog for July 14th and dedicates that blog post about the awesome shoes they have and it links back to an ecommerce site; well, what impact does that make in regards to SEO? And if it does, how long would that take? The biggest issue I see is the ROI. You link build, you get links - and then ....you wait. Or you hope that you'll move up in rankings, but yet they can take months for it to even move the needle. Especially the fact that if it's not a HOME PAGE link...there isn't that "much" of a boost compared to an internal page? So then the NEXT question I have too, wouldn't influencer outreach be the same as far as getting a PBN link, creating web 2.0's, etc.? Let's think about it. You're outreaching to someone so you can benefit something back. It's all unnatural at the end of the day. Would love to discuss. So in summary 1 - Value of influencer outreach links - especially if the post is a brand new content piece.. (page authority being automatically 1) 2- - What exactly IS white hat when really any type of link building is mimicking?
Intermediate & Advanced SEO | | ggpaul5620 -
Allowing Guest Posts on Website
I am planning to allow Guest posts on my website blog where authors or writers can post articles to my blog. All content will be manually approved by me. But i would like to know if guest posts will cause any harm to my site or is it good way to generate content. Another thing as guest posts will be having do-follow links & author section too will be up. So firstly i would like to know whether its a good step or not? Would even like to know what checks should i do before approving a guest posts?
Intermediate & Advanced SEO | | welcomecure0 -
Php 301 redirect
Hi I am migrating an old wordpress site to a custom PHP site and the URL profiles will be different, so want to retain all link profiles and more importantly if a user visits the old urls via search then they are seamlessly transferred to the new equivalent page For example www.domain.com/about-us is going to need to redirect to www.domain.com/aboutus.php www.domain.com/furniture is going to need to redirect to www.domain.com/furniture-collections.php etc What is the best way of achieving this apart from .htaccess as not 100% confident of doing this. Could it be done via PHP or using meta tags?
Intermediate & Advanced SEO | | ocelot0 -
Redirection question
How would I redirect this URL: http://www.members.mysite.com/ to this URL: http://www.mysite.com/ ? I cant figure it out
Intermediate & Advanced SEO | | JohnPeters0 -
My site penalized after 301 Redirect or redesign?
Hi, I have a question regarding my site (http://www.pokeronlineitalia.com) that has, all of a sudden, lost rankings on several keywords; plus, Google Analytics and the plug-in Clicky installed on my site (the site is built on WordPress) claim that my site has no visitors/visits anymore. I would like to provide a little background of what has happened. Three weeks ago I asked my web hosting company to do a 301 redirect from http://pokeronlineitalia.com to http://www.pokeronlineitalia.com. At the same time I asked a web hosting company to to a redesign of the site. Strangely, the day after the new redesigned site went online Google Analytics and the Clicky plug-in showed that my site, from one day to the other, had no visitors/visits anymore (I had installed Google Analytics and Clicky before the 301 redirect). In addition, I noticed that I had lost positions on many keywords for which I used to rank on the second page. However, the PR of the site has remained intact and Google is indexing it without problems. Plus, I still rank high for a keyword. I tend to believe that because of this, my site was not penalized by mighty Google...but I'd like an SEO expert to tell me what he thinks about it. In particular, please answer this: has my site lost rankings because of the 301 redirect? Has my site been penalized because of the redesign? Is this only a temporary situation? Thank you very much for your help. Sal
Intermediate & Advanced SEO | | salvyy0 -
Where do I redirect a domain to strengthen another domain?
I've got a UK domain that I need to redirect to a US domain. Should I point it to the root domain or a landing page off the root and what it the benefit to doing one over the other?
Intermediate & Advanced SEO | | JCorp0