November Happy Hour will be moved to Thursday December 5th.

Links in editor loses the friendly url

Vote:
 

Hi!

We are about to release a new web on CMS9.4 and have encountered a problem regarding links in editor. We find links that looks like this:

https://www.domain.se/link/a32f1ac62d4646f8a8a7b04cd8cc586c.aspx instead of https://www.domain.se/something/something-else/

It doesn't matter if i delete the link and redo the linking in the editor. Any idéas?

Regards,
Anders

#144083
Feb 05, 2016 11:05
Vote:
 

Thats an internal url so it should be stored like that in editor. Is the same link displayed to end user? Episerver should normally transform those to external links when rendering field to user

#144087
Feb 05, 2016 12:26
Vote:
 

Yes, in some cases it displays the internal link to end user. We have an editor-block and some of them contains the faulty urls. I then have to delete the block and create a new one. I can copy the content, and even the link from the old and then it works. Can it have happened when we upgraded the cms from 9 to 9.4?

#144101
Feb 05, 2016 17:55
Vote:
 

Checked sitesettings in admin and the domain name there?

#144102
Feb 05, 2016 18:38
Vote:
 

Done any custom routing?

#144103
Feb 05, 2016 18:47
Vote:
 

Yes sitesettings are ok. No custom routing done!

#144289
Feb 10, 2016 15:50
Vote:
 

Exported content from another site which breaks internal links if not all targets are exported as well? Like a staging environment or similar... 

#144291
Feb 10, 2016 15:54
Vote:
 

No, we have not. It shows upp randomly on editors and editor-blocks. To get rid of it we have to throw away the page or the block an recreate it. In some cases that does not work either.

#144295
Feb 10, 2016 16:15
Vote:
 

Did you switch to https at the same time?

#144296
Feb 10, 2016 16:23
Vote:
 

We switch to https on our new site, yes. But we have that configured in sitesettings in admin and the domain name there. And this problem does occur when we create a block and links internally within our new webb on the new server.

#144297
Feb 10, 2016 16:41
Vote:
 

Got anything special in tinymce editor that might mess up parsing the html? Or does it occur even if you are just using simple paragraphs?

Checked logs for errors?

#144302
Feb 10, 2016 17:18
Vote:
 

Can you try feeding the internal url directly to the UrlResolver and see if it returns a friendly url in code? If it does, you know routing works, then it's a parsing problem most likely or vice versa.

#144306
Feb 10, 2016 17:22
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.