Buying Need a MOD_Rewrite & .htaccess Guru

Discussion in 'Programming' started by nickharper, Mar 4, 2010.

  1. #1
    Right, the job is:

    I have a site which will sell motorbike parts.

    I want it so that it can be the following:

    domain/make/model/part-type

    Or if they go via a different way

    domain/biketype/make/model/part-type

    Everything is taken from a mySQL Database

    Please PM me if you can help and how much you will charge.

    Thanks
     
    Last edited: Mar 4, 2010
    nickharper, Mar 4, 2010 IP
  2. nickharper

    nickharper Active Member

    Messages:
    732
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    75
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Here is how I want it to work.

    When somebody goes to domainname.com/Suzuki/ it will show all of the models of bike made by suzuki, when somebody goes to domainname.com/Suzuki/GSXR650 it will go to the list of parts for that bike and then if they go to domainname.com/Suzuki/GSXR650/exhausts it will show them exhausts for the Suzuki GSXR 650.

    For example.....

    At the minute I currently use this in my htaccess.

    RewriteRule ^type/(.*)/ type.php?type=$1
    RewriteRule ^type/(.*) type.php?type=$1
    Code (markup):
    When somebody goes to domain/type/SuperBike it loads up type.php and gets everything from the superbike category.

    I need it so that domain/Suzuki will load make.php with everything suzuki, domainname.com/Suzuki/GSXR650/ will load bike.php with everything for the suzuki gsxr650.

    Thanks
     
    nickharper, Mar 5, 2010 IP