NameSilo

.htaccess question

SpaceshipSpaceship
SpaceshipSpaceship
SpaceshipSpaceship
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
Appraise.net

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

A browser tab with a favicon next to the page title
Search members
You can now search for members by name, company, location and more. Open the search at the top of any page and choose Members. You will...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back