Question????

Discussion in 'Apache' started by krdzal, Feb 27, 2009.

  1. #1
    I have a new hosting and i uploaded everything and it is working fine. I still have not changed the domain registers i checked my site with the IP. but the url rewriting is not working.
    http://69.57.170.133/ you can see the website. Everytime i click a link it goes on the home page again.

    When i update the domain to point on that hosting it will work?????????

    my guess is that there is no domain name just ip address ao that why url rewriting it is not working.

    Any help????
     
    krdzal, Feb 27, 2009 IP
  2. gapz101

    gapz101 Well-Known Member

    Messages:
    524
    Likes Received:
    8
    Best Answers:
    2
    Trophy Points:
    150
    #2
    let me see .htaccess file
     
    gapz101, Feb 27, 2009 IP
  3. krdzal

    krdzal Peon

    Messages:
    105
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    RewriteEngine on
    Options +FollowSymLinks
    RewriteRule ^Logout logout.php
    RewriteRule ^Register.html index.php?task=register [L]
    RewriteRule ^Contact-Us.html index.php?task=contact [L]
    RewriteRule ^Edit-Profile.html index.php?task=edit [L]
    RewriteRule ^Manage-Favorites.html index.php?task=manage [L]
    RewriteRule ^Forgot-Password.html index.php?task=fp [L]
    RewriteRule ^([0-9]+)?-([0-9a-zA-Z?-]+)? index.php?task=view&cat=$1 [L]
    RewriteRule ^view-([0-9]+)?-([0-9a-zA-Z?-]+)?-([0-9]+)? index.php?task=view&cat=$1&page=$3 [L]
    RewriteRule ^play-([0-9]+)?-([0-9a-zA-Z?-]+)? index.php?task=play&game=$1
    RewriteRule ^Fullscreen-([0-9]+) modules/fullscreen.php?id=$1

    RewriteRule ^views/([0-9]+)?/([0-9a-zA-Z?-]+) index.php?task=profile&id=$1&name=$2 [L]
    RewriteRule ^page/([0-9]+) index.php?task=view_page&id=$1 [L]
    RewriteRule ^task/register index.php?task=register [L]
    RewriteRule ^task/lost-password index.php?task=lost_pass [L]
    RewriteRule ^task/links index.php?task=links [L]
    RewriteRule ^task/members index.php?task=member_list [L]
     
    krdzal, Feb 27, 2009 IP