Forums

Permalinks .htaccess GoDaddy trouble (10 posts)

  1. tura910
    Member
    Posted 5 months ago #

    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

  2. fldtrace
    Member
    Posted 5 months ago #

    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.

  3. tura910
    Member
    Posted 5 months ago #

    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.

  4. fldtrace
    Member
    Posted 5 months ago #

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

  5. tura910
    Member
    Posted 5 months ago #

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

  6. farazkhan
    Member
    Posted 3 months ago #

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

  7. farazkhan
    Member
    Posted 3 months ago #

    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

  8. GDHosting
    Member
    Posted 3 months ago #

    @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.

  9. t31os_
    Member
    Posted 3 months ago #

    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.. ;)

  10. crondeau
    Member
    Posted 3 months ago #

    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.

Reply

You must log in to post.

About this Topic