When coming up with an SEO optimized theme, you should take care of the following:
- have the H1 on archive pages and the homepage set to the title of those pages, or the name of your blog
- set the H1 on single posts or pages to be the title of the post/page
This causes an issue with subheadings when composing your posts. In the category pages the articles titles will be the H2, but in the individual posts the articles titles will be the H1. Do you set your subheadings to start at H2 and please the single pages, or H3 and please the category pages?
This plugin resolves the issue by replacing subheading tags with the following on pages where the plugin tag is added:
- H2 into H3
- H3 into H4
- H4 into H5
- H5 into H6
- H6 into P.headingSix
- Unzip the contents of the downloaded folder
- Upload the
wp-seo-html-valid-subheadings.phpfile to the
/wp-content/plugins/directory of your WordPress installation.
- Log in to your WordPress dashboard and activate the
wp_date_with_a_nice_toneplugin that should now be visible in the list.
- Go into the theme and place the code
<? add_filter('the_content', 'heading_replacement_filter_headings'); ?>on any page which outputs multiple posts, such as the home page, category pages, archive pages and tag pages. Place the code at the top of each file, to ensure it comes before the WordPress loop and the wp_content tag.
Contributors & Developers
“SEO friendly and HTML valid subheadings” is open source software. The following people have contributed to this plugin.