Hi James,
Could you possibly give a little more information as to exactly what you’re doing here. I understand what you’re trying to do but don’t quite follow why when a url_title changes that it would break?
If I’m following correctly then I take it that you have a single entry page :
http://www.example.com/template-group/template-name/entry-title-here
and on that page you have all the usual output of that entry and then in your menu you want to show that page with a different class, yes?
So you would have something like this in the menu :
{exp:channel:entries
channel="default_site"
dynamic="no"
disable="member_data|trackbacks|categories|category_fields|pagination"}
<a href="http://{url_title_path=%22template-group/template-name%22}" title="{title}" class="current">{title}</a>
{/exp:channel:entries}
This would then show the entry that you’re currently viewing differently to the rest. Is that what you’re doing here?
If so then if the url_title of the single entry changes then this method should still work.
Please let me know if I’m wrong in what you’re trying to achieve here though.
Thanks,
Mark