Magento

Remove index.php from magento url on aws ec2 cloud

By September 20, 2017 No Comments
Custom Admin Menu Magento

Hello Guys,

On AWS EC2 cloud instance if you have to remove index.php from the URL then you have to tweak apache2.conf file.

Edit apache2.conf file and file below code.

 

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

 

You can find

AllowOverride None replace that with AllowOverride All

And don’t forgot to set from admin panel.

System > Configuration > Search Engines Optimization > Use Web Server Rewrites > Yes

Hope this will help you.

Thanks…

 

Leave a Reply