I created a page (node/9) and have path and pathauto installed. The path I gave it is sitename.com/myfrontpage and that works fine. When I view the source, I see that the canonical link is pointing to /node which doesn't have any content. I noticed that /node was being indexed by Google, so I set up an alias to point /node to /myfrontpage while I investigated. I was using Global Redirect, and I thought that might be the issue. I have since disabled the module and cleared my caches, but the canonical link still remains to the unused /node page. I took a guess about the component that this belongs to, but I'm really not sure. The lines above the problem line contain other meta tags, and since I don't have any other metadata or microdata modules installed, I am guessing this is an RDF issue.
JP
Comments
Comment #1
scor commentedI doubt this is rdf.module related, as rdf.module does not deal with the value of rel="canonical". First let's find out if this is due to a contrib module. What value do you have exactly in your URL alias when you edit your node with all contrib module disabled? (especially pathauto). Is it
myfrontpageorsitename.com/myfrontpage?Comment #2
Seven_Six_Two commentedI disabled Pathauto, subpathauto, and global redirect. The path when I edit my custom front-page is http://mysite.com/node/9/edit and the URL alias is set to "myfrontpage" without any slashes, because the info says to use a relative path without trailing slashes.
I checked the rel link, and it is set to what it should be now. I reenabled the modules, and can't reproduce the problem.
I closed the issue.
Thanks!