Home Rewrite main domain to a page with .htaccess
Reply: 0

Rewrite main domain to a page with .htaccess

user441 Published in May 21, 2018, 4:59 pm

i did a .htaccess edit to add index.php after my domain as: [skynetbd.net/index.php][1].

i used:

 RewriteCond %{HTTP_HOST} ^(www\.)?skynetbd\.net
 RewriteCond %{REQUEST_URI} !^/index.php
 Rewriterule ^(.*)$ /index.php/$1 [L]

But unfortunately all of my links redirects to skynetbd.net/index.php like a loop !! please give a solution to prevent this problem..

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.321607 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO