php - .htaccess working not properly -
i on click http://fitwelpharma.com/pharma-franchise-monopoly
& after show on addressbar url : fitwelpharma.com/about.php?q=pharma-franchise-monopoly
but want url on addressbar: www.fitwelpharma.com/pharma-franchise-monopoly
#options +followsymlinks rewriteengine on rewriterule ^pharma-franchise-monopoly about.php?q=pharma-franchise-monopoly rewriterule ^all-product-list all-product-list.php <limit post> order deny,allow deny allow </limit> <limit put delete> order deny,allow deny </limit> rewritecond %{the_request} ^.*/index.php rewriterule ^(.*)index.php$ http://fitwelpharma.com/$1 [l,r=301] rewritecond %{the_request} ^.*/index rewriterule ^(.*)index.php$ http://fitwelpharma.com/$1 [l,r=301] rewritecond %{http_host} ^fitwelpharma.com [nc] rewriterule ^(.*)$ http://fitwelpharma.com/$1 [l,r=301] <files ~ "^.*\.([hh][tt][aa])"> order allow,deny deny satisfy </files> # disable directory browsing options execcgi includes includesnoexec symlinksifownermatch -indexes # enable directory browsing options +indexes
Comments
Post a Comment