Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-04-07 15:30:12

marvix
Member
Registered: 2006-04-06
Posts: 27

How to view permlink as section_id/category_id/article_id ??

Hi ,,

How to view permlink as section_id/category_id/article_id ??

using the permlink in utf8 chars will not give friendly urls … so best to have option to view it ids .. but how ?

Thanks in advanced.

Offline

#2 2006-04-07 15:49:11

KurtRaschke
Plugin Author
Registered: 2004-05-16
Posts: 275

Re: How to view permlink as section_id/category_id/article_id ??

There’s no need to have non-ASCII characters in URLs. Categories and sections have both a ‘name’ and a ‘title’, in order that the ‘name’ can be a straightforward identifier composed solely of URL-friendly characters, while the ‘title’ can be the full human-readable name for the section or category (and can most certainly contain any Unicode character). The same goes for articles; every article has both a regular title and a URL-only title which is used solely to form permalinks.

However, TXP does not support /section/category/title URLs out of the box anyway. If you need that URL scheme, you may want to look at the sgb_url_handler plugin.

-Kurt


kurt@kurtraschke.com

Offline

#3 2006-04-09 07:28:26

marvix
Member
Registered: 2006-04-06
Posts: 27

Re: How to view permlink as section_id/category_id/article_id ??

well Kurt ,,, with arabic langauge will never get friendly urls … best thing si by id ,,, i`ll check this plugin ‘sgb_url_handler’ .. if not i`ll try to modify the code to add such support of urls !

Offline

Board footer

Powered by FluxBB