Need some to create RewriteRule for me

Discussion in 'Programming' started by gluedtothescreen, Feb 27, 2008.

  1. #1
    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.

    If you can do this, how much would you charge? Please send me a PM.

    Thanks.
     
    gluedtothescreen, Feb 27, 2008 IP
  2. milanmk

    milanmk Well-Known Member

    Messages:
    115
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    103
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    PM sent for details.
     
    milanmk, Feb 27, 2008 IP
  3. lapitalis

    lapitalis Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    I can do it.
    PM or skype: lapitalis for details
     
    lapitalis, Feb 28, 2008 IP