-1

I need to change the success page URL that reads

"https://magento/index.php/checkout/onepage/success"

To be displayed as

"https://magento/checkout/onepage/success"

I need to remove /index.php from success page

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

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

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