This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

hannylicious21078
hannylicious21078

I've got October installed in a subdirectory (not root).

I'm struggling to find the appropriate .htaccess for the root directory.

I have two questions:

  1. How should my .htaccess look in the root directory to point to 'public_html/myoctobercms'?

Currently it looks like this:

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{REQUEST_URI} !^myoctobercms
    RewriteRule ^(.*)$ myoctobercms/$1 [L]
</IfModule>
  1. How should the .htaccess in 'public_html/myoctobercms' look in order to rewrite the url to look like 'http://www.mydomain.net/'?

Currently it is the default .htaccess but with rewrite enabled like this:

RewriteBase /myoctobercms

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.