I need to change the success page URL that reads


To be displayed as


I need to remove /index.php from success page


1 Answer 1


Login to your admin backend!

Now go to system->configuration Now from web tab expand the search engine tab and make Use Web Server Rewrites -> Yes.

Also you can try this using htaccess

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L] 

After that clean cache and check. You can see that index.php will be remove from your URL.

Hope this will help you. Happy learning

  • I did this, /index.php has been removed from all other places except success page url Apr 25, 2016 at 7:30
  • i update my answer ! So try to do the second method!
    – Asish Hira
    Apr 25, 2016 at 7:54
  • Already did both these methods Apr 25, 2016 at 8:42

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