Results 1 to 1 of 1

Thread: mod_rewrite and GET parameters

  1. #1
    User
    Join Date
    05-02-10.
    Posts
    121

    Default mod_rewrite and GET parameters

    Hi.

    Mission:
    pass a GET parameter to PHP

    Example:
    site.com/news/alias.html?amp

    in template:
    <?php
    if (isset($_GET['amp']))
    {
    echo 'Hooray!';
    }
    ?>

    cool! works!

    BUT
    how to make url more beautiful ?

    for example:
    site.com/news/amp/alias.html

    maybe Contao can help for this?
    Last edited by Energetik; 10/28/2016 at 07:34.
    sorry for my english

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •