Canonical Url

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
2/16/2011 4:01:30 AM
Gravatar
Total Posts 31

Canonical Url

Hi, re the canonical url written on all pages in the head. On our site we have dynamic pages which use a .aspx template page. As we have SEO friendly urls for these the canonical link written causes us issues with google.  Is it possible for us to dynamically change the link written or completely remove it all together? Thanks so much.

2/16/2011 2:06:42 PM
Gravatar
Total Posts 18439

Re: Canonical Url

Hi,

It is not clear to me if you are even talking about mojoPortal.

CMS pages in mojoPortal already support SEO friendly urls and the canonical link automatically uses the same SEO friendly url. You can also override the canonical url on any CMS page in mojoPortal from page settings.

If you are talking about supporting pages in some custom feature you made yourself, mojoPortal is not putting any canonical link in your custom pages.

In any case I've added a setting in the code today in case anyone wants to disable the automatic adding of canonical links in the mojoPortal CMS pages.

So if you are working with the latest source code from our repository or after the next release of mojoPortal, you could add this to your user.config:

<add key="AutomaticallyAddCanonicalUrlToCmsPages" value="false" />

The default is of course true.

Hope it helps,

Joe

6/4/2011 2:20:00 AM
Gravatar
Total Posts 137
When enough isn't

Re: Canonical Url

Hi

If you disable the canonical urls in user.config it would be nice if you still could overwrite with a canonical url on specific pages. I tried to disable plus add the canonical url on domain/home.aspx, but it seems to be completely shut down then.

Can this be changed?

Best regards
Lars
Denmark

 

 

You must sign in to post in the forums. This thread is closed to new posts.