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?

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

1 Answer 1

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://...

3
  • 1
    I only had trouble with RewriteBase and you usually don't need it. RewriteBase / is redundant as far as I understand it. Jul 10, 2015 at 6:53
  • Which kind of trouble? Did you test it?
    – TonkBerlin
    Jul 13, 2015 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. Jul 13, 2015 at 12:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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