.htaccess and addon problem

SpaceshipSpaceship
NamecheapNamecheap
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.
Unstoppable Domains — AI StorefrontUnstoppable Domains — AI Storefront
what if you remove the .htaccess file or disable it first by renaming it? what happens then?
 
0
•••
DomainEasy: white label portfolios are live. Enable yours.

We're social

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