0

My website creates urls like the following: /index.php?placeid=27

I want to be able to change the url to display the place name, so something like: /southampton

where the placename is another database field displayed on the content of each page. I guess this requires some php and .htaccess solution which puts a variable into the url, but I can't seem to work this out from any similar questions on here. Thanks.

Pete_E
  • 13
  • 2
  • You can try using [RewriteMap](http://httpd.apache.org/docs/2.4/rewrite/rewritemap.html). – Mike Rockétt May 02 '15 at 15:55
  • possible duplicate of [How to redirect to dynamic content with .htaccess](http://stackoverflow.com/questions/24473705/how-to-redirect-to-dynamic-content-with-htaccess) – Sumurai8 May 02 '15 at 18:49

0 Answers0