Closed (fixed)
Project:
Drupal core
Version:
6.12
Component:
base system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2009 at 11:15 UTC
Updated:
23 Aug 2009 at 17:37 UTC
I have done everything found here "http://drupal.org/node/15365" to properly enable clean URL's on my server (shared hosting site) but it does not seem to have any effect, my administrative clean url page just disables the radio buttons, and does not have a run clean url test
Comments
Comment #1
caelan commentedAnd my drupal exists in a sup directory aswell, and am using the default .htaccess file with no edits. (drupal installed in www.example.com/sub) i dont know where the .htaccess file needs to be located or edited. any help would be greatly appreciated
Comment #2
splashworx commentedI'm also having problems but I may be able to point you in the right direction.
Your .htaccess file, I believe, needs to be in the root directory of your installation (www.example.com/drupal/.htaccess), together with your Drupal files of course. If your FTP program missed uploading the file (which is normally hidden by default in many FTP programs), upload it now. I have installed 10+ D6 sites and this is my first problem but the .htaccess file appears in the root directory of every site install I have, without exception.
There appears to be a number of places the .htaccess file needs editing.
1.
Look for this section in your .htaccess file (towards the bottom in my D6.12 version):
# Modify the RewriteBase if you are using Drupal in a subdirectory or in a
# VirtualDocumentRoot and the rewrite rules are not working properly.
# For example if your site is at http://example.com/drupal uncomment and
# modify the following line:
RewriteBase /yourdrupalsite
2.
Look for this section in your .htaccess file (rock bottom in my D6.12 version) and replace 'yourdrupaldirectory' with your sub directory name:
# Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ /yourdrupaldirectory/index.php?q=$1 [L,QSA]
Now, this isn't working for me but I mention this because these appear to be the instructions found at http://drupal.org/node/15365
Good luck.
Tim
Comment #3
caelan commented