Seo - Force error 404 page message for non canonical urls

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Locked
Mich-adg
Forum Members
Forum Members
Posts: 199
Joined: Sat Aug 02, 2008 9:08 pm

Seo - Force error 404 page message for non canonical urls

Post by Mich-adg »

Hi,

for a seo purpose, is it a way to force all urls that are not canonical to display an "page not found - 404" message?


Thx !
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3483
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Seo - Force error 404 page message for non canonical url

Post by velden »

I think so, but at the same time I guess it won't improve SEO.

Just implement canonical meta tags https://support.google.com/webmasters/a ... 9066?hl=en
Mich-adg
Forum Members
Forum Members
Posts: 199
Joined: Sat Aug 02, 2008 9:08 pm

Re: Seo - Force error 404 page message for non canonical url

Post by Mich-adg »

Thanks, i already have the meta canonical in each page / article of my site. Even with the meta canonical in place, many Seo specialistes says that we must display error 404 page when we try to modify an url. Actually you can modify an url (ex = adding "mytextefromnowhere" on an url http://www.mysite.com/mytextfromnowhere ... alias.html still displays the page ! Ok the canonical show the good url in the code, but this shouldn't be possible).
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1921
Joined: Mon Jan 29, 2007 4:47 pm

Re: Seo - Force error 404 page message for non canonical url

Post by Jo Morg »

The SEO specialists saying that are wrong. All Content Management Systems have several entry points to the same page: it's specific to the way they work and it's a good thing. All search engines account for that and only honor the canonical, that's part of the way this works.
Forcing a 404 makes no sense at all.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1609
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Seo - Force error 404 page message for non canonical url

Post by DIGI3 »

You could do silly hacks to try to redirect to a 404 page, but that won't stop bots from seeing the page first. There may be other tricks you could do to show a noindex or something if the visited url doesn't match the canonical, but all of this is already handled by the canonical tag. Multiple entry points do not hurt SEO if you use canonical correctly. Period.
Not getting the answer you need? CMSMS support options
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Seo - Force error 404 page message for non canonical url

Post by Dr.CSS »

Where would these non canonical URLs be coming from, certainly not from a search engine as all they do is index the links on a web site, now if you are getting bad links from search engines then I would worry about a 404 page...

Anybody can type URLs that lead nowhere or add nonsense to an existing URL but that has nothing to do with SEO...
Locked

Return to “The Lounge”