4 votes
Accepted

subdirectory path opening root website why

.htaccess is not only one place where rules can be located. First of all needs to understand what do you use on your site as webserver. For example it can be Apache, Apache+NGINX, NGIX+php-fpm. The ...
user avatar
  • 5,781
2 votes

index.php removal in .htaccess doesn't work when on https

Try this :: 1.) Go to your SSL configuration file : /etc/httpd/conf.d/ssl.con 2.) Find your Virtual Host : <VirtualHost_default_:443> 3.) Write down : Path to your directory <Directory "/...
user avatar
  • 21
2 votes
Accepted

How to keep EE from rendering invalid urls as valid pages?

It sounds like you have single entry pages that should be outputting a 404 instead of rendering the page without a valid entry. Check your tags on these pages to ensure they are using the ...
user avatar
  • 2,255
2 votes
Accepted

.htaccess remove index.php sort of works, but not the first time after browser cache is cleared

On further investigation, it appears that this redirect is coming from inside that template. See the attached image All of your header assets are being loaded just fine until something else ...
user avatar
  • 5,900
1 vote

HTACCESS issues with multiple redirects

On line 11, change: RewriteRule ^(.*)$ /index.php?/$1 [L] to RewriteRule ^(.*)$ /index.php/$1 [L] And see if that works. According to https://ellislab.com/expressionengine/user-guide/urls/...
user avatar
  • 35
1 vote

Remove question mark in URL with "Force URL query strings" enabled

I had a similar issue to this previously. Removing the "?" in the last RewriteRule solved the issue. Change in your .htaccess file: RewriteRule ^(.*)$ /index.php?/$1 [L] To: RewriteRule ^(.*)$ /...
user avatar
  • 56
1 vote

remove question mark with .htaccess rewrite module

If you are using query strings then removing the ? will stop the site working. The ? has a special meaning in URLs, what comes after it is the query string.
user avatar
  • 7,176

Only top scored, non community-wiki answers of a minimum length are eligible