This is a strange one: I installed Drupal version 6.something at Justhost about 6 months ago, for a client.
Now they want some edits, but when I visit /admin the site just redirects to the home page. In fact, if I visit ANY other page (apart from the 4 that are published) I just get redirected to the home page. for example even /nopagehere dumps me at the home page, but there is 'no page there' so I would expect to get a 404.
The only way I can get a 404 is by changing the node number of a page in ?q=node/xxx to something that does not exist.
All this made me think that the host must be running some appache or .htaccess rules to redirect requests to the home page, but even after 5 emails to Justhost support they are still saying this must be a Drupal issue.
If anyone has any ideas, please help?
Cheers
Oli
Comments
Are you logged in as 'admin'
Are you logged in as 'admin' when you get redirected?
See you at the Drupalcon!
Are you logged in as 'admin'
no, I can't log in at all. Even user-login gets redirected back to the home page...
this is the URL
http://francescaalaimo.com
Seems to be a problem with
Seems to be a problem with clean urls.
Login in with /?q=user
Go to
/?q=admin/settings/clean-urls
Disable Clean URLs
Thanks smitarai, I'd
Thanks smitarai,
I'd forgotten I could get there with /?q=user
Clean URLs were not enabled, the server is not configured for them... so the problem persists.
But at least I managed to access the back end now.
Cheers
Oli
Is there anything wrong with this .htaccess file
OK, so it's Drupal version 6.22 using the standard .htacess file below.
Can anyone tell me whether there is a problem with this file, or whether the redirects must be coming from the server, so I can go back to the delightful 'justhost' (literally!) and tell them what to do!?
Sometimes when I upload to a
Sometimes when I upload to a new server the htaccess files becomes corrupt, no idea why, I have not looked for the answer also.
Usually I solve this by deleting the file and uploading a new htaccess file. Try it and see.
I tried that, but still no
I tried that, but still no joy :(
Any other ideas anyone?
apache help?
I know it's not a priority thread! But does anyone know what might be causing me not to be able to access /admin etc, as above?
Thanks
Oli