Ask Your Question

Title change should not change urls and RSS guid

asked 2011-01-18 00:27:21 -0500

graeme gravatar image

updated 2011-03-01 09:30:12 -0500

Benoit gravatar image

If a question title is changed the url changes, as does the RSS guid (which uses the URL).

The URL change could break links. The guid change causes some feed readers to repeat the item.

edit retag flag offensive close merge delete


hmm, will read more about rss. the only thing I can say now, if the question slug in the request does not match the current one, there will be a redirect, using the id of the question (which is a part of the urls) - to the correct url.
Evgeny gravatar image Evgeny  ( 2011-01-18 00:44:12 -0500 )edit
To clarify, if you change the title the guid changes, so the feed reader thinks its a new question, so displays it again. Simple fix would be to use the question id as the guid (the feed will only ever contain questions, right?).
graeme gravatar image graeme  ( 2011-01-19 02:18:09 -0500 )edit
I see now, thanks. Yes right now there is only question feed, but adding an extra key will not hurt. I will add this fix to the next release, the latest - on Friday this week.
Evgeny gravatar image Evgeny  ( 2011-01-19 02:25:52 -0500 )edit
Just in case you did not notice you should make isPermaLink attribute is set false Not sure how if Django feeed framework does this when yopu probide a guid that is not link
graeme gravatar image graeme  ( 2011-01-21 00:56:28 -0500 )edit
Sorry, missed your comment, which points to an improvement that can be made to the notifications. The url that is used in the guid actually can be used to access the resource, an in that respect it can serve the purpose of a permalink. It will be redirected to a url with a slug though... Should be fine as is I think - no?..
Evgeny gravatar image Evgeny  ( 2011-01-25 22:24:28 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-01-21 19:11:22 -0500

Evgeny gravatar image

The item guid now is the question url without the slug. Does this fix the issue?

edit flag offensive delete link more


Looks OK: the feed reader in which I noticed the issue works fine with the feed now. You might consider an option to remove the slug from urls: IMAO it just makes urls longer for a dubious SEO benefit.
graeme gravatar image graeme  ( 2011-01-23 06:01:39 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-01-18 00:27:21 -0500

Seen: 329 times

Last updated: Jan 21 '11