URL Rewriting

Discussion in 'PHP' started by cancer10, Sep 8, 2008.

  1. #1
    Hey

    I am on a Shared Hosting and my host does not have "URL Rewriting" enabled.

    Is there anyway I can enable it for my site? How?


    Thanx
     
    cancer10, Sep 8, 2008 IP
  2. pubdomainshost.com

    pubdomainshost.com Peon

    Messages:
    1,277
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Test with .htaccess in your root folder - if override is enabled, you can get rewrite going for you, else I suggest to opt for a new host :)
     
    pubdomainshost.com, Sep 8, 2008 IP
  3. cancer10

    cancer10 Guest

    Messages:
    364
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So what do I have to write in the .htaccess files?
     
    cancer10, Sep 8, 2008 IP
  4. The Universes

    The Universes Peon

    Messages:
    187
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Simple test, create an html file called newstuff.html and put anything in it.
    Then put this in your .htaccess
    Go to your domain.com/oldstuff.html
    If it shows newstuff.html, then your good.
     
    The Universes, Sep 9, 2008 IP
  5. human

    human Peon

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    human, Sep 9, 2008 IP