This question is a tough question to describe, best way to ask it is to tell you what I am doing now and ask if there is an easier way to accomplish the same thing.
I have a lot of city pages for my site similar to this folder structure:
example.com/colorado/denver.cfm
What I have been doing is to create a template called template-city.cfm that gets included in to each city page such as denver.cfm.
So basically denver.cfm is just a tiny shell file and the real guts of the page is located in the template-city.cfm, so the thought is that I only have to change the template-city.cfm once and all the others pages like denver.cfm get updated at once.
But in order to do this I had to create tons of city pages within each state (which I automated with CFfile) but a red flag is going off in my brain telling me this is the wrong way to do it.
Is there some virtual way to create these city pages and even state folders?
I have a lot of city pages for my site similar to this folder structure:
example.com/colorado/denver.cfm
What I have been doing is to create a template called template-city.cfm that gets included in to each city page such as denver.cfm.
So basically denver.cfm is just a tiny shell file and the real guts of the page is located in the template-city.cfm, so the thought is that I only have to change the template-city.cfm once and all the others pages like denver.cfm get updated at once.
But in order to do this I had to create tons of city pages within each state (which I automated with CFfile) but a red flag is going off in my brain telling me this is the wrong way to do it.
Is there some virtual way to create these city pages and even state folders?