Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

My website is basically a gallery of pictures that I display one at the time (as seperate posts). I have no need for a landing page and so I redirect all users who visit the homepage to a random post:

<?php
if (have_posts()) {
    query_posts('orderby=rand');
    while (have_posts()) {
        the_post();
        wp_redirect(get_permalink(), 302);
    }
}

?>

My homepage is still/and should be the most visited page and so I am wondering if the redirection will have any negative impact on SEO.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

By applying redirect from your home page to a random post, you can confuse visitors. For example and especially when visitors click on a link like www.example.com (your home page URL), they expect see your home page, not a post.

Moreover, you can also confuse Googlebot and other search engines bots (and thus SEO) if the home page is always redirected to a different post. By the way, maybe your home page is not indexed by these search engines whereas it's the most important page.

In your case, a very good option would be to keep your home page without any redirect and display a random image each day (with a link to its post). That way:

  • you don't confuse visitors
  • you don't confuse search engines bots (and thus SEO)
  • you often change content (and image) of your home page (good for visitors and SEO because of fresh content)

For your information, Wikipedia does this with its home page (new articles and associated pictures each day). And it works well for visitors and SEO.

share|improve this answer
1  
You are right, I have decided to recode the homepage. –  Tony Fire May 17 at 17:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.