SaaS CMS has officially launched! Learn more now.

External links to internal pages with query string parameters no longer works


In CMS7 I was able to enter links with query string parameters and/or bookmarks in URL properties that points to pages in our CMS. These links are converted to internal links by EPiServer after upgrading to CMS 7.13, and therefore the querystring parameters and bookmarks are stripped away.

Example on "http://mysite/":
In a Url property I'm creating an external link to http://mysite/?parameter=value
When saving this Url property EPiServer sees this as an internal link to my start page, and converts it on the fly, stripping away the query string parameters with it.

Is there a way to stop or change this behavior? I have several Url properties on my upgraded (from CMS7) site where editors have created "deep" links with bookmarks and others where query string parameters are used, so this is a seriously breaking change for us.

Tarjei Olsen

Aug 26, 2014 10:24

This bug should have been fixed. Are you experiencing this with the latest packages?

Aug 26, 2014 10:35

Yes, as far as I can tell it’s the newest:


I originally got the error reported from our customer on CMS version 7.13, and upgraded today to 1.13.1. Still same problem.

Aug 26, 2014 10:49

This should be supported but I found out that the fix I heard about was a related issue. I have created a bug repor to address this:

Bug #116931: It's not possible to add an external link pointing to a local content with additional query string parameter
Aug 26, 2014 11:58

Is there a publicly visible URL where I can follow the liftecycle of this bug? The link you posted seems to point to some internal Team Foundation Server. I also tried to Find it (geddit?) on, but it isn't there yet.

Thanks for the quick replies – very much appreciated!

Aug 26, 2014 12:34

Linus, does this include to be able to create links like this:

where the url is to a local route that is not a simple address for a page?

For example we this for our search-page where if you write


You search for all jobs and that is not a page, just routing

Aug 26, 2014 12:36

@Tarjei: The bug will appear in the bug list on World once it's been triaged and made public by the dev team that's responsible for the area.

@Henrik: It's actually possible to do it today, but the format you enter needs to be absolute, for instance I have added another bug today to investigate if we can make it possible to enter relative links in the UI:

Bug #116910: Exception is thrown when adding a relative link

Aug 26, 2014 12:41

Thanks Linus.
Relative is better when moving between test/producation/development.

Aug 26, 2014 12:42

It finally working with @Url.ContentUrl(Model.Link) and both with querystring and with hash (#) url's :-)

Edited, Nov 20, 2014 18:06
* 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.