prefix a friendly url using mod rewrite in htaccess
Is it possible to prefix a htaccess rewrite rule
for example can a variable be used as a prefix to a url
website.com/$variable-for-sale/
/cupcakes-for-sale/
/pies-for-sale/
/flans-for-sale/
The idea is to then use that variable to display all the
cupcakes/pies/flans for sale
How would this be written as a rewrite rule? Is it even possible?
Thanks
No comments:
Post a Comment