NameSilo

.htaccess and addon problem

SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

bentong

Hari ng SablayVIP Member
Impact
60
Options +Indexes
Options +FollowSymlinks
RewriteEngine on
RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.maindomain\.com [NC]
RewriteRule ^(.*)$ http://www.maindomain.com/$1 [L,R=301]

I have this 301 redirection on public_html for my main domain/acct however when I tried adding an addon, I always redirected to maindomain.com/addon when I type addon.com on the address bar.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
what if you remove the .htaccess file or disable it first by renaming it? what happens then?
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back