Canonical Issues
- mingming
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
6 years 11 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
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.
- Saka
- Offline
- Administrator
6 years 10 months ago #7917
by Saka
Emir Sakic
www.sakic.net
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.
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.
- mingming
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
6 years 10 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
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.