[Resolved] .htaccess redirect

SpaceshipSpaceship
SpaceshipSpaceship
NamecheapNamecheap
Watch

Lithium

Established Member
Impact
28
.htaccess redirect

I want to do a .htaccess redirect, but i want it to redirect www.purearcade.com to just purearcade.com, as that's where I've done most link building so far. Any help?
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^purearcade\.com
RewriteRule (.*) http://purearcade.com/$1 [R=301,L]

Hope this will help :)
 
0
Close
Thanks a lot, seems to work perfect. :)
 
0
Close
nice, this htaccess have to be included in the just in the main folder or it has to be putted in all folders?

thanks
 
0
Close
if you place a .htaccess file in a folder it will affect all folders within that folder as well UNLESS a separate .htaccess file within a child folder overrides it. So no if you put it in your main folder you do not need to put it in others.
 
0
Close
thanks again
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Each character of a domain name in its own box, with how to type one of them
Bookmarks: see bookmarks without a label
You can now show only the bookmarks you have not labeled. Open the label filter in the Bookmarks tab of your account menu, or on your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back