Canonical Issues

6 years 4 months ago #7901 by mingming
Hello,

I'm a satisfied user for many years. Now I'm facing an issue I need help for.

If I add canoncial via SEF Advance the Canonical is relative (eg /page1.html). Users can access my site via subdomains (eg. bug.website.com/page1.html). Could you please add the website ( www.website.com ) to the Canonical? Otherwise it tells Google that the subdomain would also be ok to get indexed. Otherwise: do you know how to prevent to access via subdomain? I don't use any subdomain on my site but the server allows.

Second problem: my structure is /category.html. If a user accesses /category/ instead of .html the canonical shows /category/ ! Insted of a redirect or a true canonical to /category.html.

How to fix that?

Regards

Please Log in or Create an account to join the conversation.

6 years 3 months ago #7917 by Saka
Hello,

I think it would be best to block access through subdomain with .htaccess, otherwise you may end up with other unwanted issues like penalties for duplicate content, decreased PR etc.

Second one could also be solved with .htaccess, if you don't have many categories you could add them as redirects quickly.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

6 years 3 months ago #7918 by mingming
Hi Emir,

thanks for your answer.

1) Subdomains: Do you know how which .htaccess code would solve that subdomain problem?

2) Categories: Unfortunately I have more than 200 categories so it would be better to have a solution via SEF Advance. Also for other customers.

Regards,
Marcel

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch