Passing URL parameters to WordPress pages and pretty url


I create shortcode like this

function test_func( $atts ) {   

    return $_GET['myvar'];
add_shortcode( 'test', 'test_func' );

and one page with this name myparameters

so this is the final url

if I try this works perfect

But i like have pretty url or friendly url like this

But show page not found.

I try some tutorial like this LINK but nothing happen

, , metalbox 8 months 0 Answers 91 views 0

Leave an answer