I have installed a WordPress blog and a SmartThumbs TGP gallery program in two separate subfolders:
domain.com/blog/
domain.com/galleries/index.php
Those are basically two sites with CMS that work independently.
On the main domain, I would like to build a page that takes snippets from both subfolders and displays them right there as a summary. I tried to create a test.php and used php include statements to display the content of domain.com/galleries/index.php right within domain.com/test.php
The problem is, when included, all links from the galleries/index.php are broken. I assume that php treats the galleries/index.php as if it were in the main folder and therefore screws up the links.
I can’t change galleries/index.php because I also need this file to work in that subfolder.
Can anyone help me set this up or is this even impossible to do?