Kentico CMS
I have created a custom 404 page to redirect to when someone hits a 404/page not found error.
And then in Site Manager > Settings > Content I have added the URL location for this custom page.
Now when I try to navigate to a page that doesnt exist in my site I still get the standard 404 Server Error page. Why is it not redirecting to my custom page?
Site Structure:
Site Manager > Settings Page:
If you're using extensionless urls (looks like it), have you changed the 404 settings within IIS? You need to map the 404 error to Kentico's handler, /cmspages/handler404.aspx.
IIS 7 Instructions.
IIS 6 Instructions
Related
I have a website in a server which is another plateform but I need a set up magento website in sub folder And the error says is :- This page isn’t workinge redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS
Please anyone help me on that.
Errors on setup and need to run the website.
I just uploaded TYPO3 (10.4.12) from my local to a server and its only reachable when not using www.
Without it the page loads fine, but when using www. it just shows a blank page. It uses the standard htaccess without any modification. Server Host says its TYPO3 settings. But I can't find this anywhere? How can I make it accessible with www.?
blank screen in an production setting means you have an error. look into the server log or switch temporarily to develop mode to identify the error.
I assume a wrong redirect in the domain configuration.
I have a project in Ionic 4, when I do ionic serve it runs at localhost:8100/
Now when it loads home page, the URL is localhost:8100/home, if I open contact page the URL becomes localhost:8100/contact.
When I try to copy the above URL and hit, then it says -
Sorry, this page doesn't exist. Please check the URL or go back a page.
What do I need to do to get this working?
Based on your comments this is happening because your server does not support fallback. So when you enter a url manually, the server is trying to find that page, but you only have index.html in your app because of Client side routing.
If the app uses the Angular router, you must configure the server to
return the application's host page (index.html) when asked for a file
that it does not have.
The configuration is specific to your server or cloud platform. You can check Angular deployment for more info.
This regularly should not happen and you can't do anything for this. Try to upgrade your ionic to the latest with nodejs since the error my be from currupted project creation. Then after update create a new project and it should go good.
I am running weblogic 9. When I enter an incorrect URL below the application root I redirect 404 request to a customized error page.
Eg. http://localhost:7001/myApp/non-existent redirects to my customised error page.
Is there a way to do this for all incorrect URLs entered, not necessarily below the application root?
Eg. http://localhost:7001/anything_non-existent should redirect to my customized error page, not the web-logic default one?
Thanks
The application's web.xml is where you define the error-page for <error-code>404</error-code>
http://localhost:7001/anything_non-existent is actually looking for a missing web application.
If you have a web server like Apache in front of Weblogic, that is the right place to trap this and redirect to 404.
I have ASP.Net MVC project. Plus wordpress blog under a subfolder "/Blog".
Now, when I access the URL www.domainname.com/Blog, I get the following error:
"The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map."
I guess the problem is because the Blog url is accessing a .php files (Wordpress) which MVC Routing handler does not understand.
Can you please help? What can be done?
Does your hosting support PHP? It does not look like a routing exception, more like a server config error.
I found the solution.
In my server admin (Plesk), I had an option to run php as CGI app, FastCGI or ISAPI Extension.
Earlier it was CGI app. So it did not work.
I set it to ISAPI Extension and it worked.
Thanks.