Please see here where I've been updating on this.

Recommended Answers

All 2 Replies

Member Avatar

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.

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 /

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 ^(.*)$ /$1
RewriteCond %{HTTP_HOST} ^(www\.)?audino\.us$ [NC]
RewriteRule ^(/)?$ [L]

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

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.