Hello,

In my application, I have to type

http://localhost/drupal/?q=myapplication.

It can be seen that I have to type "?q=".

How I can get rid of this, so I only need to type:

http://localhost/drupal/myapplication

Thanks for any help
sho

Comments

vm’s picture

turn on clean urls.

Turn on "CLEAN URLS" to make your site more user friendly. Go to Administer>>Site configuration>>Clean URLs. At the bottom of the verbiage there is a link to run the "Clean URLs Test." If it passes, then the "Enable" radio button will un-dim.

above taken from the cookbook for drupallers by nancyw found in the handbooks using the tab at the top of the page.

sponnet’s picture

If the clean URL test fails , you need to add something like this to the httpd.conf file of your apache installation:

<Directory "/home/sites/drupal">
AllowOverride All
Order allow,deny
Allow from all
</Directory>

Stefaan

johnhelen’s picture

Thanks all for your help

isaacsboss’s picture

Hey so i had a similar issue except for the fact that i couldn't enable clean url's. I then found out i missed uploading some hidden files make sure to upload these and then clean url's should work.