ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Last segment doesn't recognise uppercase P character

October 26, 2011 7:09pm

Subscribe [2]
  • #1 / Oct 26, 2011 7:09pm

    Joff

    28 posts

    I must be going crazy but for some reason, {last_segment} is empty when my last URL segment starts with an upper case “P”.

    My url structure is http://domain.com/folder/category/P1/

    If I change the URL last segment to “p1”, e.g. http://domain.com/folder/category/p1/ then {last_segment} correctly has the value.

    I have several plugins installed, such as Structure, NavEE and Tagger, so could there be a quirk with one of these causing it?  I’m using EE v2.2.2 - Build: date 20110801

    Any help appreciated!

  • #2 / Nov 07, 2011 12:00pm

    Noah Kuhn

    60 posts

    Pretty sure capital P in the last segment triggers the pagination module which would prevent things form working as you expect.

  • #3 / Nov 07, 2011 12:14pm

    Joff

    28 posts

    Ah thank you Noah, that would make sense!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases