Wordpress SEO - What are you looking for?

If you're looking for answers to SEO or wordpress related questions, type in a phrase and wait for hints or click enter! The results also show links to external sources.

161 articles in the database

How to automatically remove short words from url's

[ Article content is protected by Plagiashield ]

Today I'm going to introduce you to a short code that allows you to automatic removal of short words from addressurl. Code removes phrases with less than 3 characters from automatically generated direct link WordPress-a and in the vast majority of cases will allow for increased concentration in the construction of address on the key phrases we are interested in.

To do this, you need to include the following in your template websites put the following code in the functions.php file:

add_filter('sanitize_title', 'remove_short_words');
function remove_short_words($slug) {
    if (!is_admin()) return $slug;
    $slug = explode('-', $slug);
    foreach ($slug as $k => $word) {
        if (strlen($word) < 3) {
    return implode('-', $slug);

Wojciech Wladzinski

O Wojciech Wladzinski

I have been dealing with SEO industry since 2008. At co day senior SEO specialist in the company Seogroup. I create and optimize large websites like and smaller websites. I am particularly fond of the environment WordPresswhich, despite popular belief, is not just a blogging platform.
  • Internal Links and Sematics

  • Link building
  • Sematics
  • Link building has never been easier. Hundreds of link possibilities in one click.
  • See

[ Article content is protected by Plagiashield ]

SEMRush - the best tool for SEO and PPC.

Read previous post:
How do I link my website to my Google+ business card?

Connecting Google Plus to your website will allow Google to increase your website's search engine visibility and therefore...