Seo-friendly way to post blog content to homepage?
-
We have an e-commerce website.
We would like to feature content from our blog on the site's homepage (both on same domain).
The content we want to feature is latest posts titles (say 5) plus the few first lines from each post.
We want search engines to be able to read this content.
Is there a SEO friendly way to achieve this?
Thanks in advance.
-
Assuming your using WordPress for your blog, you can get the latest posts with get_posts http://codex.wordpress.org/Template_Tags/get_posts
Either just displaying the_title or the_excerpt will be just fine for SEO
-
If you have a static html site you can write a Perl program to read your blog feed and rewrite it into a server-side include file. Then you can add that include to your homepage - or any other page on your site.
If you trigger that Perl program with a cron job on your server you can have your server-side include updated daily, monthly or hourly.
You can also have the Perl program make server-side includes by category and these can be added across your site on relevant pages.
One advantage of this is that when you publish a new blog post you can BAM... get hundreds of links into it within an hour of publication - or you can trigger the Perl program manually.
-
Thank you very much for your detailed reply, but we don't have access to the server, it's a Netsuite e-commerce site.
-
Thanks for your reply. Yes, we're using WordPress, but the e-commerce site runs on Netsuite so we can't use php on the homepage.