By gleble on
My installation of drupal suddenly insists that all addresses contain ?q= ie when I go to node/55/edit I have to manually add ?q= to the address bar . http://climatecamp.org.uk hat is happening?
My installation of drupal suddenly insists that all addresses contain ?q= ie when I go to node/55/edit I have to manually add ?q= to the address bar . http://climatecamp.org.uk hat is happening?
Comments
clean urls
You have clean URLS enabled, but mod_rewrite isn't doing its magic. Check the .htaccess file in the webroot.
-------------------------------------------------------
"The sting in any rebuke is the truth." - Benjamin Franklin
.htaccess
The only .htaccess I could find was in /files
deny from all
Redirect permanent /drupal-5.7/?q=node/1 http://climatecamp.org.uk/home
order deny,allow
try this, it's works
try this, it's works perfectly fine for me since years now:
#Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.climatecamp.org.uk
RewriteRule ^(.*)$ http://climatecamp.org.uk [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]
notice www -> non www redirect, very useful ;-)
cheers
Take the .htaccess file from
Take the .htaccess file from the Drupal installation folder and put it in your websites folder and click replace. You have to have hidden files enabled for this.
allthesmalls.com
.htacces
I switched off clean urls and with a bit of tweaking everythings fine. If anyone has a solution , that involves leaving clean urls on, I'd be interested to know
have You tryied my htaccess
have You tryied my htaccess code?
you need to follow
you need to follow prematurebaby's advice and copy the .htaccess file from the drupal tarball (tar.gz) folder into your web root and then you can turn clean url's back on and all will be fine.
I'd also suggest that you upgrade to the latest 5.12 release as 5.7 is not secure.
lipcpro
lipcpro.com