Posted by jivasingh on November 15, 2008 at 4:37am
Hi,
I m new to drupal.Plz tell me how to remove ?q= In the url.
What changes i will have to make in .htaccess file
Thanks,
Raju.
Hi,
I m new to drupal.Plz tell me how to remove ?q= In the url.
What changes i will have to make in .htaccess file
Thanks,
Raju.
Comments
Are you running apache or
Are you running apache or IIS for you web server?
Apache
Will i have to make some thing comment in .htaccess file.
Thanks,
raju.
Since it is local install,
Since it is local install, look where you installed Apache. Look in the conf directory for httpd.conf. Edit the file, search for the line with
mod_rewrite. It is likely commented out (line starts with #). If this is the case uncomment the line and restart Apache.Done but not working
I have done it like that but the problem still comes.
Whether i will have to make some changes in .htaccess file.
Thanks,
Raju.
Done
Thanks a lot I have done it.
Beside abling mod-rewrite,
Beside enabling mod-rewrite, you need to change the AllowOverride of your Drupal folder so that .htaccess will take effective.
below is an example, change the directory "/" to where you install your Drupal
Directory /
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
/Directory
Best Drupal Hosting | Affordable Web Hosting | Drupal Tutorials
-
Find Drupal Hosting from Best Web Hosting and Discount Web Hosting
have u enable clean url in
have u enable clean url in admin page??
administer -> clean Url
We go the drupal way. How about you?
http://www.drupalway.com
Enabled
Actually when i m going to admin->clean url. Radio buttons r disabled.
After that i m running the run clean url test,but it takes me to the 404 object not found.
That's why i m not able to enable it.
Thanks,
Raju