Wordpress Links on Hostgator Show 404 Error

Hi Members. I changed the permalink structure and this issue began.

I can see the first blog post on the homepage but when I click on the post title I get the 404 error. I searched on Hostgator forum and got the code for inserting in .htaccess file.

# 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

Created a new text file in the file manager and renamed it .htaccess … inserted the code but the issue persists.

Had a chat session with hostgator rep but they said they can’t provide support with .htaccess editing issues. Website URL is healthtrawl dot com

Thanx a lot in advance.

Looks like you already fixed it.

Ya Dan. Got a reply on wordpress forums. The issue was that the permalink structure was not ocrrect. I had forgotten to add the / at the end. :slight_smile:

Please don’t warn me for replying to Dan’s message. I am learning.

PS: Checked ur website Follow Ham. Nice work!