Jump to content
LauraPresta

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..

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More