hi there, I need that when user input
mysite.com/ponuka/AAA2869
it shows
mysite.com/ukaz.php?ponuka=AAA2869
because of facebook likes, and I found out that this is set up as rewrite rule in .htaccess file? how to achieve it?
thank you...
---------- Post updated at 04:47 AM ---------- Previous update was at 03:34 AM ----------
ok I got it:
PHP Code:
RewriteEngine On
RewriteRule ^ponuka/([^/]*)\.html$ /ukaz.php?ponuka=$1 [L]
using generateit net /mod-rewrite/
Moderator's Comments:
|
|
edit by bakunin: glad you figured it out and many thanks for the posted follow-up. Changed the title to "SOLVED".
|
|