XF 2.3 Title change/301 redirect question

Anatoliy

Well-known member
When I change a thread title, url changes too, and it looks like a 301 redirect is created to redirect from an old url to a new url.
My question is what happens when I change such a thread title second time. Will another 301 redirect be created? Doe hit mean that redirect chain will be exist if I change url and then after some time change it again?

And another question - can I somehow see a list of those existed redirects for threads whose titles I changed in the past?
 
Solution
And by the same reasoning if you keep the URL but just change the id to 227308

https://xenforo.com/community/threads/title-change-301-redirect-question.227308/

You’ll find your thread title for this thread now goes elsewhere.
I don’t think it’s a 301, xenforo just uses the thread id not the words.

EDIT: you can just remove or edit any word from the URL (after /threads/ ) it will still work based on id

https://xenforo.com/community/threads/.228063/

https://xenforo.com/community/threads/blahblah.228063/

EDIT2 maybe it is technically a redirect, but not in the same way as when you change the text and create 301s in htaccess or whatever.

So it seems you can change it as much as you like.
 
Last edited:
EDIT: you can just remove or edit any word from the URL (after /threads/ ) it will still work based on id

https://xenforo.com/community/threads/.228063/

https://xenforo.com/community/threads/blahblah.228063/
true. but if I change the title of https://xenforo.com/community/threads/blahblah.228063/ to just "Blah", url will turn into https://xenforo.com/community/threads/blah.228063/.
and if after that I check https://xenforo.com/community/threads/blahblah.228063/, I will see that return code is 301 redirect to https://xenforo.com/community/threads/blah.228063/
 
true. but if I change the title of https://xenforo.com/community/threads/blahblah.228063/ to just "Blah", url will turn into https://xenforo.com/community/threads/blah.228063/.
and if after that I check https://xenforo.com/community/threads/blahblah.228063/, I will see that return code is 301 redirect to https://xenforo.com/community/threads/blah.228063/

That’s correct. The URL you see will change when you change the actual title, but the id remains constant and will always end up at the actual thread.
 
That’s correct. The URL you see will change when you change the actual title, but the id remains constant and will always end up at the actual thread.
so there is no any list of redirects? it's just xf builds on the fly if the current thread title doesn't equal the one in requested url for indicated id?
 
And by the same reasoning if you keep the URL but just change the id to 227308

https://xenforo.com/community/threads/title-change-301-redirect-question.227308/

You’ll find your thread title for this thread now goes elsewhere.
 
Solution
Back
Top Bottom