I have just started to move from my localhost test site to a hosted site with a fairly major UK hosting company.
So - installed Drupal 7.12, basic install standard site up and running OK. Then - enable clean URLs and mayhem in my URL address bar!
I apologise if this is a very basic Web question - but it is new to me. I expected to lose the ?q, which I did - but I gained the entire path through the host's shared server which looks like this (with a few bits changed to protect the innocent):
http://www.mydomainname.co.uk/websites/myhostname/LinuxSites/lo/wc/os/my...
I really want to see www.mydomainname.co.uk with at host /home on the end of it.
Is this a simple server config thing? Or can I not have meaningful clean URLs with this hosting company?
Thanks.
Comments
Looks like a server
Looks like a server configuration issue to me, I would talk to the hosting company.
Half sorted out
I got a partial solution through .htaccess file change, which removed the hosting company's path. But I still had the subdirectory in which drupal is installed.
So rough and ready solution - reinstall in root of my web space, edit .htaccess again and clear caches and now it is as required.
The important line in .htaccess for other newbies to look for is:
# RewriteBase /
which needs to become
RewriteBase /