My site recently got moved to a new server (hosting company changed hands). It took a while for it's domain name to point to the correct nameservers, but now it is and when I go to http://www.lifepost.info everything seems fine until I try and navigate away from the front page and then I get "404" messages for everything - I can't even admin the site.

I've checked the file structure that was in use shortly before the move (I had backed up the site the day before) and the file structure looks exactly the same as it is now. I'm presuming if it was a database issue then I would get database errors - and I'm not.

Does anyone have any idea where I can start to try and fix this problem??

Thank you very much in advance..

Comments

wmostrey’s picture

It seems that mod_rewrite is not enabled on your new host. The following link works fine for instance:

http://www.lifepost.info/?q=node/7

Just contact your new host and ask them to enable it mod_rewrite for your site.

vertilly’s picture

Ah thanks :-)

Erring on the cautious side... if they say "no" is there anything I can do? (the front page is provided by the front_page module - would getting rid of that module fix the problem?)

wmostrey’s picture

If your hosts refuses or is unable to enable mod_rewrite, you'll have to disable clean urls the hard way. You can find how to do this in the FAQ: How do I unset the clean URLs?

vertilly’s picture

Ok mod_rewrite is on apparantly anyway - I need to do something with the .htaccess! I may just unset the clean urls afterall - last time I did anything with .htaccess it all went a bit pearshaped...

Thanks for the help :-)

wmostrey’s picture

It could be that the .htaccess file didn't get copied when you/they moved your site. Make sure it's in the drupal root dir, that should fix your problem.

vertilly’s picture

Aye I thought of that after I logged off of here - and that's exactly what happened :-) Thanks for all your help! :-D Everything is hunky dory now..