.htaccess files not reade

My website URL is:

What I’m seeing is:

I’m using this software:

Additional information:

I have edit my . htaccess file and upload it.
But a error 505 will display on my site.Thank you.

What is the content of the .htaccess file (put 4 spaces before the text content to format it)?
However, please compile the template with the required informations before you post on the “Hosting Support” category!

Hi, thank you for your answer.An this is the contents of my file. HTACCESS

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
RewriteRule^prono\/?prono.php[L]
RewriteRule^about\/?about.php[L]
RewriteRule^contact\/?contact.php[L]
</IfModule>
ErrorDocument 400
http://cturf.epizy.com/404.php
ErrorDocument 401
http://cturf.epizy.com/404.php
ErrorDocument 403
http://cturf epizy.com/404.php
ErrorDocument 503
http://cturf.epizy.com/404.php

When I put it on the basis of my site, an error appears, I can not display the page.I think I said.

This .htaccess doesn’t have correct syntax. Here is the complete correct code:

#remove php file extension-e.g. https://example.com/file.php will become https://example.com/file, and just redirect almost all errors to the 404 error
RewriteEngine on 
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php [NC,L]
ErrorDocument 400 http://cturf.epizy.com/404.php
ErrorDocument 401 http://cturf.epizy.com/404.php
ErrorDocument 403 http://cturf.epizy.com/404.php
ErrorDocument 404 http://cturf.epizy.com/404.php
ErrorDocument 503 http://cturf.epizy.com/404.php

Then upload it on the htdocs folder, not on other folders!
If your browser returns an HTTP Error 505 while visiting the site then it means you’re using a older browser, so try upgrading it to the latest version, or just download Chrome.

1 Like

I added some quotes to your post to make the code readable as code. However, the code as it’s posted right now is not valid .htaccess code. Please double check your use of whitespace within lines.

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