I am working on a site for a client that already has a Godaddy hosting account, so we're trying to utilize that. I installed Drupal, and all works fine so far except for one thing-- clean URLs.
I have searched and searched on solutions, and I have tried everything I've seen...
Making edits to the .htaccess file such as:
> Uncommenting "Rewrite Base /" (my files are in the root)
> Adding "AllowOverride All"
> Adding a forward slash before the index in RewriteRule ("RewriteRule ^(.*)$ /index.php?q=$1 [L,QSA]")
> Adding "#php5 in GoDaddy account
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4"
Adding a * pointing to the @ IP address in the Domain records. (http://www.jtpratt.com/how-to-fix-htaccess-file-for-mod_rewrite-and-addh...)
Nothing is working, and I'm at a loss of where to go from here. If anyone has had this problem and came to some other solution, I'd love to try it. Thanks!
Comments
Same Here
I usually place my clients on a host other than godaddy, but still maintain my personal sites on Godaddy. It sucks because some modules need Clean URLs. I have not found a way to get Clean URLS to work in the root.
The only way I could get clean URLs to work was by having the drupal package in a folder.
instead of
www.mysite.com
It would be
www.mysite.com/drupal (or whatever you want to name the folder)
I never liked this so I just gave up on Clean URL's with godaddy.
If any one has a solution let me know.
Thanks
I tried putting a copy into a
I tried putting a copy into a subfolder, but Clean URL still doesn't work. Anyone have any other suggestions? I know godaddy just isn't the best place to host, but I'm trying all avenues before trying to convince the client to go elsewhere. Thanks!
What version?
Are you using Drupal 5 or 6? (or 7?) I battled with the same problem for quite a while... Posted a screencast (http://jerdiggity.blip.tv/file/1221284/) after the problem was solved but it sounds like you already addressed that issue. One thing I did find is that even after un-commenting the rewritebase thing, when I'd go to (attempt to) enable clean URLs, the "on" radio button was still greyed out -- but then I found that when I refreshed the screen and clicked the "test..." link, the "On" (or maybe it's "Enabled") button was now writable. I've since had to deal with GoDaddy more times than I care to discuss, but the up-side to that is that I've been able to help several people with GoDaddy problems... Let me know if you have any specifics that might help in getting the clean URLs enabled.... :)
jeremy
---
Yo that's shizzle.
I am on version 6. Beyond
I am on version 6. Beyond what I mentioned, I have tried turning Path on and off, refreshing more times than I care to mention. I also read somewhere that some people are able to take the index.php?q= part out of the url in their browser (effectively going to the shortened clean url) and the option will no longer be grayed out, but that just 404s on me.
It is worth mentioning that although the .htaccess is telling the server that index.php is the DirectoryIndex, it ignores that and still goes to the index.html (which is fine since that is my temporary coming soon page anyhow). I would assume it was ignoring the .htaccess file altogether if certain things along the way actually made the server error.
One last bump. I know I can't
One last bump. I know I can't be the only one who has had this issue. Thanks!
Any updates on this?
Any updates on this issue? So from what I understand, clean URLs will not work on root on godaddy? Currently I'm working on a site hosted on godaddy but stored in /_test. If moved to root, cleanURLs won't work?
I don't know if Godaddy has
I don't know if Godaddy has changed something, but Clean URL's suddenly started working for me. I am running multiple sites off a single install as well.
Then again I replaces the .htaccess file with the last update. That may have been the change. Not sure... But it is possible to get clean URL's on the root.
Make sure you are not on a WIndows (IIS) machine
Been looking for days (litteraly) to solve this.
Must have uploaded over 40 versions of .htaccess file only to find out that my GoDaddy (free hosting package) server is an IIS 7 Windows machine (check by uploading a php file with in it and browsing to it)
phpinfo()If you are on a GoDaddy Windows machine too, you won't have any use with the .htaccess file since it is not being picked up by IIS.
How to get Clean URL's working on a GoDaddy Windows II7 machine.
phpinfo();in it(you need a web.config file , instead of a .htaccess file)
Damn , that took a serious chunk out of my life :)