6

If I enter URL

https://server.com/admin 

It ends up redirecting to:

https://server.com/index.php/admin

and I end up with "This webpage has a redirect loop".

a) Is this redirect url correct? Doesn't look to be valid.
b) Where do I correct it?

  • My base url in core_config_data is "server.com". is that correct? – bart2puck Jun 26 '15 at 17:22
  • 1
    Did you made any changes to your .htaccess? How does your vhost files look like? – lloiacono Jun 26 '15 at 18:13
  • I think this is normal with magento. Are you saying you cannot login to the admin because of this change url? – Adarsh Khatri Jun 27 '15 at 3:34
2

/index.php/admin is normal and should work. Check your Magento .htaccess in root. Mostly you have to set the web root.

############################################
## you can put here your magento root folder
## path relative to web root

    RewriteBase /

Your Base URL should be http://...

Your secure Base URL should be https://...

  • 1
    I only had trouble with RewriteBase and you usually don't need it. RewriteBase / is redundant as far as I understand it. – Fabian Schmengler Jul 10 '15 at 6:53
  • Which kind of trouble? Did you test it? – TonkBerlin Jul 13 '15 at 12:08
  • "the rewrite rules don't work" kind of trouble. I don't know which exact setup causes it but I had to remove this line more than once to fix the rewrites. – Fabian Schmengler Jul 13 '15 at 12:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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