wordpress pretty permalink

What is Pretty Permalink?

Permalink are the permanent URLs of websites or blogs. It may be pages, posts, categories, tags, projects and portfolio URLs. Pretty permalinks are the SEO friendly permalink which contain post category, tag, title in the URL and allowing you to use Keywords inside the URLs.

Sometimes you may experience a 404 error or blank page/post due to pretty permalink. I have googled and found the below solutions in WordPress Blog Pretty Permalink that is working for me fine. You may try this method. It is very simple and straightforward.

Where will I Find The .htaccess file?

You need to log into your hosting account via cPanel or FTP. From cPanel you need to select File Manager then go to the public_html folder. And from FTP go to the Public_html folder. There you will find the .htaccess file. Sometimes it may be hidden.  You can now right click and then Edit the .htaccess file.

Adding this below code to the .htaccess file in your host server root of WordPress site solved the pretty permalink issue. Before you do it please keep a backup of your .htaccess file (existing if any). Also I suggest keeping one Database backup before you start work. This will save your valuable time. If there is any mess then you can roll back the site to the original.


# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Related Posts

How to create clickable phone and sms link?

How to create clickable phone and sms link?

How to create clickable phone and sms link? Nowadays no one can pass a single day without a smartphone. Laptop/Computer Tabs are much more essential for web browsing in modern day. So a web designer or web developer should care about creating clickable phone links and...

read more
Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.