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 Note

Old May 22, 2010, 03:50 PM
37 posts · Sep 2009
I just updated one of my sites (finally) from version 3.4.4 to 3.4.9 by downloading the current version zip file, uploading to my server and then switching themes. (zero problems so far)

I noticed there is still a line of previous code in the header.php file to add the canonical tag to pages and posts. Just to let you know, there is no need for this (as far as I can tell) since wordpress version 2.9, as it has been added to the wordpress core. Might as well take it out in the next upgrade.
Old Oct 6, 2010, 01:03 PM
9 posts · Sep 2010
I see it's still there. Since I'm using plugin for "canonicalization", it gives me duplicate canonical tag. I wouldn't have any problem with that, but it gives wrong canonical link. My homepage is static, but I'll be changing content of homepage overtime, so I don't want this particular content to be "canonicalized" as mydomain.com but mydomain.com/this_article. I'm using plugin to have control over that. How to remove it from Atahualpa forever without messing anything?

Last edited by jukooz; Oct 6, 2010 at 01:12 PM.
Old Oct 6, 2010, 01:29 PM
37 posts · Sep 2009
Hi jukooz,

the last I checked, it was this line in the header.php which is from the theme adding the canonical tag:
<?php if ( is_single() OR is_page() ) { ?><link rel="canonical" href="<?php the_permalink(); ?>" /><?php } ?>
If you remove that, Atahualpa won't add it in any more.
Old Oct 6, 2010, 01:55 PM
9 posts · Sep 2010
Thank You. It worked.
Old Oct 6, 2010, 01:56 PM
37 posts · Sep 2009
You're welcome. Glad I could help.

Note: You'll have to remove this line of code with each upgrade to Atahualpa as long it it remains in the theme's code.
Old Oct 7, 2010, 06:37 PM
9 posts · Sep 2010
I know. But if Flynn see this topic it probably won't
Old Oct 15, 2010, 05:58 AM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
I removed it for the next version, 3.5.4



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
NOTE: 3.4.8 theme settings not backward compatible juggledad New Versions, & Updating 1 May 8, 2010 11:44 AM
If you installed 3.4.7 please note you must delete a row from the database juggledad New Versions, & Updating 0 May 8, 2010 10:36 AM
A note of thanks gomer Atahualpa 3 Wordpress theme 0 Nov 3, 2009 11:52 AM
Canonical Suggestion Larry New Versions, & Updating 0 Oct 21, 2009 11:03 AM
[SOLVED] Incoming Links (note: wordpress issue) KatyDigg Atahualpa 3 Wordpress theme 5 Sep 27, 2009 11:09 AM

All times are GMT -6. The time now is 01:39 PM.

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