Canonical url in the forum

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/11/2013 1:54:16 AM
Nik
Gravatar
Total Posts 36
mojoportal.net.ua - Russian community of mojoportal

Canonical url in the forum

Good day.

If open html code of the any post (like this https://www.mojoportal.com/Forums/Thread.aspx?pageid=5&t=11945~1) you'll see canonical url http://www.mojoportal.com/Forums/Thread.aspx?pageid=5&t=11945~-1

But if you'll go to this url, system redirect's to http://www.mojoportal.com/forums

Some Search Engines don't see content of the forum. 

8/11/2013 10:56:57 AM
Gravatar
Total Posts 18439

Re: Canonical url in the forum

Hi,

I don't believe that is true. Within html markup ampersands in url parameters must be encoded like ?pageid=x&mid=y but when you click a link in the browser they get decoded like ?pageid=x&mid=y

So if you copy and paste a formatted url with parameters from source view, the encoding will not be correctly decoded therefore the url is not correct.

Cannonical links are not used by end users and not visible to click in the web browser but they must be encoded the same as any other link and search crawlers can click/follow them correctly. If they are not correctly encoded then you will get validation errors from the w3c validator.

My webmaster tools from google show no problems with my cannonical urls on this site.

For example if you look at the forum bread crumb for "Report Bugs" in this page, if you right click it and choose inspect element the browser will show it without encoding of the second url parameter, but if you right click the page and view source you will see it is encoded and clicking it works in the web browser but if you copy and paste the encoded url into the browser navigation it does not work because it wasn't decoded like it would be if clicking the html link.

Hope that helps,

Joe

8/12/2013 3:13:53 AM
Nik
Gravatar
Total Posts 36
mojoportal.net.ua - Russian community of mojoportal

Re: Canonical url in the forum

Thanks for answer. All clear.

I haven't problems with Google. But I have some problems with Yandex.ru. It's realy popular search site in russian-speakers countries (in some countries more popular than Google).

In the Yandex's index hasn't forum's page of mojoportal.com.

I understand that it isn't important for world, but it's important for our contries (Russia, Ukrain, Belarussia ...).

Ok. It's a lyric. I will try to decide this problem. Maybe somebody found answer.

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