there are two site on my server 1 on root and other one in a sub folder named /A

when i am inputting my sub folder's url its opening root website

there is no .htaccess file present .

root website is working correct.

  • 2
    This question appears to be off-topic because it is about server settings, not really related to EE
    – Max Lazar
    May 28, 2014 at 11:31

1 Answer 1


.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 last one don't use .htaccess . All rules is nginx config files.

Apache can also keep rules in his config. .htaccess is only way to override default config (in case if apache config allow it AllowOverride All).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.