• miktheguy

    (@miktheguy)


    Hello,

    I want to accomplish such an easy task, like displaying a variable in an URL (like https://myblog.com/signup-confirmation/?&name=Michael&…) passed via the GET-method on a PHP enabled WP page??? Just that I can’t figure out how?

    Here you can see the problem:

    https://...tion/?&name=...&...
                  ^-- the slash

    The WordPress page has a slash by default at the end that makes it look like a directory (and you can’t edit this), which means that what ever I put behind results in an Error 404 ??

    How can I solve this problem – please? Couldn’t find any task covering it!

Viewing 2 replies - 1 through 2 (of 2 total)
  • renato_s

    (@renato_s)

    Well, it works for me. this is how I use it:

    https://mysitename.net/?p=173&action=editar&item_id=3

    Thread Starter miktheguy

    (@miktheguy)

    I found one issue in my permalink settings. I changed the “Custom Structure” from /’%category%/%postname%/’ to ‘/%category%/%postname%’ to get rid of the slash at the end.

    But It still doesn’t work. The testpage I set up for trial is https://test.bagsshoes.com/signup-test . There you can see that if you click on the link “Signup confirmation” the page works properly including the PHP in it.

    But as soon as you try to signup which adds the ?… stuff to the link, it resulte in the 404 error :-((((((

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pass a variable from an URL into a WP-page via GET-method???’ is closed to new replies.