فتحات العرب Joomla! • Index page: Search Engine Optimization (Joomla! SEO) in Joomla! 1.5 • Re: How to fix duplicate page content canonical url

Thursday, January 29, 2015

Search Engine Optimization (Joomla! SEO) in Joomla! 1.5 • Re: How to fix duplicate page content canonical url

Ah, I see... another newfangled tag. I mainly launch sites or fix boo-boos, I don't run them.



When it comes to individual pages... I hope someday Joomla will have better URL control, but since it has always had terrible URL control, you can forget about an easy way from within Joomla's stock features, period.



I read the PHP script at the link you posted, @webzestyuk, and it looks safe enough, but it would only seem to handle com_content (articles and categories). @Jesslynalvin has a /vmchk/ folder in the URLs which I assume is VirtueMart. @Jesslynalvin, if that's true, you may have better luck with the VirtueMart community for help on controlling its URLs and inserting rel=canonical for its pages, specifically.



If/when that becomes a sad and frustrating joke, another option is to devise some way of using lower-level web server features - stuff that is probably built into your hosting account. For example, you could create a spreadsheet macro that turns a new product page URL, into a batch of .htaccess lines; that way, you could set canonical via Apache's mod_headers feature, instead of the HTML HEAD section. Your .htaccess file would grow long and would become a mission critical part of your website, but it runs faster. You would still need to disable Joomla's insertion of a canonical URL in the HTML.



I just noticed this is a J1.5 discussion... bowing out.

Statistics: Posted by NathanHawks — Thu Jan 29, 2015 4:13 pm








via Joomla! http://ift.tt/1JNUgPK

No comments:

Post a Comment