How are pages or files not found handled on the mobile version of the site?
if someone tries to visit a page or item that is not on the site, their browser will continue to redirect them to domain/mobile/mobile/mobile/... until the browser stops because too many redirects occurred or the page/ site throws an error " The length of the URL for this request exceeds the configured maxUrlLength value.".
Something is causing the repeated redirect and we would like to disable it and send visitors to either the home page or the custom error page.
Handeling page/items not found on Mobile site
Re: Handeling page/items not found on Mobile site
Can you tell me which version of AbleCommerce you are using?
Katie
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Handeling page/items not found on Mobile site
AbleCommerce Gold build 5731
Version 7.0.8.5731
Version 7.0.8.5731
Re: Handeling page/items not found on Mobile site
I loaded up my R5 version, and turned on the mobile store. Then, I typed in a URL that I knew would give me a 404, and it did. So, then I modified the web.config like this -
I reloaded the page, and now I see a friendly version of the error by way of PageNotFound.aspx. You can probably have it redirect to the home page, by changing the page reference.
Let us know if this solves the issue please.
Katie
Code: Select all
<customErrors mode="On" defaultRedirect="~/Errors/GeneralError.aspx">
<error statusCode="404" redirect="~/Errors/PageNotFound.aspx"/>
</customErrors>
Let us know if this solves the issue please.
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Handeling page/items not found on Mobile site
We do have the custom errors set