Support » Themes and Templates » Pass end of URL as $_GET variable to template file

  • I’m sure this must be fairly simple but can’t figure out how to do it.

    I have a page with it’s own template, say mysite.com/custom. This page is handled by custom.php.

    How can I set it up so that mysite.com/custom/anything is handled by custom.php?var=anything

    I just need whatever comes after custom/ passing to custom.php as a string, no matter what it is.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pass end of URL as $_GET variable to template file’ is closed to new replies.