Jump to content

Advanced url rewrinting while creating a blog or forum module


Recommended Posts

Hello guys,

I check in a old prestashop blog module that classic technic was used for url rewriting, for exemple :

http://www.notre-site.com/articles/article.php?id=12&page=2&rubrique=5 will redirect to    http://www.notre-site.com/articles/article-12-2-5.html

using .htaccess as following : RewriteRule ^article-([0-9]+)-([0-9]+).html$ /articles/article.php?id=$1&rubrique=$2 [L]

(but this needs to ask the user to modify manually .htaccess ?)

But today i check new modules that don't use this technic but.. how they do without .htaccess tips ? 😮 i can't figure it out..

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...