We have a revamped website which means a lot of orphaned incoming links from google and bookmarks etc which are creating 404 errors. So, have created a friendly 404 error landing page within the brochure using the main site template and put the relevant line in .htaccess to redirect to /acatalog/error404.html.
But... although the redirect serves up the correct page, none of the navigation links work nor does the css, clearly there is a path problem of some sort.
If instead we use the full url in .htaccess eg: http://www.tld.com/error404.html as suggested elsewhere in this forum (in spite of this not being the recommended Apache config) then the links and css work okay but the page gives a 302 response to crawlers which is not at all what we want as the old pages are obsolete.
Any ideas how to have to keep the error pages easy to maintain within the brochure and yet still serve the proper 404 response to crawlers?
But... although the redirect serves up the correct page, none of the navigation links work nor does the css, clearly there is a path problem of some sort.
If instead we use the full url in .htaccess eg: http://www.tld.com/error404.html as suggested elsewhere in this forum (in spite of this not being the recommended Apache config) then the links and css work okay but the page gives a 302 response to crawlers which is not at all what we want as the old pages are obsolete.
Any ideas how to have to keep the error pages easy to maintain within the brochure and yet still serve the proper 404 response to crawlers?
Comment