Optimizing URLs in WordPress

I'm thinking about what to include CNC many of the readers on the site know and can skip the next comment. For those who don't know, here's an example..

In WordPress CNC included in Settings -> Permalink Settings. The best option is when the link is as short as possible by nesting, and by the length of the link text, therefore, you must select the Custom Structure item and enter /% postname% /.

Climbing once again on the baynet, I found the code, which makes URL even shorter. Code removes from URL short words with a given number of characters.

Link optimization code example:

 

You can also remove individual stop words from the page address:

Checked scripts and everything works.. Be careful not to use this code on old sites so as not to spoil the addresses of the old pages of the site!

Купить хостинг WordPress
/* WordPress tutor
Online tutoring services. List of courses I teach
  • Basic web design course;
  • Site layout;
  • General course on CMS WordPress and continuation of the course on template development;
  • Website development in PHP.
Read more on the page WordPress tutor
*/

Nikolaenko Maxim

Director of web studies ProGrafika. I am developing, website design and promotion. Always glad to new blog readers and good clients.


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Templates for WordPress
The best hosting in Ukraine
Stable hosting for Drupal