First the below htaccess code which is working for magento 1 hope that is also work for Magento 2:

# Mod Rewrite
Options +FollowSymLinks 
RewriteEngine On
RewriteCond %{REQUEST_URI} !(.*)magento
RewriteRule ^(.*)$ magento/$1 [L]
Please login or Register to submit your answer

Log In

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