Please help me with the next problem (question).
For example I have the following page http://domain/example.php?x=abc&y=1234 which shows the information from a table from the DB that has the row ID 1234
How can I make it in such a way that when the visitor writes in the address bar http://domain/1234 or http://domain/1234/ he/she would see the information that is now shown in http://domain/example.php?x=abc&y=1234
I mean, I would need 1234 to look like a folder.
Any suggestions? Thanks.
If you using Apache webserver, use mod_rewrite. I'm sure there are tutorials on the Web explaining how.
I'm not familiar with Apache's mod_rewrite. Can you please help me write a rule (RewriteRule) that would solve my problem.
Thanks.
Hi,
RewriteEngine on
when I try http://domain/1234 it works fine but when http://domain/1234/ it's not showing the images. Do you know why is this?