I have a small problem, I'm using the biz-directory script, I found a rewrite module for .htaccess so the urls are rewritten to /1.php, /2.php and so on. Got things working until I moved the site to a godaddy account. Here is the .htaccess code: RewriteEngine on RewriteRule ^([0-9]+).php$ index.php?c=$1& [L] RewriteRule ^([0-9]+)add.php$ add_url.php?c=$1& [L] Code (markup): So I contacted godaddy support about this problem and they told me this: I don't quite get this, now I know the servers path but how do I put this into .htaccess and get it to work? Did various searches around the internet for tutorials or examples but I didn't found anything that solves my problem. Does any one has experience with using .htaccess/mod_rewrite at godaddy accounts or knows how to solve this problem?
If it worked previously, but not at godaddy, you are more than likely out of luck. In order for rewrite rules to work in a virtual host directory, it needs to be configured with the "Options FileInfo" directive in apache. If that is the response they gave you, they are not likely to change things for you.
I have a big problem with godaddy hosting I put .htaccess file and it blocked access for every type of file(jpg,txt,html..etc) but it didnt block access for .php files and I dont understand why The same htaccess I put it on different ather hosts(I tried 5 hosts...my friends hosts) and there it blocked everything(php files too) Support from godady said that they cant help me with this problem AuthUserFile ................../htaccess AuthName "mypage" AuthType Basic <Limit GET POST> order allow,deny allow from all deny from xxx.xxx.xxx.xxx </Limit> I also tried this AuthUserFile ........................../htaccess AuthName "mypage" AuthType Basic <Limit GET POST> <Files ~ "^.*\.([Pp][Hh][Pp])"> order allow,deny allow from all deny from xxx.xxx.xxx.xxx </Files> </Limit> It blocks access for every type of file but not for .php files I also tried <Files ~ "^.*\.(PHP|php)"> The same problem...can you try this on your godaddy account and tell me if U have the same problem with php files? Godaddy support says the same thing :we cant help u with this If they can help me with this simple thing why give money to them when on ather hosts this is working fine and a lot of ather weird problems that I have on godaddy I dont have on ather hosts
Its public knowledge that GoDaddy won't support what you are looking to do. Furthermore, they will tell you that flat out from the begginning whether you are a customer or not. This is the comprimise to have dirt cheap hosting. This doesn't mean they suck. It just means they are after a certain market. I personally host some of my simple sites with them and couldn't be happier. My other sites I pay more for hosting and get the attention they need. Thats what I would suggest in this situation rather than blaming them.
The one thing that I kept seeing was you have to put up something like this in order to make it work: (in your .htacces) replace a/c/c/ with the first 3 letters of your account and replace accountname with your accountname. I have learned that you cannot 'force' the servers of godaddy to do something with .htaccess and Godaddy will not change anything. Well that's the price you have to pay with cheap hosting. I have one site hosted there and it's working fine.
Thread bump Seems like Gocrappy servers aren't passing on htaccess variables(([0-9]+), (.+)) And they havent fixed it from 2005 :O Has anyone got alternative solutions other than switching host??
A question for all who encountered issues with .htaccess and GoDaddy: do you have multiple domains on the same hosting plan? For instance, I couldn't make phpLD working with SEO names on domains that are hosted toghether, on the same account, but on separate folders, but I managed to make phpLD work just fine with domains that were pointed to the root of the hosting account. I suspect that, in the first case, I didn't set-up properly RewriteBase in .htaccess, that's why it didn't work. I still don't know where to point that RewriteBase, and the logs I can see do not help me (I need the rewrite.log, which GoDaddy can't offer me).
The problem with godaddy is that they dont support many things that are not 100% standard. Choose another host.
Some things improved at GoDaddy. For instance, now I can run WordPress and Drupal without any problems (which didn't happen on the past). It's important to know that if you create a .htacces in a folder, this file will be interpreted (taken into consideration by your program) within the next hour (not instantly). After understanding this, many problems were solved easily.
I got a shared hosting account with Godaddy sometime back, I tried a script on it and had few issues along with the issue I have posted above. So I moved onto another. Later on, I uploaded the same script to a Godaddy dedicated hosting account for a client, it worked as expected. In that case I had to use RewriteBase on htaccess files, everything else worked fine. Seems like they have different configurations for different. But these kind of stuff are expected as standard
This page should be of help: http://help.godaddy.com/article/1641?isc=isc_code NOTE: Due to server caching, new .htaccess files may take up to one hour to be recognized. Changes to existing .htaccess files are picked up immediately.
Hello, i recently setup this site and am having some problems with mod rewrite. Basically, i need someones help to have a look at my file and let me know how i can fix it to make this site work properly. I know how the site is supposed to function. Because i have seen it running on another hosting account. So i know it is something simple. But i do not have a clue. This is what my htaccess file consists of. RewriteEngine On RewriteRule ^zoom/(.*)/(.*)/$ zoom.php?id=$1&name=$2 [L,NC] RewriteRule ^([0-9]*)/(.*)\.html$ ./../album.php?id=$1&name=$2 [L,NC] Now where my issue lies is on the zoom.php line command. Click here to see what happens when you try and zoom in on a wallpaper. It takes you to a "No input file specified" error page.. Originally when i set it up i had same error with the album.php command as well. and i added ./../ to the line and it worked. I tried the same with the zoom.php line but no luck. Maybe somone could help out? I have this same error when viewing the profiles of a user at this site.
If the script you use is free (or is no secret), please send me a link to it. I have a GoDaddy account, and I can test it and see what to do to make it work.
Thank you very much for this tidbit! I recently discovered that my .htaccess was lost when I switched hosts and when I uploaded a new one, notthing changed. I now have hoped that its been cached and I just have to wait a bit before I'll be able to test it.
It looks like I got my issues resolved, so no, I'm not having any problems with 301 redirects on GoDaddy. I'm just doing the basic redirects to avoid duplicate content. Here's a sample of what I used. RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.domainname.com RewriteRule ^(.*)$ http://www.domainname.com/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^GET\ .*/index\.(php|html)\ HTTP RewriteRule ^(.*)index\.(php|html)$ /$1 [R=301,L]