Call Us :+046-4097-901
Email :
info@rdrc.tech
How To Remove PHP Extensions From Your Hostinger Website Using An Htaccess File
November 9, 2020 No Comments Tutorial rhalp10Here's a basic guide to removing the .PHP extension from your hostinger-hosted website.
1. Go to your hosting panel.
2. Click File Manager

3. Open "public_html" folder

4. When you click the new file icon, a pop-up modal appears. Enter ".htaccess" and press the enter key.


5. Open the ".htaccess" file, copy and paste this configuration, and then click "save & close."
.htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule !.*.php$ %{REQUEST_FILENAME}.php [QSA,L]
Tags
About The Author
Posts You might like
0
0
votes
Article Rating
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments