Thanks Dan
I’m in a right old muddle. The site in question is:
Mod Edit: Site details removed from public view for security
I have to fit the EE site within an existing website (e.g. everything outside of /sixtysix/). So I have used the following .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
# Removes index.php
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^sixtysix/(.*)$ /ee/expression_engine.php?/$1 [L]
# If 404s, “No Input File” or every URL returns the same thing
# make it /index.php?/$1 above (add the question mark)
</IfModule>
I have placed all the ee files within the ee folder and the frontend and admin areas work fine - job done.
However my confusion lies in that unless I set the ‘site_url’ via Deeploy Helper to:
http://bushtheatre.builtbybuffalo.com/ee/ then my stylesheets do not load. This is evident in the path to the css used in the header.
The other setting that I am unsure about is:
$config[‘cp_url’] = “http://bushtheatre.builtbybuffalo.com/ee/system/expression_engine.php”;
I tried a workaround by setting this to http://bushtheatre.builtbybuffalo.com/sixtysix/ and then loading my css in from a static file. This does work as expected.
So in theory I have 2 working models to run with. However the problem is when I run a search and it uses the path set in the ‘site_url’ (either er or sixtysix). The ee version actually works, however the /sixtysix is then lost in the URL. I can live with this as every link away from this page redirects back to /sixtysix.
All rather confusing and I was wondering if you had any advice / experience in the best practices here please. Project deadline is 3 days away, so mild panic is setting in.
Many thanks, Jonathan