SEO: Canonicalization

User avatar
joomfriend
Joomla! Explorer
Joomla! Explorer
Posts: 284
Joined: Sun Feb 08, 2009 5:10 pm
Contact:

Re: SEO: Canonicalization

Post by joomfriend » Mon Dec 14, 2009 6:18 am

@pasamio

Thanks very much for this plugin. For those like me who are using SH404SEF there will be no need to install it because SH404SEF already has a 301 redirect www/non-www feature (Option).

@all

In addition to this Canonicalization from Joomla, I would like to point that for those who are using Google Sitemap they should set their Preferred domain (www or non-www) in their Google Webmaster Account.

Please read:
http://www.google.com/support/webmaster ... 4231&hl=en
- https://www.adelnipet.com: Adelni Pet - Your Social Pet Network
- https://www.egliseprimitive.org: Christian Website

elitesports
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Sat Aug 01, 2009 6:57 pm

Re: SEO: Canonicalization

Post by elitesports » Wed Dec 16, 2009 8:30 pm

I need help! I installed this and when i tried to configure it i put in "www" and accidentally hit apply and now i cant access my site as it refers to www.com

how can i restore this?

KThackston
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 113
Joined: Sat Sep 06, 2008 11:31 pm

Re: SEO: Canonicalization

Post by KThackston » Fri Dec 18, 2009 2:39 am

I applied this and it seemed to work great, but then I realized it messed up my Virtuemart Shopping cart in IE. I can no longer add to cart. When I disable the plugin, the cart works.

If I want to do this in the .htaccess file directly, what is the code please? I cannot seem to get it right.

KThackston
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 113
Joined: Sat Sep 06, 2008 11:31 pm

Re: SEO: Canonicalization

Post by KThackston » Fri Dec 18, 2009 2:50 am

I found and added this code to my .htaccess page (using my own site name of course) But it still breaks the VirtueMart functions

########## Begin - Redirecting non-www request to www
#
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mysitee.com [NC]
RewriteRule (.*) http://www.mysite.com/$1 [L,R=301]
#
########## End - Redirecting non-www request to www

KThackston
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 113
Joined: Sat Sep 06, 2008 11:31 pm

Re: SEO: Canonicalization

Post by KThackston » Fri Dec 18, 2009 3:32 am

OK, never mind, I fixed it. Changing the code in the .htaccess page works great if you also change the livesite code in the config php. As for Virtuemart, be sure that the site in the admin page also has the exact same url as the redirect and the config file.

Everything works beautifully now.

KThackston
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 113
Joined: Sat Sep 06, 2008 11:31 pm

Re: SEO: Canonicalization

Post by KThackston » Fri Dec 18, 2009 3:34 am

elitesports wrote:I need help! I installed this and when i tried to configure it i put in "www" and accidentally hit apply and now i cant access my site as it refers to http://www.com

how can i restore this?
Oh and my best guess as to how to fix this is to go in through an FTP and delete the plugin from the plugin directory.


Locked

Return to “Under Review - Archived”