Snippets

How to achieve numeric URLs in WordPress?

April 11, 2017    
Nirmal    

A few days back I came across a strange issue with numeric URLs in WordPress mentioned in support request of WordPress forums that WordPress is adding a suffix whenever we try to make the post/page slug to numeric only. Suppose, if I have a URL like the following http://example.com/123456789/ WordPress automatically changes this to http://example.com/123456789-2/ After checking this weird issue, I thought to debug and find out a solution. After few hours…   read more 

Set a minimum length for WordPress comments

August 25, 2014    
Nirmal    

You might often come across some comments where people put their website url in order to get a link back to their website or some comments like “Nice Post”, “Great Read”, “Thanks” etc… You might always end up in moderating these types of comments and making it spam or trash it. The main purpose of comments on a blog is about discussion and people can always thank your or appreciate you by…   read more