Using custom WordPress permalinks can improve search engine optimization(SEO) and make your website's URL more attractive for searches. WordPress permalinks are the permanent URLs for your posts and pages.
Note: If you do not have a .htaccess file then you can create one with your FTP client, or create one on your local computer and upload it to the hosting account.
# 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]</IfModulec># END WordPress
Note: If you do not have a web.config file then you can create one with your FTP client, or create one on your local computer and upload it to the hosting account.
<?xml version="1.0" encoding="UTF-8"?><configuration><system.webServer><rewrite><rules><rule name="WordPress Rule" stopProcessing="true"><match url=".*" /><conditions><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /></conditions><action type="Rewrite" url="index.php" /></rule></rules></rewrite></system.webServer></configuration>
Save the file, and upload it to your hosting account.