directory name change and url - 500 error

Kristopher Maier asked on August 16, 2017 20:27

I am trying to figure out how I can forward a directory that has had a name change.

i.e. www.mydomain.com/chinese/basics.aspx to www.mydomain.com/zh/basics.aspx

My issue is that I am getting a 500 error with the old directory name.

thanks for any direction!

Recent Answers


Brenden Kehren answered on August 16, 2017 20:45

On the /zh/basics.aspx page add a URL alias with the /chinese/basics.aspx value to it. This will allow that URL to be available under the /zh directory.

0 votesVote for this answer Mark as a Correct answer

Kristopher Maier answered on August 16, 2017 20:58 (last edited on August 16, 2017 21:19)

I have that in place but I am still getting the error. It's very strange, my other translated sites are working as you described.

0 votesVote for this answer Mark as a Correct answer

Kristopher Maier answered on August 16, 2017 22:06

I changed the URL back to the "chinese" directory and even though under the General tab it shows the correct URL I still get a 500 error with "chinese" in the URL. When I switch back to "zh" it works fine.

Any idea what could be causing this?

0 votesVote for this answer Mark as a Correct answer

Suneel Jhangiani answered on August 17, 2017 14:18

I think this is down to Localization although I am a bit surprised as I would have thought Kentico would use zh-CN since Kentico uses a full culture code. Perhaps you have some other customization working with culture codes?

Since the error code is 500 is anything in the Kentico Event Log or IIS Event Log?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.