{"id":8921,"date":"2005-05-01T03:45:49","date_gmt":"2005-05-01T00:45:49","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2005\/05\/01\/fixing-wordpress-slugs\/"},"modified":"2005-05-01T03:45:49","modified_gmt":"2005-05-01T00:45:49","slug":"fixing-wordpress-slugs","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2005\/05\/01\/fixing-wordpress-slugs\/","title":{"rendered":"Fixing WordPress slugs"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>Slug is a short name for <a href=\"http:\/\/wordpress.org\">WordPress<\/a> post.  It looks like this-is-your-post-title.  One of the applications of posts is in permalinks.  Having post title (or part of it) in the link makes the URL slightly longer, but much more easier to identify.<\/p>\n<p>Now, sometimes people tweak the way slugs are structured.  Or people import posts from unsupported blogging systems and forget to make slugs.  Regenerating slugs for all posts in the database is very easy and <strong>does not require any scripting at all<\/strong>!  After importing your posts (or tweaking the slug generation mechanism) simply run the <code>upgrade.php<\/code> script, which is in the WordPress <code>wp-admin<\/code> folder.  That&#8217;s it!<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Slug is a short name for WordPress post. It looks like this-is-your-post-title. One of the applications of posts is in permalinks. Having post title (or part of it) in the link makes the URL slightly longer, but much more easier to identify. Now, sometimes people tweak the way slugs are structured. Or people import posts &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2005\/05\/01\/fixing-wordpress-slugs\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Fixing WordPress slugs<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"keyring_services":[],"class_list":["post-8921","post","type-post","status-publish","format-standard","hentry","category-general"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":8893,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/04\/26\/nucleus2wordpress\/","url_meta":{"origin":8921,"position":0},"title":"nucleus2wordpress","author":"Leonid Mamchenkov","date":"April 26, 2005","format":false,"excerpt":"Once I promised to release the script that I wrote while migrating from Nucleus CMS to WordPress. Well, here it is. But I doubt that you should start any serious celebrations, since this one is pretty messy and based very much on my setup. Let me try to explain a\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11129,"url":"https:\/\/mamchenkov.net\/wordpress\/2008\/03\/30\/wordpress-2-5-up-and-running\/","url_meta":{"origin":8921,"position":1},"title":"WordPress 2.5 up and running","author":"Leonid Mamchenkov","date":"March 30, 2008","format":false,"excerpt":"I have just upgraded this blog's WordPress version to recently released 2.5. I waited for this moment for a long time. WordPerss 2.5 brings quite a few improvements such as better administration (new interface, tag management, easier uploads, improved post editor), speed improvements, security enhancements (prepared SQL queries, password strength\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2008\/03\/wordpress-300x300.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":13075,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/08\/03\/convert-wordpress-tag-to-existing-category\/","url_meta":{"origin":8921,"position":2},"title":"Convert WordPress tag to existing category","author":"Leonid Mamchenkov","date":"August 3, 2010","format":false,"excerpt":"By now most people have figured out what is the difference between categories and tags, and which ones to use where. \u00a0But that doesn't necessarily mean that the problems are over. \u00a0Once in a while there is a need to convert from one to another. WordPress provides the tool to\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11635,"url":"https:\/\/mamchenkov.net\/wordpress\/2009\/07\/13\/building-a-classified-ads-directory-with-wordpress\/","url_meta":{"origin":8921,"position":3},"title":"Building a classified ads directory with WordPress","author":"Leonid Mamchenkov","date":"July 13, 2009","format":false,"excerpt":"When talking about what else WordPress could be used for except blogs, classified ads directories come up high on the list.\u00a0 It's one of those examples which illustrate the scenario nicely and doesn't require a lot of work. So, how can WordPress be used to build a classified ads directory?\u00a0\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"craigslist.co.uk","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2009\/07\/craigslit_co_uk.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":16823,"url":"https:\/\/mamchenkov.net\/wordpress\/2012\/10\/11\/wordpress-p2-company-intranet-in-5-minutes\/","url_meta":{"origin":8921,"position":4},"title":"WordPress + P2 = Company Intranet in 5 minutes","author":"Leonid Mamchenkov","date":"October 11, 2012","format":false,"excerpt":"I've mentioned a few times already that I became a big fan of P2 theme for WordPress. \u00a0I currently maintain multiple installations of it, just because it is so easy to setup and start using. \u00a0I have it as company Intranet or as a project collaboration tool. \u00a0It's like a\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2012\/10\/p2-screenshot-500x322.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":8859,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/04\/23\/wordpress-bits\/","url_meta":{"origin":8921,"position":5},"title":"WordPress bits","author":"Leonid Mamchenkov","date":"April 23, 2005","format":false,"excerpt":"As a new user of WordPress I spent some time studing and customizing it. I've seen some really nice resources along the way that I want to promote and be able to find easier later on. For this reason I am writing up this post with links to stuff that\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/8921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=8921"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/8921\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=8921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=8921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=8921"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=8921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}