Forum Moderators: coopster
Currently when you search for widgets by state for say it all comes back to one page "browse.php"
I want to create pages, that, Are static result pages such as "arizona.php" etc... that display the widget listings for that state, Is there any way to make these? With content that updates along with the database, or do I have to manually update it?
If you need any thing clarified just ask.
Donny
this will involve making a file named .htaccess that contains the rules
example:
if the user types in site.com/arizona.php send them to site.com/browse.php?state=arizona
if the user types in site.com/colorado.php send them to site.com/browse.php?state=colorado
RewriteEngine on
RewriteRule %{REQUEST_URI}!^browse.php
RewriteRule (.*).php browse.php?state=$1