Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-02-19 23:39:35

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 595
Website

How to decide between section/title URLs and /title only?

I’m wondering if there are cases where it’d be more appropriate to use /title only in my current work. Seems like it might be a good fit for smaller sites? Is that true?

Offline

#2 2011-02-20 04:13:23

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: How to decide between section/title URLs and /title only?

What I also worry about is namespace collision – are you likely to use the same title twice? If not, then you can do it however you want. Probably the longer the title, the safer you are unless you have a tendency to repeat yourself.

Further reading

How to Use Post Permalink and Post Title Combination?

Permalinks and trackback are the key to the semantic web

Article URLs week: Principles

Cruft-free URLs in Movable Type

Blank Slate

Offline

#3 2011-02-20 13:07:51

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: How to decide between section/title URLs and /title only?

The way I see it is that the URL scheme reflects your site’s structure. If the site in question doesn’t actually have/need a structure like /section-name/article-title (a ‘flat’ site), I use the /title mode. In general, these are the smaller, more static sites.

Offline

Board footer

Powered by FluxBB