Jump to content

many sites calling in same content from another url using include()


ldoozer

Recommended Posts

Hello, I am trying to roll out about 10 websites that are all the same appart from some area specific information local to the site.

here's my thinking. If i know the majority of the content will be the same over all the sites and I want to keep them all up to date, is it the right way to go bout this using <?php include('http://somedomain/homepage.php'); ?> in each site to call in content from a central area ie another server?

 

 

Depends on your personal goals with each of the 10 sites, the performance hit you're willing to take in loading from a separate server (and whether that server is in the same datacenter or across the world will play a factor there), the security settings of each site (some server-configs won't allow remote-file loading), and whether or not you're willing to have all 10 sites go down at once if your 'main' server goes down.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.