I ran into a very strange problem concerning clean urls. after reading much post about it and tried different things, I found out that
1. My .htacces should be in my root, and not in a subdirectory.
2. It needs to be .htaccesand not htacces. Somewhere on my drupaldance i've managed to delete the "dot". So problem solved because when I rename the htacces into .htacces, I do have the magic checkbox enabling clean urls.

But when I do enable clean urls, it is messing up my layout. Suddenly through every page it is not only showing my basic weblayout but also a kind of ftp directory structure !?. strange. Can anyone help me with this?

thanks in advance (www.hazmeds.com/site) oh does anyone know how to redirect so I do not have to name the "/site" in my urls? so it would be www.hazmeds.com

thanks Elfriede Thiessens

Comments

jaypan’s picture

I'm not seeing this ftp directory structure you speak of.

If you don't want your site to be in /site, then you have to move all the files in the 'site' folder into the webroot.

Contact me to contract me for D7 -> D10/11 migrations.

alf_frommars’s picture

tnx for quick reply,
that is because I removed the dot before the htacces again, otherwise my site will not work..

But for now I have it renamed again, so maybe You will have a look again?
tnx in advance

jaypan’s picture

It seems you've changed it back again.

I would suggest getting a fresh .htaccess from drupal.org, and placing it in the folder, and turning on clean URLs from there.

Contact me to contract me for D7 -> D10/11 migrations.

alf_frommars’s picture

Nop, I ve replaced it, and can turn clean urls on, but when I do so, every time I load a page, All I get is som kind of index page like ftp.
I do have pathauto enabled. something wrong with that maybe? Thank you in advance for your information