Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26310

Rule to find the paramater after the last dash

$
0
0

My current URL's look like this:

/for-sale/city/address/gp-6225-1015

where 1015 is the ID in the database. Now I need a rewrite rule so my new URL's will look like this:

/for-sale/city/address/1015

The problem is that the part before the id (eg. gp-6225-) is different for every URL. But the length is allways eight characters.

Can anyone help?


Viewing all articles
Browse latest Browse all 26310

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>