Jump to content

[SOLVED] Directory Type URL Rewrite ?


amwd07

Recommended Posts

I must be doing something wrong, I can't get this to work?

 

Options +FollowSymLinks

RewriteEngine on

RewriteRule dining/town/(.*)\.php$ dining.php?town=$1

 

I am trying to re-write the URL below

dining.php?county=shropshire&town=telford

 

to:

/dining/shropshire-telford.php

 

Please can someone help me out with the htaccess rule ?

Link to comment
https://forums.phpfreaks.com/topic/80713-solved-directory-type-url-rewrite/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.