Old Perma URL’s showing up only on PHP include
-
Context
————–
I created a fresh install of WP, and moved all of my content over from the old one (both are technically still live).
I ran a database plugin to change any old file paths, and also ran Velvet Blues url replace to check for old file paths.My Problem
————-
I made a <PHP> include page with a post loop within my new WP install, and all of the permalink are pointing to the correct urls.Once I include this <PHP> page on my main website outside of my WP install, all of those permalinks are now pointing to my old WP install destination url.
Old Install Path
————–
/new-site-2013/wordpress-news/New Install Path
————–
/news-events/TEST Page with Problem Old URL links (scroll down to NEWS section):
————————————–
/index2.phpPHP page of loop content that is being included on the page above ^, but with the URL links working correctly:
————————————–
/news-events/news-block.phpAny thoughts on why the permalinks are working correctly on the simple loop PHP page, but as soon as I load it on another page outside of the WP install the content loads fine, but the permalinks go to the old install?
Thanks,
JimmyThe page I need help with: [log in to see the link]
- The topic ‘Old Perma URL’s showing up only on PHP include’ is closed to new replies.