Dynadot โ€” .com Transfer

.htaccess and addon problem

SpaceshipSpaceship
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
Appraise.net
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy โ€” Payment Flexibility
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back