A new possibility has been added to CCV Shop to create your own 404 page. When a url refers to a non-existent product, the visitor is redirected by means of a 301 redirect to the search page. In this way, the customer always has an “image”. This is the standard operation in CCV Shop.
This can now be done better by using your own custom 404 page that the visitor sees when a url does not exist. When you enable the setting (Starting point / My web shop / Settings / General / SEO / Custom 404 page) you can select a modular page to be displayed as a 404 page. This can be any modular page, a contact page, a page with specific products. You can even capture this page in Protom by adding “sCurrentPage == 404” to give this page your own interpretation. If you use a modular page, we advise you not to include this 404 page in your menu and / or xml sitemap.
What is a 404 page?
A 404 page is named by the status code that the server returns to the browser when a url is not found. This status code is interesting for search engines so that the information can be updated with the search engines. A 404 page is a page that says that a product or page was not found.
404 pages and search engines
The default 404 page already returns a 404 header so that the search engine knows that this page does not exist, however the page is redirected from a <URL not found> to the <search page>. Not all search engines understand this. The custom 404 page has no redirect. The visitor / search engine stays on the <URL not found>, a 404 header is returned and the modular page is loaded.