Please see here https://processwire.com/talk/topic/15108-pw-in-subdirectory/ where I've been updating on this.

Member Avatar for diafol

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 /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]
Be a part of the DaniWeb community

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