|
Post by mimjannat109 on Jan 9, 2024 3:54:42 GMT
The page not found error, then you may try the next solution. Method Check and Replace Your .htaccess File If the permalink structure of your WordPress is all okay, then chances are you need to look into the configuration of your .htaccess file. Here you need to check if the root cause for your broken permalink error in WordPress is due to renaming or disabling your current file and replacing it with the default code of WordPress .htaccess file. However, in order to disable rename the file, you can follow the following given steps. Login to your cPanel. In the cPanel, head to File Manage and access the file. Panel File Manager Navigate to, htaccess file finds in the same location Email Marketing List where wp-content as well as wp-includes are stored. Public HTML File Now click on the Rename option and type the new name in the pop-up in order to disable. Now you need to create a new htaccess file. Ad in your newly created file copy and paste the following lines of default WordPress .htaccess code and Save it. BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase RewriteRule ^index\.php$ - L RewriteCond {REQUEST_FILENAME} !-f RewriteCond {REQUEST_FILENAME} !-d RewriteRule . index.php L < IfModule> END WordPress Finally, try refreshing your WordPress website and check if the permalinks are working or not.
|
|