Using blow code you can remove all .html Just add this code in your root location .htaccess ————————————- RewriteEngine on RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC] RewriteRule ^ /%1 [NC,L,R] RewriteCond %{REQUEST_FILENAME}.html -f RewriteRule ^ %{REQUEST_URI}.html [NC,L] —————————– old URL yourwebsite.com/about-us.html New URL yourwebsite.com/about-us
Category / Tips
Hey Namaste, In this article, We will learn some of the SSH commands for server operations like zip, unzip, delete and move a file from one server to another. SSH is the best solutions to do a server-side operation in speed. So Let’s start. SSH in simple language Stands for “Secure Shell or Secure Socket […]
One of my projects, When try to push my work on bitbucket using Git Base it gives me failed to push error. After the google, got the solutions. Thanks to @Javier Parra You have the same error then try below commands git push origin master –force or short of force -f git push origin master -f […]
Recent Comments