Hello, I’ve tried removing the .html and .php from my url’s, but i need to edit the .htaccess file to do that. When i click save, it says Cannot be saved. Any help? Thanks!
The code below is what im trying to write in:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)$ $1.html [NC,L]
>Hello, I’ve tried removing the .html and .php from my url’s, but i need to edit the .htaccess file to do that. When i click save, it says Cannot be saved. Any help? Thanks!
The code below is what im trying to write in:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^.]+)$ $1.html [NC,L]
Hello,
Make sure you are creating .htaccess file inside htdocs folder because you cannot edit/create any file outside that.