Additional URLs on Pages Return 404

Posted by Community Admin on 04-Aug-2018 11:07

Additional URLs on Pages Return 404

All Replies

Posted by Community Admin on 09-Sep-2015 00:00

 Hello,

 

We are maintaining a Sitefinity 6.0 website. There are pages from 2013 which have several additional URLs that return 404 - File or directory not found. If I add a new additional URL to the page it redirects to the original URL correctly. Furthermore I am not able to delete old URLs. What these pages have in common is that they have children which are all Group pages.

 

Here is a temporary solution I have found. I have page A, which has children B and C. I create a copy of A called D. Then I change B and C's parent to D, delete A and add additional URLs to D - the same as the ones that A used to have. This however does not prevent further issues of that type. I wish to know the reason for redirection to fail and how it could be prevented.

Thanks in advance!

Posted by Community Admin on 14-Sep-2015 00:00

Hi,

I am unable to reproduce this issue. Can you please elaborate further on the structure of the pages and the additional URLs they have. Are the pages you are setting the additional URLs to under a parent page or are on the root level? Do the child pages have additional URLs as well?

Regards,
Velizar Bishurov
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 14-Sep-2015 00:00

Hi,

 

"Mellemlange videregående uddannelser" is at root level and has the following URL:

/mellemlange-videregående-uddannelser

"Allow multiple URLs for this page" is checked for this page.  All additional URLs redirect to the default one:
kopitilundervisning.dk/mellemlange-videregående-uddannelser

Here are the Additional URLs:
~/mvu
~/mellemlange
~/ucn
~/new-alias

All but "~/new-alias" return 404. You can test that yourself.

 

This page has a group page child called "Guide til reglerne for kopiering" and its URL is:

/mellemlange-videregående-uddannelser/guide-til-reglerne-for-kopiering

Additional URL:
~/mellemlange-videregående-uddannelser/om-reglerne-for-kopiering

 

The group page has a child "Hvad og hvor meget må du kopiere?" with URL:

/mellemlange-videregående-uddannelser/guide-til-reglerne-for-kopiering/ hvad-og-hvor-meget-må-du-kopiere-
Additional URL:
~/mellemlange-videregående-uddannelser/guide-til-reglerne-for-kopiering/test

 

You can see yourself that all additional URLs redirect to the original URLs except for the old additional URLs of the root page.

 

Greetings,

Vasya

Posted by Community Admin on 15-Sep-2015 00:00

Hello,

 

We found the reason for the issue. We have added Danish to the website and have made it the default language. When an additional URL is added to a page in Danish it is added to the [sf_url_data] table with culture 6. However the old additional URLs had culture 127. We changed the culture to 6 where the culture was 127. The old additional URLs started working. This is a bug in Sitefinity 6.0. I am not aware if it is fixed in newer versions.

Regards,
Vasya

This thread is closed