EzPublish Apache Auto Redirect modul not found pages to one static page

1 replies
  • WEB DESIGN
  • |
Hi to all!
I have one little bit complicated issue. On my site i have cars list for sale. URL for cars goes like:
mysite.com/cars/nameofcar1
mysite.com/cars/nameofcar2
mysite.com/cars/nameofcar3


When my nameofcar3 for example is sold out i erase car but link mysite.com/cars/nameofcar3 is now Module Not Found Page.


I want to make some module in Apache that will recognize my ModuleNotFound page for cars and all those pages in future to be redirected to some static page mysite.com/cars/SoldOutPage on which i would have some random text "Sorry this car is Sold Out" with link to my inventory list.


This look like the easiest way but if you have any other idea can you please point me in right direction.


Thanks in advance!
#apache #auto #ezpublish #found #modul #page #pages #redirect #static

Trending Topics