this post was submitted on 17 Feb 2025
1 points (100.0% liked)

General Discussion

0 readers
2 users here now

A place to talk about whatever you want


This is a forum category containing topical discussion. You can start new discussions by mentioning this category.

founded 2 months ago
 

When I move posts on nodebb and the url changes, is there a way to give visitors a 301 rather than a 404? In my opinion, this should be done automatically otherwise you get dinged by search engines but I don't see that.

top 4 comments
sorted by: hot top controversial new old
[–] julian@community.nodebb.org 1 points 1 month ago

@NodeHam the post permalink should stay active, since it's tied to the post ID.

The topic index url (e.g. /topic//`) you can't really do 301s for since when new posts are added, they take over those URLs.

[–] nodeham@community.nodebb.org 1 points 1 month ago (1 children)

I've not checked that yet, not sure how but you're saying that even when a post is moved to another category, it will still be found using the old url?

[–] julian@community.nodebb.org 1 points 1 month ago

@NodeHam For example, your last reply here has the permalink https://community.nodebb.org/post/103339

That never changes, even if you move the post out of the topic and to its own topic.

[–] nodeham@community.nodebb.org 1 points 1 month ago

Oh that's right, it's a post ID, not the category name for example. Thanks for pointing that out. Solved :).