troubleshooting Question

PHP Cross Domain Includes

Avatar of APD Toronto
APD TorontoFlag for Canada asked on
ASPJavaScriptPHPjQueryMicrosoft IIS Web Server
8 Comments1 Solution140 ViewsLast Modified:
Hi Experts,

Is it possible to have includes from different domains, assuming proper permissions are set? Sort of what Classic ASP had using VIRTUAL keywords, which I have not done in ages.

Here is my situation... is a WordPress site on a Linux server. is a custom PHP App on a IIS Server with plesk.

I need sub.domain/module to have same look and feel as, in particular header and footer and any dynamic changes, like new WP Pages added to the menu, which is part of the WP Header.

I'd like to avoid iFrames from as will have pages in different heights, so this is a last resort.

I was thinking, either doing a WP Page template file, or my preferred way would be if from I can someway call, or include the WP Header and WP Footer?

Perhaps, I can use cURL, JS/jQuery?

Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros