.htaccess question

.htaccess question

How would i incorporate

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 variety of other 301 redirects

I generally want to be sure that all traffic in order to domainname.com in addition to www.domainname.com head over to www.domainname.com/v2 and want to make sure that domainname.com/page1 may go right to domainname.com/v2/page1 should they happen to type in a specific URL.

Thanks for any help.

This entry was posted in Website Development and tagged , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *