By dhrubajyoti on
How can I remove the ?q= part from my urls.
eg making sitename.com/username instead of sitename.com/?q=username
How can I remove the ?q= part from my urls.
eg making sitename.com/username instead of sitename.com/?q=username
Comments
You need to turn on Clean
You need to turn on Clean URLs.
Clean URLs can be turned on in the administration under Clean URLs in the Site Configuration section.
Basically, the question ?q=
Basically, the question ?q= are appearing because you haven't enabled clean urls.
if your server can support clean urls, then you can enable them from right inside administration.
This may help:
http://drupal.org/node/15365
A quick google search also found this:
http://www.google.ca/search?q=enabling+clean+urls+site%3Adrupal.org&star...
Good Luck,
Jon.
Thanks to both of You
One problem is arising. How can I configure my apache to make it rewrite so that I can run the "Clean Url"
I am using mysql and a localhost in my PC
mod_rewrite
Enable the mod_rewrite apache module:
In http.conf uncomment the line (i.e. remove the # sign) and restart apache:
LoadModule rewrite_module modules/mod_rewrite.so
Ray Smith
http://RaymondSmith.com
Ray Smith
http://RaymondSmith.com