DEV Community

Discussion on: Against Namespacing Personal Sites

Collapse
 
annietaylorchen profile image
Annie Taylor Chen

I have abc.com/blog for all the blogs (like archives), but for single post I like it simple as abc.com/xyz. As long as you provide categorization and search on your blog, I don't think it's a big deal for url, from a user's perspective?

Collapse
 
swyx profile image
swyx

it's not, haha. just wanted to be a little thoughtful about it in my rewrite

Collapse
 
joelbonetr profile image
JoelBonetR 🥇

if xyz is a blog post there's no sense on using it without /blog. You break your own site structure by yourself...

Collapse
 
annietaylorchen profile image
Annie Taylor Chen

xyz is either a blog post or a page. Originally I thought for posts I use /blog/xyz, and for page it would be just /xyz, but since my current one (expanding to be more than a blog) is migrated from another blog which has some popular links with good ranks, so I kept the original url. So strictly speaking /blog is more like /allposts or /archivesforblogposts for the function, less than structure.

Thread Thread
 
joelbonetr profile image
JoelBonetR 🥇

Ok so it's just semantically incorrect, being the better approach naming it archives instead blog; I understand

Thread Thread
 
annietaylorchen profile image
Annie Taylor Chen

Yeah, now thinking back I should have done that. The same for categories, as I used "tags" instead. >.< Lessons learned, with new website I would be more careful about those.

Thread Thread
 
joelbonetr profile image
JoelBonetR 🥇

well, tags for categories is not that bad, semantically a tag points to a category anyway, isn't it right? :)

Thread Thread
 
annietaylorchen profile image
Annie Taylor Chen

Yeah... but traditionally people see "categories" as bigger groups/topics, and tags are subgroups, points... you can have 20-30 popular tags and usually less than 10 categories for a general blog. I guess I meant to have more at the beginning but later got lazy and decided to use them as categories instead. But I don't think the users care. As long as on navigation they get to find what they want, they will be happy. :P More important is how to provide good content and market it ... which can be more challenging than coding the blog itself.

Thread Thread
 
joelbonetr profile image
JoelBonetR 🥇

Hahahah true, you also can let the user multi-select tags to filter content which is more accurate than Searching for category