NameSilo

Redirect to index.php

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

lzy

VIP Member
Impact
75
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Here we go:

Code:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^index.php$
RewriteRule ^$ http://domain.com/index.php [L,R=301]

Dump that into your .htaccess, just tested it as im not good with .htaccess and it works fine.

Matt
 
0
Close
Will it cause any problem if I use your code along with this?

Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]
 
0
Close
lzy said:
Will it cause any problem if I use your code along with this?

Code:
...
test it out...
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back