Title: Rewrite slug before publishing a post
Author: Dario BF
Published: <strong>Waxabajjii 9, 2016</strong>
Last modified: Waxabajjii 9, 2016

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/rewrite-slug-before-publishing-a-post.
svg)

# Rewrite slug before publishing a post

 By [Dario BF](https://profiles.wordpress.org/balfer/)

[Download](https://downloads.wordpress.org/plugin/rewrite-slug-before-publishing-a-post.1.0.zip)

 * [Details](https://gax.wordpress.org/plugins/rewrite-slug-before-publishing-a-post/#description)
 * [Reviews](https://gax.wordpress.org/plugins/rewrite-slug-before-publishing-a-post/#reviews)
 *  [Installation](https://gax.wordpress.org/plugins/rewrite-slug-before-publishing-a-post/#installation)
 * [Development](https://gax.wordpress.org/plugins/rewrite-slug-before-publishing-a-post/#developers)

 [Support](https://wordpress.org/support/plugin/rewrite-slug-before-publishing-a-post/)

## Description

Is a known (SEO) issue that if You save a draft post without title, the post_name
or slug is immediately saved with the post id.

Later, when You finish your post and put some title, the slug doesn’t change; neither
also when your slug preference is %postname%.

So, what if we include the following function to rewrite the slug before publishing
the post?

## Installation

 1. Upload the entire `rewrite-slug-before-publishing-a-post` folder to the `/wp-content/
    plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

## Reviews

![](https://secure.gravatar.com/avatar/790d7c90199e9d8e6857ddd9454269c635db8505329ccfd1955e4404b5126dea?
s=60&d=retro&r=g)

### 󠀁[Absolutely useless](https://wordpress.org/support/topic/absokally-useless/)󠁿

 [mashikler](https://profiles.wordpress.org/mashikler/) Fulbaana 3, 2016 1 reply

This plugin is supposed to fix a problem that doesn't exist.

![](https://secure.gravatar.com/avatar/2634caa567b3a4806fc155d7affa3e320510d05b3ba9ca421f2ec61a9c96f8b1?
s=60&d=retro&r=g)

### 󠀁[Great idea!](https://wordpress.org/support/topic/great-idea-109/)󠁿

 [Adrià López](https://profiles.wordpress.org/mrboo/) Fulbaana 3, 2016

It's nice to have this issue solved 🙂

![](https://secure.gravatar.com/avatar/6ddc525ae47cdce6c4d632d40ad0ebdfa590fdb36dfca0c85a4cbd5cccaf5351?
s=60&d=retro&r=g)

### 󠀁[Smart solution for an ugly issue](https://wordpress.org/support/topic/smart-solution-for-an-ugly-issue/)󠁿

 [Fernando Tellado](https://profiles.wordpress.org/fernandot/) Fulbaana 3, 2016

Thanks!

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/rewrite-slug-before-publishing-a-post/reviews/)

## Contributors & Developers

“Rewrite slug before publishing a post” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Dario BF ](https://profiles.wordpress.org/balfer/)

[Translate “Rewrite slug before publishing a post” into your language.](https://translate.wordpress.org/projects/wp-plugins/rewrite-slug-before-publishing-a-post)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/rewrite-slug-before-publishing-a-post/),
check out the [SVN repository](https://plugins.svn.wordpress.org/rewrite-slug-before-publishing-a-post/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/rewrite-slug-before-publishing-a-post/)
by [RSS](https://plugins.trac.wordpress.org/log/rewrite-slug-before-publishing-a-post/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial version

## Meta

 *  Version **1.0**
 *  Last updated **10 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.1 or higher **
 *  Tested up to **4.5.33**
 *  Language
 * [English (US)](https://wordpress.org/plugins/rewrite-slug-before-publishing-a-post/)
 * Tags
 * [rewrite](https://gax.wordpress.org/plugins/tags/rewrite/)[slugs](https://gax.wordpress.org/plugins/tags/slugs/)
 *  [Advanced View](https://gax.wordpress.org/plugins/rewrite-slug-before-publishing-a-post/advanced/)

## Ratings

 3.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/rewrite-slug-before-publishing-a-post/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/rewrite-slug-before-publishing-a-post/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/rewrite-slug-before-publishing-a-post/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/rewrite-slug-before-publishing-a-post/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/rewrite-slug-before-publishing-a-post/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/rewrite-slug-before-publishing-a-post/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/rewrite-slug-before-publishing-a-post/reviews/)

## Contributors

 *   [ Dario BF ](https://profiles.wordpress.org/balfer/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/rewrite-slug-before-publishing-a-post/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=EE2FWM4VUMU9G&lc=ES&item_name=Dario%20BF&item_number=plugin_slugs_&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)