Files & Folders >> Virtual Pages
Deeeeeeee
the Americas
Re-doing an old site. I could go to WP or something but I'm not. Why? What I have is lean and pretty fast. No need for all the extra stuff WP offers. Anyway...
I have a few resources that list states. It actually has fifty folders with fifty index files and associated content files for each!
I want to virtualize. What's the best way for SEO?
htt p://example.com/states/New-Jersey
-or-
htt p://example.com/states/index.php?state=New-Jersey
Anyone have any links on how to do this with PHP and apache? A while back I asked about how to generate dynamic URLs in PHP, but I actually ended up already knowing how to do that, just didn't know the correct terminology for what i actually wnted to do and forgot all about it but today figured out what might be the right term, and it was.
I know ZenCart and WordPress and every CMS does this, and I see it's with ModRewrite in .htaccess.
P.S. I realize I have to include the correct content for each page via file or DB, it's the actual creation of a virtual page I don't get.
Comments
in index.php
and then just conditionally display all the different possible content and different meta settings using that one index.php file....
<br>
<br>
and there IS no "Tables" page to display?
<br>