<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>change permalink when title changes</title>
        <link>https://interactivetools.com/forum/forum-posts.php?change-permalink-when-title-changes-82510</link>
        <description></description>
        <pubDate>Mon, 15 Jun 2026 00:27:44 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;change-permalink-when-title-changes-82510" rel="self" type="application/rss+xml" />

                <item>
          <title>change permalink when title changes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245849#post2245849</link>
          <description><![CDATA[<p>One thing I would like to see is being able to use a / in some cases when using 2 fields.</p>
<p>So ”city address” instead of ‘mycity-123-anywhere’ could be ‘mycity/123-anywhere’</p>]]></description>
          <pubDate>Wed, 09 Mar 2022 16:05:41 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245849#post2245849</guid>
        </item>
                <item>
          <title>change permalink when title changes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245847#post2245847</link>
          <description><![CDATA[<p>Hey Jeff,</p>
<p>Thanks for posting your update!</p>
<p>Another similar idea would be to use the record_presave hook to check to see if a field has been changed and similarly empty the permalink from the $_REQUEST array. Since the record_presave hook provides the old record's data (new data is in $_REQUEST), it would be relatively simple to compare the new and old values. There's an example included in the Permalinks readme.txt for creating custom permalink formats with a plugin - this should have most of the info required to set this up.</p>
<p>I'll note that we do have "category:label" support in the works for an upcoming release of the Permalinks plugin. Keep an eye out for this! Also, If you have any specific hooks you think would be useful within the plugin, let me know and I can bring them up for consideration.</p>
<p>Thanks,</p>]]></description>
          <pubDate>Wed, 09 Mar 2022 15:32:54 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245847#post2245847</guid>
        </item>
                <item>
          <title>change permalink when title changes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245846#post2245846</link>
          <description><![CDATA[<p>I have written some custom js to do what I need to do. Here it is for anyone who wants to use it.</p>
<pre class="language-markup"><code># custom.js

$(document).ready(function() {
	$("input[name=title], input[name=name], select[name=category]").on('change', function() {
		// console.log('name or title changed');
		$("input[name=permalink]").val("");
	});
});
</code></pre>
<p>I have renamed 'title' to 'name' in some table, and have a 'category' field in most tables. If any of these change then the permalink is cleared and reset on save.</p>
<p>I have a custom plugin to handle the category lookup for label since the permalink does not currently support 'category:label'.</p>]]></description>
          <pubDate>Sun, 06 Mar 2022 11:33:50 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245846#post2245846</guid>
        </item>
                <item>
          <title>change permalink when title changes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245845#post2245845</link>
          <description><![CDATA[<p>A hook system in the permalink plugin would be very useful. OR allow 'category:label' in autopopulate_fromFields </p>]]></description>
          <pubDate>Tue, 01 Mar 2022 06:54:27 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245845#post2245845</guid>
        </item>
                <item>
          <title>change permalink when title changes</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2245842#post2245842</link>
          <description><![CDATA[<p>Is there a simple way to detect when the title or another field of a record changes and have the permalink also updated?</p>
<p>I have a custom plugin that adds the category label to the permalink so when either the title or category changes, I want the permalink to update without needing to clear it manually.</p>
<p>Secondly the update permalink table command does not take the category into account. How can I link my plugin to the update table permalink?</p>]]></description>
          <pubDate>Wed, 23 Feb 2022 10:00:22 -0800</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2245842#post2245842</guid>
        </item>
              </channel>
    </rss>
  