How do I specify to go to an internal page with an ?id=

I have an internal page that I want to pass an ID via, so that the resulting page picks up the appropriate record ID.

I am fine doing this on the preview site as I can specify the url as though it is an external page, but then when I switch to the live version that url is obviously going to be wrong.

For example, the development url is:

And the live version should be:

So, my struggle is how I can do this without having to keep going in and editing the url before I switch the site live every time - if that makes sense.


If I understood correctly, you can use the following method:


You understood perfectly, and your solution worked brilliantly. Big thanks!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.