Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
wdm_update_url
wdm_update_url – edit the title of any article and the url-title will get updated to match.
Current version
- 0.1 | download
Credits
- lam_accordion_section for showing how to load the jQuery, thanks!
Last edited by milkshake (2008-06-10 19:59:14)
Offline
Re: wdm_update_url
nice and sweet! bookmarked for future reference.
Offline
Re: wdm_update_url
This functionality should be default behaviour. devs?
Offline
Re: wdm_update_url
thanks for the cred! though i’m sure i swiped stuff from elsewhere as well :P
mrdale wrote:
This functionality should be default behaviour. devs?
i dunno. i’d definitely rather have control of urls for each article rather than always being the article title. i would imagine this might also wreck incoming links as well if article urls were changed sporadically on title updates (i’m always finding i reword titles on already posted articles. shrug)
Offline
Re: wdm_update_url
Hi Dale,
I think I don’t agree (although, more than once, I’ve also wished this to be default behaviour).
url-title is generated when you publish (to status “live” or “sticky”) the artice.
The problem about changing the url-title each time the title is modified is that you will break any link (be it on a search result page any other website).
I think zem_redirect pro could take care automagically of this issue, redirecting the browser from old non-existant url to the new url-title, though I’ve never figured out how exactly zem_redirect works.
Offline
Re: wdm_update_url
example situation.
- You build a site with dummy content
- You update the titles
- Permlinks have to be manually updated one-by-one.
unnecessarily complicated behavior IMHO
Offline
Re: wdm_update_url
That situation is when this plug-in comes in handy.
Offline
Re: wdm_update_url
mrdale wrote:
This functionality should be default behaviour. devs?
Cool URI’s don’t change. It should be up to the user to determine what happens to URIs which already were out in the wild. The url-title is updated as long as an article is in “Draft” state, and frozen once an article reaches “Live” state. IMHO, this perfectly follows Tim BL’s suggestion.
Offline
Re: wdm_update_url
wet wrote:
mrdale wrote:
This functionality should be default behaviour. devs?
Cool URI’s don’t change. It should be up to the user to determine what happens to URIs which already were out in the wild. The url-title is updated as long as an article is in “Draft” state, and frozen once an article reaches “Live” state. IMHO, this perfectly follows Tim BL’s suggestion.
i had no idea that the draft state actually had ‘features’ like the automatic url-title update! good to know.
Offline
Re: wdm_update_url
wet wrote:
Cool URI’s don’t change. It should be up to the user to determine what happens to URIs which already were out in the wild. The url-title is updated as long as an article is in “Draft” state, and frozen once an article reaches “Live” state. IMHO, this perfectly follows Tim BL’s suggestion.
Well, you learn something every day, and that makes a lot of sense. Problem is that when you’re developing a site, that is not intended for the wild yet… (I use rvm_maintennance to put up a temp page while building the rest) you often use articles as placeholders.
So, this plugin will come in handy for me in the build stage and I’ll switch it off on launch.
Thanks All
Offline
Pages: 1