How long does it take for htaccess file to update?

domallen.com

I’ve just checked my site and no pages will load without the .html extension. I have changed the htaccess file to omit the file extension but no pages will load without it.
Example here
https://domallen.com/project-page_02

This is my htaccess file:

#mod_rewrite starts here

Options +FollowSymLinks -MultiViews -indexes
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html [NC,L]

RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
RewriteRule ^ %1 [R,L,NC]

RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.html [NC]
RewriteRule ^ %1 [R,L,NC]

RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\index [NC]
RewriteRule ^ %1 [R,L,NC]

RewriteCond %{HTTP_HOST} ^www.domallen.com [NC]

RewriteRule ^(.*)$ https://domallen.com/$1 [L,R=301]

Error Message

(please share the FULL error message you see, if applicable)

Other Information

(other information and details relevant to your question)

I checked your account and I see the issue.

You have a htaccess file. However, a htaccess file isn’t something a server understands. The file should be named .htaccess for it to work. Simply rename the htaccess file to .htaccess, and the rules will be applied.

6 Likes

Magic thank you

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.