API Questions on Kentico API.
Version 6.x > API > Pages open only when extension is added in url View modes: 
User avatar
Member
Member
divyesh patel - 10/29/2013 4:10:52 AM
   
Pages open only when extension is added in url
We have our site on kentico CMS 6.0. When we try to access any url then it dosn't open directly with the alias name. We get error or page not found. When we add .aspx extension to the page name in the url then the page opens correctly. Our site is hosted on IIS 6.

For example if we write www.test.com/home then we get error of page not found but when we add .aspx and access like www.test.com/home.aspx then page opens correctly.

for solving this issue i apply following Code

We added <modules runAllManagedModulesForAllRequests="true"> in web.config file,
We added /kenticocms/cmspages/handler404.aspx in IIS 6.0 in 404 and 405 custom errors,
we also added -> site manager >> URL and SEO >> Friendly URL extensions >> .aspx;;
and
site manager >> URL and SEO >> File Friendly URL extensions >> .aspx;;
but still pages having no extension in url i.e. product name in url, are going to "page not found" and page is repetitively adding pagenotfound to url i.e. circular loading of page not found is happening infinitely.

For example if we go to "www.abc.com/ProductName-A" then it shows "www.abc.com/PageNotFound?aspxerrorpath=/PageNotFound?aspxerrorpath........" in a loop as if page is called in circular manner.

User avatar
Member
Member
divyesh patel - 10/31/2013 12:31:37 AM
   
RE:Pages open only when extension is added in url
Hi Guys


I need your help its really urgent for me .....

If any body have any solution then please let me know or if any one can have any idea like this error is from server or CMS or any other configuration/setting needs to be change then Please let me know in prior.

Thanks in Advanced,
Divyesh Patel

User avatar
Member
Member
divyesh patel - 12/6/2013 6:45:21 AM
   
RE:Pages open only when extension is added in url
Hi all

This issue is still persist in my website so any one have solution for this then please help me out for the issue it is urgent for me...

i found still the same error

For example if we go to "www.abc.com/ProductName-A" then it shows "www.abc.com/PageNotFound?aspxerrorpath=/PageNotFound?aspxerrorpath........"


Thanks & Regards
Divyesh Patel

User avatar
Kentico Support
Kentico Support
kentico_janh - 12/6/2013 6:51:43 AM
   
RE:Pages open only when extension is added in url
Hello,

To be able to access URLs without an extension, you need to configure extension-less URLs:

http://devnet.kentico.com/docs/6_0/devguide/index.html?configuration_of_extensionless_urls.htm

Best regards,
Jan Hermann

User avatar
Member
Member
divyesh patel - 12/6/2013 7:26:52 AM
   
RE:Pages open only when extension is added in url
Hi janh

Thanks for replay

i am using Kentico 6.0 and iis 6 is there.

i was tried

http://devnet.kentico.com/docs/6_0 devguideindex.html?configuration_of_extensionless_urls.htm

for resolved the issue but it is not work for me

also i made some changes in CMSSitemanager >> Settings >> URL & SEO >> Friendly URL extensions : .aspx;; and Files friendly URL extension : .aspx

can you please guide me for other solutions its urgent for me

Thanks
Divyesh Patel


User avatar
Kentico Support
Kentico Support
kentico_janh - 12/11/2013 5:49:01 AM
   
RE:Pages open only when extension is added in url
Hello,

Are you getting same error when you are logged in as global administrator? Do you have any special permissions applied for your documents?

Best regards,
Jan Hermann