.htaccess not working - i need help

Discussion in 'SEO' started by MujtabaK, Jan 24, 2010.

  1. #1
    .htaccess not working - i need help
    i recently switched to godaddy shared hosting linux, matter is i have a self coded script and its working fine on the root of domain but when i point it to a addon domain it displays 404 error. and godaddy is saying that script have probluem, script is working fine on my other server and on godaddy root but its not working on my godaddy addon domain its displaying 404 error when i try to do mod_rewrite =( can u tell me how to fix ? this or if u can fix then i will pay..

    my code is :

    Options +Indexes
    Options +FollowSymlinks
    RewriteEngine on
    RewriteBase /home/content/28/5420528/html/lmss/

    RewriteRule ^mp3songs/([^/.]+)/([^/.]+)/([^/.]+)/?$ album.php?id=$1&cat=$2&name=$3 [L]
    RewriteRule ^mp3album/([^/.]+)/([^/.]+)/?$ album_detail.php?id=$1&name=$2 [L]
    RewriteRule ^mp3track/([^/.]+)/([^/.]+)/([^/.]+)/?$ songs.php?id=$1&cat=$2&name=$3 [L]
    RewriteRule ^videocat/([^/.]+)/([^/.]+)/?$ album_video.php?id=$1&name=$2 [L]
    RewriteRule ^video/([^/.]+)/([^/.]+)/?$ album_video_detail.php?id=$1&name=$2 [L]
    RewriteRule ^watch/([^/.]+)/([^/.]+)/([^/.]+)/?$ videos.php?id=$1&cat=$2&name=$3 [L]
    RewriteRule ^lyricscat/([^/.]+)/([^/.]+)/?$ lyrics_album.php?id=$1&name=$2 [L]
    RewriteRule ^lyrics-album/([^/.]+)/([^/.]+)/?$ lyrics_album_detail.php?id=$1&name=$2 [L]
    RewriteRule ^songs-lyrics/([^/.]+)/([^/.]+)/([^/.]+)/?$ lyrics.php?id=$1&cat=$2&name=$3 [L]
    RewriteRule ^movies/([^/.]+)/([^/.]+)/?$ reviews_album.php?id=$1&name=$2 [L]
    RewriteRule ^movie/([^/.]+)/([^/.]+)/?$ reviews.php?id=$1&name=$2 [L]
    RewriteRule ^mp3cat/([^/.]+)/([^/.]+)/?$ select.php?id=$1&name=$2 [L]


    I will pay if someone can help me with that .. =/
     
    MujtabaK, Jan 24, 2010 IP
  2. thanapa

    thanapa Well-Known Member

    Messages:
    527
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    125
    #2
    please check your addon domain root path. like home/html/addon domain name. You can check path from cpanel. if it is not working please send me details i will check for you tomorrow.
     
    thanapa, Jan 24, 2010 IP
  3. Poon Poi Ming

    Poon Poi Ming Active Member

    Messages:
    163
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Hi, I have been using the same .htaccess file for years and suddenly it doesn't work two days ago for my two main domain name websites. I have checked with my web host, Go Daddy, and they say it is not a problem from their side. The surprising thing is that all my 20 odd subdomains are still functioning. What could be the problem?
     
    Poon Poi Ming, Jun 29, 2011 IP