NameSilo

.htaccess question

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
NamecheapNamecheap
Watch

TWM

Web Marketing SpecialistEstablished Member
Impact
9
How would i combine

RewriteEngine on
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^index\.html$ "http\:\/\/avda-tx\.org\/v2" [R=301,L]
RewriteRule ^/?$ http://avda-tx.org/v2 [R=302,L]

with a bunch of other 301 redirects?

I basically want to make sure that all traffic to domainname.com and www.domainname.com go to www.domainname.com/v2 but also want to make sure that domainname.com/page1 will go straight to domainname.com/v2/page1 if they happen to type in a specific URL.

Thanks for the help.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back