mod rewrite for subdirectory
I have a static site (design done already) and need to do the following:
for state listings
example.com/marketing/new-york.html - it lists the cities in New York that offer marketing
(bronx, brooklyn, queens, buffalo, long-island..etc)
their domain will be example.com/marketing/new-york/brooklyn.html
It will be this way for other states too,
example.com/marketing/florida.html
example.com/marketing/florida/tampa.html
so what is the proper htacess mod rewrite for this
to appear as example.com/marketing/new-york
example.com/marketing/new-york/brooklyn/
When I did it, I just got errors because of conflicting pages...a new-york state page, and then a new-york, they just did not display at all or I got big time errors so I conceded on 1 site and don't want to do the same with a new site going up.
Thanks
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."