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>
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
-
Redirected Old Pages Still Indexed
Hello, we migrated a domain onto a new Wordpress site over a year ago. We redirected (with plugin: simple 301 redirects) all the old urls (.asp) to the corresponding new wordpress urls (non-.asp). The old pages are still indexed by Google, even though when you click on them you are redirected to the new page. Can someone tell me reasons they would still be indexed? Do you think it is hurting my rankings?
Intermediate & Advanced SEO | | phogan0 -
Redirect Plugin: Redirecting or Rewriting?
Hey everybody! It's been a while since off the boards! I am reworking a site and I have been looking into their Redirection Plugin. I personally tend to lean towards just using the .htaccess because, well, why not. However, when looking deeper into the plugin I found myself a little confused with their redirection wording. RewriteRule ^/products/landing-page-october-2015/$ /products/special-education-news-october-2015/ [R=301,L] Is that the same thing as a classic Redirect 301?
Intermediate & Advanced SEO | | HashtagHustler0 -
Robots.txt and redirected backlinks
Hey there, since a client's global website has a very complex structure which lead to big duplicate content problems, we decided to disallow crawler access and instead allow access to only a few relevant subdirectories. While indexing has improved since this I was wondering if we might have cut off link juice. Since several backlinks point to the disallowed root directory and are from there redirected (301) to the allowed directory I was wondering if this could cause any problems? Example: If there is a backlink pointing to example.com (disallowed in robots.txt) and is redirected from there to example.com/uk/en (allowed in robots.txt). Would this cut off the link juice? Thanks a lot for your thoughts on this. Regards, Jochen
Intermediate & Advanced SEO | | Online-Marketing-Guy0 -
Does a 302 redirect pass penalties?
I'm having problems finding a definitive answer to this question, there is a lot of rumour and gossip out there but nothing I can rely on. I'm working with a site that received an unnatural links notice followed by a massive drop in search traffic. Looking at the link profile it's pretty much jacked beyond repair and I have recommended that we move over to a fresh domain. However, it's an established brand with many more sources of traffic than organic search. There's no way we can burn all their repeat visits, loyal customers, brand recognition that they've built up over the years so I want to redirect from the old domain to the new. This is not to try and make any SEO gain from the previous site, frankly we don't give a crap about that. We just want to maintain the brand. A 302 is a temporary redirect, this will be a permanent move BUT a 301 will pass on the penalty. So can we safely use a 302 redirect in this situation or is there a better alternative (meta refresh?) Thanks for your help! MB.
Intermediate & Advanced SEO | | MattBarker0 -
Website.com/blog/post vs website.com/post
I have clients with Wordpress sites and clients with just a Wordpress blog on the back of website. The clients with entire Wordpress sites seem to be ranking better. Do you think the URL structure could have anything to do with it? Does having that extra /blog folder decrease any SEO effectiveness? Setting up a few new blogs now...
Intermediate & Advanced SEO | | PortlandGuy0 -
301 redirect rule
Hi there, I have a website that has hundreds of links with a "question mark" at the end of URLs. For example: http://www.domain.com/directory/page.html?
Intermediate & Advanced SEO | | iQandil
http://www.domain.com/directory/another-directory?
http://www.domain.com/directory/yet-another-directory/? I'm want to place a wildcard redirect on the .htaccess file but don't know what exactly to add. Ideally I want the URLs above to be: http://www.domain.com/directory/page.html
http://www.domain.com/directory/another-directory/
http://www.domain.com/directory/yet-another-directory/ Any help is most appreciated. Thanks
Issa0 -
Homepage 302 redirect - Which option makes most sense?
Edit: Here's a simplified version of this issue and how I have fixed it thus far. On AmbitionSnowskates.com, there is a video section. There is no content on this page, it 302 redirects to the newest video. If you access ambitionsnowskates.com/video/, you are redirected to ambitionsnowskates.com/video/safari-time/. The original post (OP) was about a site with recurring events. There is a cycle between to which subpage the homepage should redirect. For this reason, I was wondering if I should redirect mysite.com to mysite.com/active-subpage/ or the other way around (and have the content directly on the homepage). I was also wondering how this will affect the result in SERPs. It turns out Google shows the title and description of the destination page, but shows the URL of the original URL (the homepage). Knowing this, I can tailor my meta descriptions to be about both the company and the current event; a mix of the two means I won't have to switch or duplicate meta descriptions between active events. I do appreciate the real solution though: in my opinion there should be unique content on the homepage with according CTA. I'm trying to push this as the best fix, with redirections being an alternative, but albeit more complex, solution. Again sorry for being so unclear. I wish I had had an example from the beginning. 🙂 I'm leaving this opened in case someone wants to chime in. Ben Hey guys, I need a hand on this one 🙂 We have a website with 3 events and we want the homepage to show the upcoming event. Event 1 is in February Event 2 is in April Event 3 is in June These events are recurrent year after year. Currently the homepage shows the content of event 1 at the root level (site.com/) . The other events have a unique URL (site.com/event-2, site.com/event-3). Later in the year, after event 1 is over, we change the homepage content to event 2 and move event 1 to its own URL. In other words... Current structure Today: Event 1: site.com/ Event 2: site.com/event-2 Event 3: site.com/event-3 In March: Event 1: site.com/event-1 Event 2: site.com/ Event 3: site.com/event-3 And so on. I want to make sure each event has its own URL and is properly indexed. Option A I can redirect the homepage to the right event: site.com -> 302 -> site.com/event-1. If that's the way to go, what will be the SEO impact, i.e. what content will show up in SERPs? The destination page's content/meta description and title? Option B What I could also do is keep the current structure (content moved to the root), but redirect temporarily the event's unique URL to the homepage: Today: Event 1: site.com/ Event 1: site.com/event-1 -> 302 -> site.com/ Event 2: site.com/event-2 Event 3: site.com/event-3 In March: Event 1: site.com/event-1 Event 2: site.com/ Event 2: site.com/event-2 -> 302 -> site.com/ Event 3: site.com/event-3 And so on. Again, if that's the way to go, how will this impact SERPs, which title and description will I see for the homepage and individual events? If you have other options, I'm all ears! Thanks a lot! (I mean it) -Ben
Intermediate & Advanced SEO | | BenoitQuimper0 -
301 Redirect pages with .aspx extension
I want 301 redirect all a website's subpages with a .aspx extension to a page without the .aspx etension. Example: I want to 301 redirect www.website.com/services.aspx to www.website.com/services Right now if you do not include .aspx on the end of every URL it gives a 404 error. I have used the web.config file to 301 redirect non-www to www and /default.aspx to /. I am not extremely familiar with IIS 7.0 or web.config, so any help would be great. Thanks.
Intermediate & Advanced SEO | | VentaMarketing0