This site uses cookies and similar technologies.

If you don't change browser settings, you agree to it.

I understand

Hi folks

This is not strictly a SEBLOD tip, but can come in useful if you have SEF URL's turned on.

Example SEF URL's ON:

my-site.com/some-category/some-article

Example SEF URL's OFF:

index.php?Itemid=106&option=com_content&view=article&id=25

Place this code in your templates index.php file, in between the <body> tags

<?php
    // non-sefurl
    JURI::current();
    $router =& JSite::getRouter();
    $url = $router->parse(JURI::getInstance());
    $nonsefurl = 'index.php?'.JURI::getInstance()->buildQuery($url);
    // Output in a button or something similar so that it is easy to see
    echo "<button type=\"button\" class=\"btn btn-warning\">" . $nonsefurl . "</button>"; 


?>

This way you can quickly see the info you might need.

Alternatively, you could place it in a module and simply turn the module on or off as required.

Bucklash