- 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.
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.