mercredi 27 avril 2016

.htaccess - Redirect all .html capture the ID

I am facing the following problem:

I have a website in which the URLS currently look like:

/manufacturer/product/[ID].html

I have re-developed the website (Using Laravel) and now it just is:

/product/[ID]

I am wondering whether it is possible to use a .htaccess file to redirect all these links back to the new link? So, in essence, I would need to just capture the [ID] from the old link and redirect it back to the new link.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1VSe6Te
via IFTTT

Aucun commentaire:

Enregistrer un commentaire