2
Contributors
2
Replies
16
Views
9 Months
Discussion Span
Last Post by caltech
1

Pointing to an article / post on another site and asking for help is not how DW operates. Post an original question on this forum. Thanks.

0

Sorry, how do I edit..? I'm unfamiliar with this new UI...

To reiterate: I have web hosting where the primary domain need point to a subdirectory within the default root public_html. Given the following .htaccess, I need to know how to prevent / from rendering the URL as /audino.us/:

RewriteEngine on
RewriteBase /

RewriteRule ^index.php$ / [NC,R,L]

RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]

RewriteCond %{HTTP_HOST} ^(www\.)?audino\.us$ [NC]
RewriteRule !^audino\.us/ /audino\.us%{REQUEST_URI} [L,NC]
RewriteRule ^(.*)$ /audino.us/$1
RewriteCond %{HTTP_HOST} ^(www\.)?audino\.us$ [NC]
RewriteRule ^(/)?$ audino.us/index.php [L]

RewriteCond %{HTTP_HOST} ^(www\.)?audino\.us$ [NC]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Edited by caltech

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.