Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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 08:43 PM.


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