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

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -