Mod Rewrite not working on all links? -PHP

Discussion in 'PHP' started by timallard, Sep 3, 2007.

  1. #1
    Hello,

    IM currently using PHPLD on one of my directories and it seems to be working fine,..but to a point.

    if you take a look at my homepage I have the hierarchy set up as follows. I think its a problem in my php code but have no idea where to start.

    URL for reference. http://www.mydentify.com

    CATEGORY <---- www.mydentify.com/business
    SUBCAT1 <---- www.mydentify.com/business/financial
    SUBCAT2 <---- www.mydentify.com/business/education
    SUBCAT3 <---- www.mydentify.com/business/business_2_business
    SUBCAT4 <---- www.mydentify.com/business/medical
    SUBCAT5 <---- www.mydentify.com/business/Pets
    MORE... <---- www.mydentify.com/index.php?=3


    I have no idea on the "more" line, why it would not be mod rewriting. If you click on the more, it brings you to the sub categories like normal, but when you click on the sub category, it redirects you to the homepage and not to the listings.

    It works fine when you click on the main category, then you click on what sub cat you want, then you get to the listings.

    This isnt a huge issue, but would like to get it resolved since i like running a quality directory for my users.

    Thank you for your help with this.
    -Tim
     
    timallard, Sep 3, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    What does your htaccess file look like?
     
    nico_swd, Sep 4, 2007 IP