|
I "inherited" a site that is structured wrong and I think rewrite can handle it better, though I don't know how to do that part. I you can do this, shoot me a quote. I'd like to get it done soon. Here's the CURRENT setup:
mysite.com/index.html - this gets processed by:
mysite.com/index.php - it asks you choose a category, clicking returns a URL like:
mysite.com/beverages/index.html - this gets processed by:
mysite.com/beverages/index.php - it asks you to choose a state, clicking returns a URL like:
mysite.com/beverages/georgia/index.html - this gets processed by:
mysite.com/beverages/indexB.php - it gives a list of businesses. Clicking a link on one returns a URL like:
mysite.com/beverages/georgia/xyzcompany.html - this is processed by:
mysite.com/beverages/business.php
Since there are many categories but all the actual data comes from a mysql db, I think everything could all be done at the top level and I can get rid of all the subdirectories (they all just clones of each other... but a lot of them!)... however, I want to keep the URLs the same since the site is very well indexed.
I'm thinking the rewrites would send pages to:
/index.php
/category.php?cat=XX
/state.php?cat=XX&state=YY
/business.php?cat=XX&state=YY&business=ZZ
All I'm looking for is the rewrite to go in the htaccess. I can handle the php/db work. I will give access to the site for testing, but the layout is as described above.
If you can do this, how much would you charge? Please email me at gluedtothescreen @ gmail . com
Thanks.
|