Support » Fixing WordPress » Permalinks .htaccess GoDaddy trouble

  • First of all, I am hosted by GoDaddy, so I had to create my .htaccess file (is it supposed to have a .txt extension?) I have been trying for 2 weeks to get it to work right. Is this what my .htaccess file is supposed to have in it? I don’t think my WordPress has had any luck putting anything in there. I just copied and pasted this from a website. Please help! Need to launch soon!

    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4
    Options -MultiViews

    # BEGIN WordPress
    RedirectMatch permanent index.php/(.*) http://domain.tld/$1
    <ifmodule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.cockydeals\.tld$ [NC]
    RewriteRule ^(.*)$ http://cockydeals.tld%{REQUEST_URI} [R=301,L]
    RewriteBase /
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.(html|php)\ HTTP/
    RewriteRule ^(([^/]+/)*)index\.(html|php)$ http://domain.tld/$1 [R=301,L]
    RewriteCond %{REQUEST_URI} /+[^\.]+$
    RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </ifmodule>
    # END WordPress

Viewing 14 replies - 1 through 14 (of 14 total)
  • My friend, .htaccess file has everything to do with your wordpress installation.

    It is not a text file, just leave the name like is

    .htaccess

    If you copied it from another website, will not work for you as soon you don’t update the links from within the file.

    Try and delete that file from your hosting provider, as it will be recreated when you visit permalink structure from your admin control panel.

    A link to your website would help also.

    Thread Starter tura910

    (@tura910)

    I know for a fact that the file cannot be created automatically through wordpress. Tried it already. I think I found out the problem had to do with my hosting being Windows instead of Linux. I am in the process of switching it over now. I’ll write again if it works or not.

    Windows? You should switch to Linux, it will solve the problem.

    Thread Starter tura910

    (@tura910)

    Yep! It worked instantly. My site was pretty small so it only took GoDaddy about 2hrs to transfer over. Not their predicted 72hrs.

    Hi i am facing this problem too, please guide me how can i resolve this issue i m Tired and Hate GoDaddy Now !

    The main thing which is too complicated for me, First i have installed WordPress on Godaddy By the Godaddy’s Application It was installed sucessfully but
    when i update permalinks so my all blog pages giving 404 errors, i changed the By default setting of WordPress’s Permalinks, now its working but whenever i am trying to put pretty permalink it is not working so can you please let me know what is the main problem, is problem in Godaddy or in my installation…… i have reviwied on internet and try to install manually so when i upload the wordpress files (Zip) and did UnZip using Godaddy and now its giving me
    ” 500 Internal server error “
    so kinly help me out from this….

    Best Regards
    Khan

    @farazhan
    Sorry to hear this. Permalinks work without issue on our hosting servers. As for the 500 error, this can be caused by a variety of issues. If you’re account is Linux, most likely it’s a corrupt .htaccess file.

    Without more information it’s hard to pinpoint. To obtain further assistance with this, please contact our support team here.

    It’s related to how permissions are used between the different kind of server types and how WordPress utilises those permissions in the process of trying to create and/or modify the htaccess file (or has been in some cases).

    There’s a codex page somewhere that details what i’m talking about (i proberly make very little sense), be damned if i can find it though…

    Nice to see a host posting here to help though… good on ya GD guys.. 😉

    I agree with t31os_ as much as I despise Godaddy, kudos to their team for visiting the WordPress forum and offering help. That’s fantastic customer service.

    @gdhosting,

    I was told today by GD support that permalinks only work on the old legacy hosting and not on the new grid windows hosting. Can you provide more info on this?

    Well I’m hoping a GD support person will visit and verify if the new grid hosting will support MSFT URL Rewrite or not. I’ve been told not and that it is only available on their legacy systems meaning they don’t support WP well on the new grid systems. Please tell me I’m wrong and permalinks are supported on the new grid hosting.

    I got permalinks working on GoDaddy WIMP with their new grid hosting where they do not have Microsoft URLRewrite installed, thanks to an article by John Sessford. I have posted a reference to John’s article, code and my GoDaddy tailored instructions at my new WP site located at http://www.49thlatitude.com/wordpress/wordpress/permalinks-on-godaddy-wimp which nicely uses the new permalinks ability. – Dave

    @codeslinger
    Glad to see you got permalinks working. To verify, URL Rewrite Module for Web hosting (powered by Grid) is in the works.

    Alicia

    FYI this ‘fix’ also works on Godaddy Windows Hosting (as of April 2010 at least)

    http://wordpress.org/support/topic/305673?replies=20#post-1507468

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Permalinks .htaccess GoDaddy trouble’ is closed to new replies.