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
Author / Yuvraj Khavad
Hello Namaste 🙏, In one of our recent projects, we have a requirement to display months organized by year on the right side of the page. When a user clicks on a specific month, we need to use AJAX to fetch and display a list of blog posts published during that month. Additionally, if there […]
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 […]
Recently one of my client’s projects, I have to update WordPress and plugins. At admin panel, there is the update available message but there is no option to update WordPress and there is a no add a new plugin button in the plugin menu. Also, there is no any message plugin update available but there […]
Recent Comments