My in urls not working, mysite.com/?1 etc.

Discussion in 'Programming' started by Mr Escobar, Jan 10, 2012.

  1. #1
    Hi.

    With my redirection system the script use mysite.com/?1 for category 1, mysite.com/?2 for category 2 etc.
    For each category I can set new links that it redirects the traffic to.

    My problem is, I just changed provider of dedicated server and now its not working..
    On the install script all server functions and plugins was checked and working.

    So, I set the category 2 to redirect to facebook.com, so, I go to mysite.com/?2 and I just end up at my own apache index.html
    I just installed curl and php-curl, thought that'd do it, but no.

    Any ideas?
     
    Mr Escobar, Jan 10, 2012 IP
  2. geofox

    geofox Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Maybe you should check .htaccess file, it might just rewriting every request to index.
     
    geofox, Jan 10, 2012 IP
  3. Mr Escobar

    Mr Escobar Greenhorn

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #3
    Yea, I got it working.

    I think the old apache default index.html messed things up. I just removed it, then it worked. Lol.
     
    Mr Escobar, Jan 10, 2012 IP
  4. AymanX

    AymanX Well-Known Member

    Messages:
    242
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #4
    congratulations, good luck
     
    AymanX, Jan 10, 2012 IP
  5. NukeNoob

    NukeNoob Greenhorn

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #5
    Check the .htaccess file.. I think that's the problem.
     
    NukeNoob, Jan 14, 2012 IP
  6. ausome

    ausome Peon

    Messages:
    97
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ok well looks like I missed seeing the answers already... Whoops.
     
    Last edited: Jan 14, 2012
    ausome, Jan 14, 2012 IP