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
Hey Namaste 🙏, In a one of the recent project, We have a requirement like need to display year-wise months at the right side of the page and on click any month have to display a list of the blog post of that month using ajax and have to disable month if there no any […]
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