Forum Moderators: phranque
I have a directory and the format is as follows:
cat - every state
domain.com/cat/arizona-widgets.htm
cat 2 every state
domain.com/cat/arizona-websites.htm
and so on for about 100 categories. So I need to change the variable after the "-" in each url so that I dont need to re-name all the files in each folder. What I wanted to do was put a htaccess file in each catregory with a rule stating to re-write widgets to websites, etc, and change the variables for each folder. Yet, all of them right now have "-widgets" but each folder is different than widgets, eg.. "-websites" or "-internets" etc. Does that make sense?
etc.
PS >> These are fictional directory structures to comply with the tos.