Hi -
We’re just setting up a new EE 2.4 site for a client who wants to use a hosting provider we have no experience with (and they’re actually not really a hosting company - it’s a bit dubious). Anyway, for some reason, removing index.php is not working for us using the same method we use on other hosts.
We are using the exclude method as follows in our htaccess:
RewriteEngine on
# Exclude codeigniter requests
RewriteCond $1 !^(codeigniter|images|system|themes|_img|_css|_js|_docs|_cache|galleria|favicon\.ico|robots\.txt|index\.php|admin\.php|codeigniter\.php) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]But while a couple quick test entries are coming up fine (http://65.39.243.86/index.php/Templates/Test/first-page) with the index.php in the URL, if we omit it (http://65.39.243.86/Templates/Test/first-page) we end up on the homepage.
We have also removed index.php from the General Configuration.
Can anyone suggest what the issue might be? I’m stumped and wondering whether there could be something else configured on the new host we’re unaware of? We did try a couple other simple 301 redirects in the htaccess and those worked.
Thanks,
Mike