I am Using Magento 1.9.2.2 to my site.Getting index.php every url in Front end and Admin When trying to Remove index.php using Option "Use Web Server Rewrites : YES" Then in Front Url Structure Getting without index.php but when trying to open without index.php getting 404 Error.
i have downloaded fresh .htaccess from magento and uploaded to my Magento Root Directory But Not Working.Please Help me to Solve it Out
Best Answer
It seems your server is not configured mod_rewrite module, please enable it and try.
Ref: https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite-for-apache-on-ubuntu-14-04 [Follow Step 2 — Enabling mod_rewrite]
Modify server directory block under server configuration file as below: