Opened 4 years ago

Closed 4 years ago

Last modified 20 months ago

#1067 closed New feature (fixed)

Have a different delimiter for page titles and for page URLs

Reported by: matt Owned by:
Priority: major Milestone: Piwik 0.5.5
Component: Core Keywords:
Cc: Sensitive: no

Description

Currently in global.ini.php we have:

; character used to automatically create categories in the "Action" "Downloads" reports
; for example a URL like "example.com/blog/development/first-post" will create 
; the page first-post in the subcategory development which belongs to the blog category
action_category_delimiter = /

It should be possible to define a different delimiter for the Page Titles report and for the Page URLs report. For example,

action_url_category_delimiter = /
action_title_category_delimiter = ">"

Note: for backward compatibility, the code would also read the config setting action_category_delimiter (same as action_url_category_delimiter)

Change History (3)

comment:1 Changed 4 years ago by anders

Currently, having a forward slash in a page title makes piwik create 2 pages in the list of page names instead of one. Could be considered a bug, so I'm happy to see it's been acted upon.

comment:2 Changed 4 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [1932]) Fixes #1067

Adding two parameters in config file, while keeping backward compatibility with a potential action_category_delimiter

; character used to automatically create categories in the Actions > Pages, Outlinks and Downloads reports
; for example a URL like "example.com/blog/development/first-post" will create
; the page first-post in the subcategory development which belongs to the blog category
action_url_category_delimiter = /

; similar to above, but this delimiter is only used for page titles in the Actions > Page titles report
action_title_category_delimiter = /

comment:3 Changed 20 months ago by matt (mattab)

See also this ticket: #2956 Actions>Page Titles believes there is a subpage if page <title> includes a forwards slash

Note: See TracTickets for help on using tickets.