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?
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).
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.
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!
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.