I’ve not too long ago upgraded from wordpress 4.7 to five.8 (I do know a little bit of a giant soar).
Within the outdated model I might dynamically change the web page content material utilizing the next url construction:
instance.native/programs/1234/?title=one thing
On this instance, the url will stay the identical, however contents after all id#1234 is loaded into the web page. For the reason that improve what occurs now’s that the web site goes to the homepage of the web site ie. instance.native so evidently it’s not decoding the url parameters in any respect.
If I do not add something to the tip of the url ie. instance.native/programs/, then the web page exhibits the record of programs (so that is nonetheless working nice).
My features.php file has not modified (as I did not improve the theme) and my .htaccess hasn’t modified.
Ive flushed the permalinks every time I make a change however nonetheless no assist.
The url that does work nevertheless is instance.native/programs/?id=1234&title=one thing so I might resort to this. Nonetheless it is not supreme as google has listed the web site (and the opposite web sites as it’s a multisite) utilizing the outdated url construction.
Thanks prematurely for any assist in any respect.
Replace with some additional information:
- the title parameter does nothing – it’s simply there for web optimization functions.
- I’ve disabled all plugins (minus the one I wrote that handles the show) and it nonetheless doesn’t work
- my customized plugin and mum or dad (I didn’t improve this) and little one theme are precisely as they had been underneath the outdated wp model
- my customised template handles getting the URL parameters nevertheless this file doesn’t even appear to run now once you use the URL with /programs/1234/ as I’ve an exit initially and that doesn’t run.
- in my customized template I extract the programs id ie 1234 which I exploit to name some Ajax which will get the course particulars from an exterior supply and shows the outcomes
- the one rewrite rule I’ve handles 404 errors to cease wp guessing the proper web page