Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » New Versions, & Updating »

Canonical Suggestion


  #1  
Old Oct 21, 2009, 11:03 AM
Larry
 
37 posts · Sep 2009
I would like to suggest adding the following code to the header.php file in the next upgrade:

<?php if ( is_home() ) { ?><link rel="canonical" href="whatever needs to go here to add the home page url/" />
<?php } ?>

Not only is the canonical tag useful for limiting duplicate content issues with various posts and pages with different urls, different versions of the home page can be directed towards one style as well.
ie: with www. or without www. in the url.

The way the php is written now, it only adds the canonical tag to single posts or pages.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Widget Suggestion jfrenaye Sidebars & Widgets 0 Oct 7, 2009 07:18 PM
Issue (or suggestion for future) jfrenaye New Versions, & Updating 1 Sep 25, 2009 05:17 AM
Problem in 3.4 Plus Suggestion jfrenaye New Versions, & Updating 1 Jul 11, 2009 06:19 AM
suggestion: blog title not h1 lsilva Header configuration & styling 1 May 6, 2009 07:25 AM
Suggestion: Generate static CSS mike3k Atahualpa 3 Wordpress theme 0 Mar 27, 2009 10:21 PM


All times are GMT -6. The time now is 09:03 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.