Canonical links & CodeIgniter |
[eluser]Phil Sturgeon[/eluser]
A solution! Two options (I like options). #1 - Erik Vold has some JavaScript to get this going properly as my post above suggested. #2 - Cut out the middleman. Use the two values from Method #2 in my post, and set the one for Google bots as canonical and pass the one for Analytic straight to _gat. Example: Code: <link rel="canonical" href="<?=site_url( $this->uri->uri_string() );?>" /> Code: <scr1pt type="text/javascript"> |
Messages In This Thread |
Canonical links & CodeIgniter - by El Forum - 05-19-2009, 06:37 AM
Canonical links & CodeIgniter - by El Forum - 05-19-2009, 07:27 AM
Canonical links & CodeIgniter - by El Forum - 05-19-2009, 07:58 AM
Canonical links & CodeIgniter - by El Forum - 05-19-2009, 08:19 AM
Canonical links & CodeIgniter - by El Forum - 05-19-2009, 08:20 AM
Canonical links & CodeIgniter - by El Forum - 05-19-2009, 08:34 AM
Canonical links & CodeIgniter - by El Forum - 05-19-2009, 08:36 AM
Canonical links & CodeIgniter - by El Forum - 05-19-2009, 08:40 AM
Canonical links & CodeIgniter - by El Forum - 05-19-2009, 01:01 PM
|