Problems with migrated pages
Hi
I have a migrated page with url /general/publications/books/bk009 , when I try to navigate to the page using the url above it says page not found but I can navigate to the url using the .aspx extension in the url /general/publications/books/bk009.aspx
Thanks,
Annie
Hi,
At the moment all pages are extension - less by default. However if you for example migrate a 3.7 project to 5.0, the pages that exist in Sitefinity 3.7 will keep their extensions. However page extensions are forbidden for all pages ( in the Additional URL field ) but in our upcoming releases we will add the ability to have extensions for pages in the additional url field. Unfortunately in Sitefinity 5.0 there are no exposed properties which can be set to allow you to have an extension for newly created pages.
If you want to add extensions for your pages, you can workaround this by using a 3rd party url rewriter module (http://urlrewriter.net/ for example). If you use a rewriter, it should iterate over all the pages and for each additional url of a page generate a string like that:
<
rewrite
url
=
"~/additionalUrl1.aspx"
to
=
"~/yourUrl"
/>
<
rewrite
url
=
"~/additionalUrl2.aspx"
to
=
"~/yourUrl"
/>