The .htaccess is a configuration file and is used to alter the configuration of the Apache Web Server. We can enable/disable the additional functionality through this configuration file.
Today, I am sharing some common Rewrite Rules that most of the peoples need to alter some Web Server configuration. WordPress comes with pre-build rewrite rules in the .htaccess file.
If in case, you don’t find the .htaccess file from the root directory then you can generate it through Dashboard > Settings > Permalinks.