By abhilasha bhardwaj on
when I open the clean URL's page, I am unable to set it . it shows this commentYour system configuration does not currently support this feature . The handbook page on Clean URLs has additional troubleshooting information.
Is is necessary to set the clean URL's?????
Comments
No, it is not necessary. You
No, it is not necessary. You will have URLs like http://example.com/?q=node/35 instead of http://example.com/node/35. That's all.
No, it is not necessary Some
Some modules wont work if clean url is not enabled.
Is this on a machine you
Is this on a machine you control (like your personal computer or own webserver machine) or is this your webhost?
Also, do you know what webserver software you are using? E.g. apache or IIS?
i am using apache server
i am using apache server with PHP and Mysql. drupal ver 6.2
this is a localhost machine not a webserver
So how about enabling
I would highly recommend clean URLs. Also just to make sure were not overlooking something obvious: did you run the clean url test first (it's a small link embedded in the description about clean urls on the clean url page)? Make sure you run that first, then you can enable clean urls (if it passes)
If you ran the test and it did not work, did you enable mod_rewrite in apache?
See this how-to:
http://drupal.org/node/15365
no there is no Clean URLs link
no there is no Clean URLs link
this is my Clean URLs page when i open clean URL's page
Clean URLs:
Disabled
Enabled
This option makes Drupal emit "clean" URLs (i.e. without ?q= in the URL).
Your system configuration does not currently support this feature. The handbook page on Clean URLs has additional troubleshooting information.
Is mod_rewrite enabled in
Is mod_rewrite enabled in apache?
no there is no mod_rewrite
no there is no mod_rewrite in httpd.conf file of apache
Had same issue, and fixed it
After hours of playing around, calling Godaddy, and other crap, I finally took care of this issue with Clean URLs.
** Godaddy DOES HAVE mod_rewrite ENABLE **
As for fixing the issue. Do this quick test:
Try to view a page in the admin section by removing the ?q= from the domain.
Example:
http://example.com/?q=admin/settings/clean-urls/
Change it to:
http://example.com/admin/settings/clean-urls/
If you took care of the issue by modifiying the .htaccess, then it should go directly to the Clean-url page, run the test, and the option should now be highlighted to Enable Clean-URLs.
Hope that helps.
WOW - Thank you for this post!
I was on tech support w. godaddy..and it was going nowhere.
I plugged in your URL above http://example.com/admin/settings/clean-urls/ and viola, page appeared indicating the server was setup to support clean URLs and I enable it, thus avoiding so much torment.
Thank jabroni
_____________________________________________________________________________________________________________________________________________________________________________
''The secret though is just keep walking through life without analyzing it too much or clinging to it too much. Just walk on.'' - Marilyn Silverstone, Magnum Photographer & Buddhist Nun, b. March 9, 1929, October 1999.
''The secret though is just keep walking through life without analyzing it too much or clinging to it too much. Just walk on.'' - Marilyn Silverstone, Magnum Photographer & Buddhist Nun, b. March 9, 1929, October 1999.
htaccess
What do you mean take care of the issue by modifying the .htaccess file? You skipped that part.
Does not work for me. I get a 505 error.
Thanks!!
That was what solved my problem. Thanks a lot!!
I think Drupal should change to avoid having to rewrite manually the url; it should just run the test appropiately.
it is strange
It is strange that my two sites in the same hosting,one is ok for Clean URLs(this is ok with Clean URLs),and the other site(firefox for mac) says "Your system configuration does not currently support this feature. The handbook page on Clean URLs has additional troubleshooting information."
And I do as you said,it appears "Internal Server Error".
I don't know why?
Solution to Clean Url's not working on GoDaddy
Great fix! Stripping off the ?q= after I altered .htaccess and uncommented Rewrite / base made the clean urls configuration page work properly. Totally counter-intuitive, I would have never thought of trying this but thank Science you figured it out. This trick should be in every GoDaddy Drupal setup tutorial.
Clean URL not working
Hello ,
Its not working for me giving error like----
Use URLs like example.com/user instead of example.com/?q=user.
Clean URLs cannot be enabled. If you are directed to this page or to a Page not found (404) error after testing for clean URLs, see the online handbook.
what should be the problem?
Check it out
Please do the below things to enable clean URL. Once you done , you need to restart the apache server and try the clean URL section in drupal. Some times you need to restart server.
Please open httpd.conf file from apache.
You can find it in .....//httpd/conf/httpd.conf
or ............//apache2/apache2.conf
remove comment marks from the below line
LoadModule rewrite_module modules/mod_rewrite.so
.............................................................................
Thanks jabroni
That did the trick. Is that a bug? The clean url checkboxes were disabled until I manually typed a clean url in the address bar. Strange.
Clean url ckeck boxes are
Clean url ckeck boxes are disabled due to your configration set up.
did u enable clen url in drupal admin area
check it out
//httpd/conf/httpd.conf
or ............//apache2/apache2.conf
remove comment marks from the below line
LoadModule rewrite_module modules/mod_rewrite.so
When I run Clean URL link at
When I run Clean URL link at the bottom, It redirects me to home page. Please help!
Obviously this means that
Obviously this means that for some reason clean URLs don't work. With only this information it is hard to say why. To summarize http://drupal.org/node/15365:
- Drupal's main .htaccess file contains some URL rewrites near the end, which are absolutely necessary. Do you have that file?
- For the rewrites to work, mod_rewrite must be enabled in Apache's configuration (assuming your web server is Apache).
- For the rewrites to work, Apache must read the .htaccess file. If Apache's httpd.conf contains an
AllowOverride Noneline for your web root directory, then .htaccess will be ignored.- In some server configurations where the directory structure is different from the URL paths, you may need to set
RewriteBase /(or something appropriate specifying a base URL path) in .htaccess.My .htaccess file is empty.
My .htaccess file is empty. Nothing in there.. Please help..
Get a new .htaccess file
Get a new .htaccess file from a drupal tar.gz package, same version as yours, and upload it to drupal's directory.
Hey thanks a lot! Works fine
Hey thanks a lot! Works fine now! Thanks!
I added to .htacess this:
I added to .htacess this:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
now it`s working perfectly;)
Eukhost fix
The above fixed worked for me after persevering with 10 other versions for ages, we Web designers were not built for this level of nerdyness. I am using Eukhost with a shared linux package for this to work:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Thanks!!
Really thanks.
Working perfectly! ;-)
thanks! it worked
i installed xampp with Apache 2.2.11, PHP 5.30, MySQL for my Drupal 6.14. everything worked properly. but when i started to use the contributor modules, drupal started misbehaving (coz it was PHP 5.30 !! ). i shifted to wamp server and PHP 5.2.11 and the modules responded correctly. but, drupal misbehaved (or may be Apache :>) right in the begining!
i modified the apache httpd.conf file at "C:\wamp\bin\apache\Apache2.2.11\conf" as mentioned above and everything again came on track!!
thanks!!
Runing Drupal 6.16, on cpanel, and its a webhost server.
My thing comes up as i can't even click on the enable link.
I also have no clue what apache is. i tried finding my access file or w.e but can't find one. So i assume i am not running apache.
Need some help please any would be appreciated.
Thank you
Scratch this.....I figured it out
Ok guys here is a way to fix this really stupid problem.
I am a complete nuuub with this and I could figure it out lol. So can YOU
Ok when you upload and install drupal to your server it doesn't add the access file to it beacuse your computer hides it.
-Make sure your folder options are set to View hidden files.
-Extract a zipped download of Drupal on your computer and you should find that file in there.
-Next upload the file to your drupal folder on your server and VIOLA it works.
If this was like a DUHHHH please bare with me guys I'm like a super NOOB with this stuff.
it worked for me twice
it worked for me twice
after spend a lot of my time finally i do your recommend and it worked for me too in two domain and two web site.
thank you indeed
Drupal 6 install via package manager
I installed via Ubuntu's aptitude on a vps and found a similar issue.
Mod Rewrite enabled OK
I attempted to visit admin/settings/clean-urls and found a 404 page - but the 404 error read:
Since drupal6 was at the alias /drupal6/ it was necessary to set the rewrite base in .htaccess
hi
i also got same problem i.e. disabled clean urls,
so i found that .htaccess file was empty, so i copied .htaccess file to the server and it works fine.
If site in sub-folder
Hello,
If you work in Sub-folder Like www.mydomain.com/site
you need to change the .htaccess
RewriteBase /site
Regards.
Mohammad
cant enable clean url
i moved my site from one server to another and could not enable clean urls. this is how i fixed the problem
opened httpd.conf file from apache.
You can find it in .....//httpd/conf/httpd.conf
or ............//apache2/apache2.conf
edit the line AllowOveride None to AllowOveride All in the web directory root of the httpd.conf file.
And save. ensure you create a backup of the file before editing.
also ensure the following settings in .htacess are enabled:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
restart the Apache server.
i was then able to enable clean urls on my site.
"Great fix! Stripping off the
"Great fix! Stripping off the ?q= after I altered .htaccess and uncommented Rewrite / base made the clean urls configuration page work properly."
This works for me....
Yes this is necessary to set
Yes this is necessary to set clean URL because it gives absolutely right information about that particular page. From Seo point google recommend only clean urls.
Clean URL FIX for Drupal Installation in Sub-directory(folder)
My drupal installation was in a subdomain, and on top of that I had the installation in a sub-sub-directory (public_html /subdirectory/ drupal_installation_directory). I figured this fix, and I hope you guys can benefit from it.
Clean URL NOT working fix:
1. Open .htaccess file from drupal installation directory(folder)
2. Edit .htaccess file with your favorite editor (notepad, notepad++, etc)
3. Uncomment line 103 or subsequent line number(line number based on a fully functional .htaccess file):
Not modified:
#RewriteBase /drupalWith mod:
RewriteBase /subdirectory_name/drupal_directory_installation_nameNote**: spaces are important.
Example: My site is at subdomain.domain.com/droops6/drooploop/?q=admin/settings/clean-urls
My mod was as follows:
RewriteBase /droops6/drooploop