NameSilo

.htaccess and addon problem

Spacemail by SpaceshipSpacemail by Spaceship
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
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back