Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

In WordPress, How Does One Change The Meta-Description Of The Home-Page?

Honestly, I have searched low and high for the answer to this in WordPress. Went to every page in the back-office to no avail.

In Google search results it repeats my company slogan twice and that is all. Nobody will click on this as it looks ridiculous. How and where do I change this?

It is an Arras Theme, if that helps

share|improve this question

migrated from webmasters.stackexchange.com Feb 18 '12 at 3:04

This question came from our site for pro webmasters.

    
Is the home page an actual page or is it the default listing of posts? If it's a page, is it using a page template? Let us know - perhaps we can provide some insight based on how the sit eis setup. –  Tom Feb 18 '12 at 4:02
add comment

3 Answers 3

Rather than editing and hard coding into your templates, you should use a plugin such as http://yoast.com/wordpress/seo/ which will give you the option to edit meta tags for each of your pages including the home page.

share|improve this answer
add comment

In your header.php file:

if ( is_home() ) { ?>
    <meta name="description" content="Your home page meta description" />
<?php } else {  ?>  <meta name="description" content="Your none homepage meta description" /> 
<?php } ?>
share|improve this answer
    
In reply to @tom's question, an alternative would be to use if ( is_home() OR is_front_page() ) { ?> –  Cor van Noorloos Feb 18 '12 at 14:14
add comment

The Yoast SEO plugin does have an option for home meta description.

share|improve this answer
add comment

Your Answer

 
discard

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