<br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am working on product to list all the Pages in a WordPress based website.<br>I am using the XMLRPC - wp.getPages to get the list.<br>
<br>I have written some logic in my code which works only if I am able to<br>get the details of the Page I am viewing (browsing).<br>I am doing this by obtaining the current url the browser points to and<br>trying to match it with the permaLink or link from the list returned<br>
by wp.getPages.<br><br>This logic was working fine until two weeks back.<br>Now, my logic is failing to find a match as the permaLink or link<br>returned when I call wp.getPages is different from the actual URL of<br>that Page.<br>
<br>This is because there is some kind of re-direction happening from the<br>permaLink/Link returned from wp.getPages.<br><br>For example, consider a Page "world" with Page Id - 23 and parent Page<br>as some Page  - "Hello"<br>
when wp.getPages is called, it returns a permaLink for this Page ('world') as:<br><a href="http://www.xxx.wordpress.com/?Page_id=23">www.xxx.wordpress.com/?Page_id=23</a><br><br>But when the user browses to this Page, the url as shown in the<br>
browser address bar is<br><a href="http://www.xxx.wordpress.com/Hello/world">www.xxx.wordpress.com/Hello/world</a>.<br><br>It's getting redirected!<br><br>Question:<br>Now, Is there any way - any API that maps between permaLink and the<br>
redirected URL or any other field in the struct returned by<br>wp.getPages from which I can actually find<br><a href="http://www.xxx.wordpress.com/Hello/world">www.xxx.wordpress.com/Hello/world</a>.<br><br><br>Please help me in fixing this issue as I can't proceed without fixing this.</blockquote>
<div><br><br><br>Sorry about the delay in responding, this got stuck in my spam folder (Gmail seems to be doing that a lot lately).  I'm currently trying to track down the change that caused this so that we can get it fixed.<br>
</div><br></div>