petz_e — 2012-10-17T03:38:17-04:00 — #1
I don't really know where to ask this question, but maybe this can be also achieved with PHP, so I am asking it here.
Currently my URLs and links look as follows: www.domain.com/gallery.php?image=3038
How can I change these to: www.domain.com/gallery/3038 ? How is this called, as I don't even know for what to look on the Internet? I remember that I once saw someone doing this with redirects, but doesn't this add then an additional request to the server?
logic_earth — 2012-10-17T04:15:18-04:00 — #2
URL Rewrite, search the web lots of references.
ralphm — 2012-10-17T04:42:23-04:00 — #3
Yes, URL rewriting. We have a sticky thread at the top of this Server Configuration, Apache & URL Rewriting forum, which gives a nice intro to it as well. [Thread moved to that forum.]
petz_e — 2012-10-17T05:14:54-04:00 — #4
Ok, thank you a lot.