Arbejdsglæde
Arbejdsglæde

Reputation: 14098

Umbraco Alternative Links doesn't work

Hello I created some page in Umbraco 4.7 CMS, configure some alternative links to page(section) it looks like. If I look at

Link to document /folder/folder2/page1.aspx - workig

Alternative Links

  1. http://site.com/folder/folder2/page1.aspx - workig
  2. http://site.com/en/folder/folder2/page1.aspx - not working
  3. http://site.com/old-folder/folder2/page1.aspx - not working

but in browser just /folder/folder2/page1.aspx show a valid page other links redirect users to 404 page that configured in umbraco config file.

Upvotes: 1

Views: 1979

Answers (2)

ProNotion
ProNotion

Reputation: 3692

An alternative option would be to use the umbracoUrlAlias document type property.

Upvotes: 1

ProNotion
ProNotion

Reputation: 3692

Have you considered using the UrlRewriting module to get this working. You could add a new rule similar to the following:

<add name="page1rewrite"
                virtualUrl="^~/en/folder/folder2/page1.aspx"
                rewriteUrlParameter="ExcludeFromClientQueryString"
                destinationUrl="~/folder/folder2/page2.aspx"
                ignoreCase="true" />

This could be further improved depending on your exact requirements but you could it you wanted rewrite all urls ~/en/folder/folder2/ to the new location.

Upvotes: 1

Related Questions