Forums

Permalinks & .htaccess (6 posts)

  1. rmayo
    Member
    Posted 2 years ago #

    My permalinks are not working. I host using Fat Cow and I recently started my own wordpress blog to help learn the ropes (www.remayo.com). Yesterday I spent probably 5 hours trying to get the permalinks to work. I created an .htaccess file and put it in the root directory of my webserver (I did not see an .htaccess file that came with the installation... but I also didn't have view hidden files set on my ftp before I created my own htaccess file. Could I have overwrited the original htaccess file when I inserted my own blank one?). Then I went to wordpress settings, permalinks, and changed the permalinks to custom /%postname%/

    I saved that information and it told me to update the .htaccess file. It gave me code to put in the file at the bottom of the page so I copied it and pasted it into my .htaccess file. Yet after trying this multiple times with multiple approaches, I’m still getting 404 errors.

    Do you have any idea what I could be doing wrong or what I should try next?

  2. rmayo
    Member
    Posted 2 years ago #

    anyone?

  3. sutterbomb
    Member
    Posted 2 years ago #

    I'm also on FatCow and having the same trouble. Were you able to figure it out?

    I haven't created a new .htaccess for fear of overwriting the original, but I can't find an .htaccess file anywhere (other hidden files are visible).

  4. jevets
    Member
    Posted 2 years ago #

    I was able to simply create (or upload) an .htaccess file to the server, and it seems to be working just fine. In other words, I didn't have to use fatcow's .htaccess editor.

  5. spindledesco
    Member
    Posted 2 years ago #

    Yes! jevets and sutterbomb, thank you so much for the tips!

    I ported a friend's WordPress blog from Network Solutions to FatCow and suddenly started having the same trouble. Once I finally tracked the issue to the .htaccess file, I couldn't believe how frustrating it was trying to wrangle access or get answers on FatCow's site.

    In any case, I just created a brand new .htaccess file, copied the snippet from the permalink page into it, and then stuck it in the root folder. Problem solved, apparently.

    Thanks again!

  6. Shane G.
    Member
    Posted 2 years ago #

    Hi,

    Set your desired permalink structure and add this code in htaccess:

    # 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

    After that have a check with old posts and new posts.

    Thanks,

    Shane G.

Topic Closed

This topic has been closed to new replies.

About this Topic