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.

Stricter URLS

June 04, 2010 1:04pm

Subscribe [1]
  • #1 / Jun 04, 2010 1:04pm

    Twist

    22 posts

    Hi I’ve got stricter urls set but a page that doesn’t exist still shows something.

    Example I’ve got:
    http://www.blahblah.com/dinefwr/authors/


    All good but if you enter something after it like
    http://www.blahblah.com/dinefwr/authors/whateveryouwanthere

    it still shows this as the authors page?

    Any help appreciated, want to nail this down.

    Thanks for any help

    Rich

  • #2 / Jun 04, 2010 1:09pm

    ender

    1644 posts

    {if segment_3 != ""}{redirect="404"}{/if}
  • #3 / Jun 04, 2010 1:18pm

    Twist

    22 posts

    Brilliant thanks for that ender, that’s sorted that.

    Can the bit before also be nailed down (basically I can change authors section to anything and it still shows a page)
    http://www.blahblah.com/dinefwr/whateveryouwanthere/

    Thanks for the info, much appreciated.

    Rich

  • #4 / Jun 04, 2010 3:10pm

    ender

    1644 posts

    that’d probably be triggering the dinefwr/index template, right?  just do the same thing with segment_2 on that template.

  • #5 / Jun 04, 2010 4:34pm

    Twist

    22 posts

    ah right, thanks ender much appreciated!!!  😊

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

ExpressionEngine News!

#eecms, #events, #releases