test
Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • regevlio Friend
    #415415

    Hi There

    sorry to raise that issue again,
    I have spent days and nights on this one and i cant get this to work
    any help will be appreciated

    I have the following on my .htaccess file

    <IfModule mod_rewrite.c>
    RewriteEngine On
    AcceptPathInfo On
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^play/([0-9]+) /play.php?id=$1&name=$2 [QSA]
    </IfModule>

    I want to use friendly url
    My links are in this format

    http://www.yyy.com/play.php?id=1&name=some_name

    I want to present the following url instead

    http://www.yyy.com/some_name.html

    But i cant get even a simple rewrite to work
    What is my problem??

    My website is hosted on godaddy linux server
    Thanks,

    pharmaloids Friend
    #898234

    .htaccess file

    Options +FollowSymlinks
    Options -MultiViews

    RewriteEngine on
    RewriteBase /

    rewritecond %{http_host} ^focusz.in [nc]

    rewriterule ^(.*)$ http://www.focusz.in/$1 [r=301,nc]

    RewriteRule ^([a-zA-Z0-9-]+)$ /index.php?a=$1
    RewriteRule ^([a-zA-Z0-9
    -]+)/([a-zA-Z0-9-]+)$ /index.php?a=$1&b=$2
    RewriteRule ^([a-zA-Z0-9
    -]+)/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)$ /index.php?a=$1&b=$2&c=$3
    RewriteRule ^([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)$ /index.php?a=$1&b=$2&c=$3&d=$4

    Page error 404 page not found
    http://samrathomedecor.com/products/false_ceilings
    how can fix it please help me

Viewing 2 posts - 16 through 17 (of 17 total)

This topic contains 15 replies, has 12 voices, and was last updated by  pharmaloids 8 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum