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

Rewrite main domain to a page with .htaccess

Tahasin
1#
Tahasin Published in 2018-02-08 11:07:09Z

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.317985 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO