Tag Info

New answers tagged

2

Have you tried codex.wordpress.org/XML-RPC_Support. This code works, in conjunction with the IXR library found at incutio: include('IXR_Library.php'); $usr = 'theusername'; $pwd = 'thepassword'; $xmlrpc = 'http://not-therealurl.com/xmlrpc.php'; $client = new IXR_Client($xmlrpc); $client -> debug = true; //optional but useful $params = array( ...


0

I figured it out! I had too many parameters trying to match and had to replace "[^/]+" with "(.+?)" i was able to get this with just one rewrite rule here is the final code: add_rewrite_rule( 'resources/(.+?)(/page/([0-9]+))?/?$', 'index.php?taxonomy=res_category&term=$matches[1]&paged=$matches[3]', 'top'); now the problem i have now i get a 404 ...


0

At first blush, your code looks solid. Two suggestions: 1) Try putting the longer rewrite rule before the shorter one. It's possible that the first one is being matched (because it is a subset of the longer one) and then not proceeding to check the longer one. 2) Whenever you modify rewrite rules, you have to flush and reload the rewrite rules for them to ...



Top 50 recent answers are included