Changing number of blog posts in Twenty seventeen Wordpress theme

Removing date from WordPress urls

Creating a blog with WordPress has never been easy as before.

After setting up the latest WordPress blog I noticed that by default all posts have a date as part of the URL.

Some SEO experts recommend removing dates from URL. Google can use a blog post date as a strong page factor when displaying results. As experts know, Google wants the results to be always fresh and updated. So by setting the date you literally say that this is a great article but it is relevant only to it’s publication date. So by simply removing the date from URLs, you can get more traffic from search engine. Some webmaster report 50% increase in search engine traffic.

It can be easily done. Just open your WordPress blog admin panel.

Click on Settings -> Permlinks -> Post name

 

Removing date from Wordpress urls

You can also consider adding the category as part of the URL.

Enable short URLs in Apache

After saving changes, I had to create a .htaccess file on web website root directory with the following code:


<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>

About the author

Yuli Stremovsky
Yuli StremovskyCloud Security & Blockchain Architect
For the past 15 years I’ve been leading the evolution of startups and enterprises to achieve the highest level of security and compliance. Throughout my career I’ve been a Cyber Security expert and advanced solutions architect with many years of hands on experience both on offensive and defensive side. Knowledgeable at the highest level in application development, networking, data and databases, web applications, large scale Software as a Service solutions, cloud security and blockchain technologies.

I’ve been working with CISO’s of international enterprises, helping them set Information Security strategy, and overseeing the implementation of these recommendations. As part of these projects, I’ve been assisting companies to achieve compliance in GDPR, PCI, HIPAA and SOX.

Among my credits, I was a founder of a database security company GreenSQL/Hexatier which was acquired by Huawei and I’ve co-founded Kesem.io, Secure multi-signature Crypto wallet.

Specialties: Software and cloud architecture, Compliance (GDPR, HIPAA, PCI, SOX), blockchain technologies, software development, secure architectures, project management and low level research.