Syntax for canonical tag for a default page in a sub directory (not subdomain) of a web site?
-
I'm getting two "no canonical tag" errors for the default page of a sub-directory default page (www and root) - again NOT a subdomain.
Since the page is not the root of its own site, I tagged it as --
I have tried without the default.asp, but the error remains. Been doing this for 24 years and don't remember running across this before.
-
Hey there,
Thanks so much for reaching out - Sam from Moz's Help Team here!
Could you please pop a message about this over to help@moz.com, along with the affected campaign name, so we can take a closer look into this for you?
Looking forward to hearing from you!
-
What I ended up doing is just changing the page name from default.asp to "fedex-routes-forSale.asp", changing the navigation links and setting an .asp code page to redirect. Effectively skirting the default page canonical syntax conundrum.
This also cleared up the duplicate content issue as well - default vs root - www vs root. etc.
I'm still curious as to the dynamics of this issue, but opted for a nice, tidy PDF for my client, with all issues solved.
-
RE:
Changed page name, etc - still get a "missing canonical tag" error. At this point, I could be wrong, but I am convinced there's hidden problem, or a bug in the system.
No more posts here, I emailed help@moz.com