Developer forum

Forum » Ecommerce - Standard features » Product 404 redirect

Product 404 redirect

Mikkel Belchuke
Mikkel Belchuke
Reply

Hi.

We're trying to redirect a product that returns 404, to another url (a new product url). Though we setup the redirect in the administration settings, it does not seem to get to that redirect. 

It seems like the product 404 is overueling the redirect. 


Replies

 
Nicolai Pedersen
Reply

Yes, it does. You can rename the product url so it will not be handled by the product 404 handler, but the solution 404 handler.

It probably gives 404 because the language is wrong or it comes from another shop that the website is displaying.

 
Mikkel Belchuke
Mikkel Belchuke
Reply

It would be great if, before every 404 it should check a method to see if there is a direct path in the redirect tool like:

If(404-page == true){

   CheckRedirectMethod()

}else{

 Do404()

}

That way, you would gather all redirect information one place

 

 
Nicolai Pedersen
Reply

Well, could do that - but there are implications. This will only happen when something is 'misconfigured' and doing what you suggest could give us other issues...

 
Mikkel Belchuke
Mikkel Belchuke
Reply

I don't understand how this could give any issues. 

If there is no direct path in the redirect tool, it will continue on its journey to show the 404 page. (Bear in mind, that I changed my previous post to say "Do404" instead of "DoRedirect").

 

 

You must be logged in to post in the forum