Mobile app version of vmapp.org
Login or Join
Ann8826881

: Homepage redirect and impact on SEO? 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

@Ann8826881

Posted in: #302Redirect #Homepage #Redirects #Seo #Wordpress

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.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ann8826881

1 Comments

Sorted by latest first Latest Oldest Best

 

@YK1175434

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 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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme