WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] GoDaddy Permalinks (13 posts)

  1. anupamk130
    Member
    Posted 4 years ago #

    I am having issues with GoDaddy permalinks. Default works, but custom doesn't. any solutions?

    I found this on the web. http://ctrlf5.net/?p=9
    If this does indeed work, would google still think its a dead link? does it effect seo?

  2. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    Set your desired permalink and add this code in htaccess of your blog/site:

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

    Thanks,

    Shane G.

  3. Custom permalinks can take up to half an hour to kick in, due to the way GoDaddy clusters servers. They CLAIM they no longer cache the .htaccess file, but the problem has persisted enough that I think they didn't fix all the servers.

    From http://zacvineyard.com/blog/2008/10/24/wordpress-godaddy-and-permalinks/

    All you need to fix this problem is patience. Every hour (at the top of the hour), GoDaddy refreshes .htaccess file configurations on their servers. After you select the appropriate Permalink structure you’d like your blog to have, you need to wait for GoDaddy’s servers to refresh the .htaccess file configuration. Once this happens, your permalinks (modifed URLS) should be working perfectly.

    One of the commenter had a slightly different solution and as of 2 days ago, someone assured me it was still working:

    What finally worked for me was taking the advice of one persons comment to go godaddy host centre and under “Settings” and then “404 Error Behaviour” I selected “Use Homepage” instead of “Use GoDaddy custom page”. Worked right away after that.

    So...
    1) Make the change and wait till the hour.
    2) Try the 404 fix.

  4. anupamk130
    Member
    Posted 4 years ago #

    Yeah I tried waiting till the hour and it still didn't work. If I try the 404 fix, do search engine crawls still treat it like a dead link?

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    also...are you on godaddy linux, or windows hosting?

    you really need to be on linux

  6. anupamk130
    Member
    Posted 4 years ago #

    yes I am on linux

  7. anupamk130
    Member
    Posted 4 years ago #

    Shane - I tried your way and it hasn't worked yet either I'll give it a bit though let's see what happens.

  8. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    I just looked at my .htaccess and it's kinda crazy looking....and I can't for the life of me recall messing with it

    I have been using the permalinks on godaddy for ages, with no issues, and never set up any 404 fix, and never had to wait.

    All I can do is post my htaccess and hope something in it helps you...

    RewriteEngine On
    RewriteBase /
    
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
  9. anupamk130
    Member
    Posted 4 years ago #

    nope that didn't work idea. what is going on here?

  10. If I try the 404 fix, do search engine crawls still treat it like a dead link?

    Yes, the 404 fix will still treat dead links as dead, it just stops redirecting them to GoDaddy's special links.

  11. anupamk130
    Member
    Posted 4 years ago #

    I tried the 404 fix and that doesn't seem to work either.

  12. anupamk130
    Member
    Posted 4 years ago #

    ok it just started working, I have no idea why and how. thanks for your help

  13. Like I said, caching :) Anytime you make big changes on GoDaddy, you have to wait a bit for it to propagate.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.