Page 1 of 1
Admin Page Link on Main Page produces 302 Found Error
Posted: Thu Jan 08, 2009 6:38 pm
by BenBeyond
Hi Everyone,
I previously had 1.3.1 installed and upgraded to 1.4 today. Everything looks to have got fine, except one thing.
If you click on the "Open login screen" link to access the admin page, I get a "302 Found" error. (Feel free to test for yourself at
http://www.lukedowker.com)
If I link directly to the admin page (
http://www.lukedowker.com/serendipity_admin.php), it works fine and i can login and do everything i need to, but the main page link does not appear to work.
Not sure if this is a bug or just me, but I thought I would ask for help.
Not the worst thing that could have happened during an upgrade, but still kind of annoying.
The new admin pages look great though!! Thanks for the great software and keep up the hard work.
Re: Admin Page Link on Main Page produces 302 Found Error
Posted: Thu Jan 08, 2009 6:46 pm
by garvinhicking
Hi!
It seems to be a problem with your .htaccess - how does it currently look? It seems that it contains an invalid path in there somehow.
HTH,
Garvin
Posted: Thu Jan 08, 2009 9:18 pm
by BenBeyond
I did have an .htaccess file there, but upon inspection, it was blank. I have deleted it now, but the problem presists.
Anything else it could be?
Thanks for the help, BTW.
Posted: Thu Jan 08, 2009 10:04 pm
by garvinhicking
Hi!
Hm, I don't fully understand why the admin redirection doesn't work then. Who is your provider, do you have a technical contact that you could ask to inspect the server error logs to see why it gives you an error instead of the proper redirect?
Regards,
Garvin
Posted: Sat Jan 17, 2009 3:59 pm
by BenBeyond
I am with GoDaddy. I'm not sure who I would contact but if anyone has had the same or similar problem with GoDaddy, I would love to hear what the fix was.
Thanks again.
Re: Admin Page Link on Main Page produces 302 Found Error
Posted: Tue Mar 03, 2009 6:38 pm
by BenBeyond
No solution to this problem yet. I am not sure it is a provider problem, because this is the only redirection that is having problems. All other links and redirects work perfectly.
What file would i need to edit to change the link to the admin page? since a direct link works, I want to edit the link to point directly to the admin login page.
Re: Admin Page Link on Main Page produces 302 Found Error
Posted: Tue Mar 03, 2009 7:14 pm
by Don Chambers
I have a few sites on godaddy, and none exhibit this problem.
Have you tried turning on URL rewriting using mod rewrite? That will fully eliminate the index.php? bit, but I am not sure it will solve your problem... but if you turn it on, and it does not work, turning it off again might because both times serendipity will rewrite your .htaccess file.
Re: Admin Page Link on Main Page produces 302 Found Error
Posted: Wed Mar 04, 2009 6:09 pm
by BenBeyond
I am willing to try it. How do I turn on URL rewriting using mod rewrite?
Re: Admin Page Link on Main Page produces 302 Found Error
Posted: Wed Mar 04, 2009 6:38 pm
by Don Chambers
Configuration -> Appearance and options -> URL Rewriting. Select Use Apache mod_rewrite, which is hopefully available to you.
Re: Admin Page Link on Main Page produces 302 Found Error
Posted: Wed Mar 04, 2009 9:11 pm
by BenBeyond
Thanks for point me to the setting.
I tried turning this on, but i still got the same problem. I did notice that the URL in the admin page link changed, but it still produced an error page.
I have turned it off again, because it seemed to load faster when it is turning off.