• Resolved jaxsedrin

    (@jaxsedrin)


    Just thought I would post a few things I’ve learned while trying to get permalinks to work on my GoDaddy account. Some of this might be addressed elsewhere, but I think at least one piece of information is new (because I couldn’t find it anywhere in the support forums).

    Anyways, problem: I couldn’t get the permalinks to work with my Linux GoDaddy account.

    After reading through the documentation, it quickly became apparent that the install script didn’t generate a .htaccess file. So, I created a blank one, uploaded it, and CHMODed it to 666.

    I tried accessing the .htaccess file using WordPresses’ Manage Files utility. It gave me some sort of read error. Well, apparently the utility doesn’t like files of 0 length, so just throwing in a word or letter into the file easily fixes that.

    So now, I go into the Permalink options, switch from the ugly “?” urls to the pretty date-based ones, and save. Back on the main page, I try and click one of the permalinks… no good. It just kept giving me missing page errors.

    I switch back to the Manage Files utility… and the permalink code is all there, inside the .htaccess file. But it still wasn’t working. I did some searching through the GoDaddy support files to make sure it supports mod_rewrite (it does) and allows .htaccess files (it does), but then I found something interesting (and this is important!):

    NOTE: Changes made to an existing htaccess file will be seen immediately. When a new htaccess file is created or an existing htaccess file is deleted, however, these changes will not be seen until the htaccess cache is cleared. This occurs every hour.

    So, all I had to do was sit back and wait about an hour. Sure enough, permalinks magically started working. CHMODed .htaccess back to 644 and I’m all set.

    Hope this helps!

Viewing 8 replies - 1 through 8 (of 8 total)
  • febwa1976

    (@febwa1976)

    Useful info. I just installed a test blog on godaddy to test them. My permalinks also did not work immediately but started working within a few minutes.

    By the way I never installed an htaccess file like you describe?

    ladydelaluna

    (@ladydelaluna)

    Wow – I was literally racking my brain over this, and had just about resolved to having to deal with it if I didn’t set it straight away… thank you SO MUCH!

    harryc

    (@harryc)

    Thank you for this extraordinary insight.

    All things come to those who wait! (:=))

    gr8 info! im having same problem. now after readin ur post, i’ve deicded to wait for some time and see if it starts working. keepin my fingers crossed!

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    This confuses a lot of GoDaddy users at first. The thing to do is to make sure that your .htaccess file looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>
    # END WordPress

    Or something similar to that. If so, just wait a few hours and it’ll work. 🙂

    jaxsedrin, many thanks – I didn’t have the patience to wait before and just assumed they didn’t work. Now, my website has its permalink structure changed as well! Thank you very much.

    P.S. I never had to create a .htaccess file, I simply changed the structure and waited! (GoDaddy Linux server)

    Myo Kyaw Htun

    (@myochauhtun)

    I’ve installed WordPress using Godaddy’s metropolis installation under http://blog.myokyawhtun.com . Now I’ve problem with url after i changed to pretty permalink url. I found 404 error. you can take a look here

    http://blog.myokyawhtun.com/2007/04/04/hello-world/

    the content of .htaccess :

    # BEGIN WordPress

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f

    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule . /index.php [L]

    </IfModule>

    # END WordPress

    Is there anyone has this experience with Godaddy’s linux hosting plan ?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Permalinks on a Linux GoDaddy account – problem and solution’ is closed to new replies.