I am working on Magento and setup a copy of website in its root directory in a folder. ex www.website.com/folder

I am not able to access the pages except home page without index.php. back-end is also not accessible without index.php.

What i have already tried.

  1. https://magento.stackexchange.com/a/155399/62788
  2. CONFIGURATION: System -> Configuration -> (General ->) Web: Use Web Server Rewrites: YES

Please Guide me.

2 Answers 2


If you are using apache server then please add a default magento .htaccess file to your magento root directory.


If you are adding website into /folder you should try following updates in .htaccess file inside /folder

#RewriteBase /folder/

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.