Hi,
Preconditions :)
- EPiServer CMS 5 SP1 with Hotfix 1
- page url: www.mysite.com/test/test1
First case:
On one of the pages I'm trying to do something like this:
- set this page property "Simple address for this page" with value: dominik = so I'm expecting that my page will be visible with url: www.mysite.com/dominik
- set property "External link" to point to http://www.episerver.com
When I'm opening in browser url www.mysite.com/test/test1 everything is ok and I'm redirected to http://www.episerver.com
But when I try to open www.mysite.com/dominik main page of my site is shown (instead of http://www.episerver.com)
Second case:
I'm doing everything exactly the same like in first case beside one thing. I'm setting "External link" to: http://www.myothersite.com/is/templates/ForhandlerWebStart.aspx?id=4201
And again, when I'm pointing browser to site www.mysite.com/test/test1 I'm redirected to www.myothersite.......,
But this time when I'm opening url www.mysite.com/dominik I'm getting exception:
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /is/templates/ForhandlerWebStart.aspx
I have checked similar scenario in EPiServer 4.61 and it is working there. Does it mean that this is bug in CMS 5 or maybe I'm doing something wrong?
Thank you in advance for any help.
Best regards,
Dominik
I have tested this on my CMS 5 SP1 site, and there is something fishy going on here. It does not work as expected.
Scenario 1 is a little different:
1. Create a page (I created http://localhost/en/Demonstration1/Will-Redirect/)
2. On "Shortcut/External Link", select "Link to page on another web site"
3. Enter "http://www.episerver.com"
4. In menus and search results, the link points directly to http://www.episerver.com
5. If you try to enter the url directly in the address field in the browser, you will get an 404 error.
This is wrong (I consider it a bug.) You should be redirected to http://www.episerver.com. If the external url is removed, the page works.
If I add a simple address to the page too, I also get redirected to the start page.
You should report this to support (better you than me :-))
/Steve