5.0.6 Page and Post IDs not working in WordPress Multisite
-
About our setup:
Wordpress Multisite 3.8.3, with sub folder configuration.
Permalink Settings: Set to /%postname%/
Plugin Version: 5.0.6
PHP Version: 5.2.17We upgrade WordPress from 3.8.0 to 3.8.3 and plugin from 5.0.3 to 5.0.6.
Before using page/ post id worked fine.
Now if I want to have https://www.myrootdomain.com/mysubdomain/somepageurl/ redirect to page 11, we go into Quick Redirect Meta, and:
- Make Active
- Type: 11 into Redirect Url box
- Set to 301
- Save
However when you view page, instead of redirecting to: https://www.myrootdomain.com/mysubdomain/someotherpageurlthatisid11/
it goes to
https://www.myrootdomain.com//?11I few things we have tried:
a)
We setup dev multisite with sub domain vs sub directory install (on a localhost mamp install).However when you view page, instead of redirecting to: https://mysubdomain.myrootdomain.com/someotherpageurlthatisid11/
it goes to
https://localhost//?11b)
We tried a domain mapped sub folder install site.However when you view page, instead of redirecting to: https://www.mysubsitesdomainname.com/someotherpageurlthatisid11/
it goes to
https://www.myrootdomain.com//?11And for all things we tried, the page it goes to, is that shows in the redirect URL box.
For example on last try (b) i typed 11 and saved and when I went back it said:
https://www.myrootdomain.com//?11 in the redirect url box.c)
typing p=11 resulted in same results except ending was //?p=11d)
using the actual post name url works(example: sometopdir/somepageurl), however we want to use the id because the path of the page/post changes, so using Id insures it gets to right place.I believe it’s trying to lookup where the site is in the structure of the multisite, however when queries the database, it reads the wrong table and loads the site host domain.
https://www.ads-software.com/plugins/quick-pagepost-redirect-plugin/
- The topic ‘5.0.6 Page and Post IDs not working in WordPress Multisite’ is closed to new replies.