• Resolved lakerfan1

    (@lakerfan1)


    Newbie here!

    Here’s my problem:

    The footers of our 65+ and growing WP sites will have the same info. The person who maintains the footer would like to be able to do it in one place.

    What’s best practice for this?

    We have a mixed network of static html sites and WP sites. Some of the WP sites are in multisite installations and all the sites are spread across multiple servers.

    I thought that a server side include would be the best solution but I can’t get the WP sites to pull a file from an external server.

    I am sure this is just my ignorance of WP and php.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lakerfan1

    (@lakerfan1)

    I forgot to enable this in my local dev environment php.ini:
    allow_url_include=Off to allow_ur_include=On.

    Now the file is being imported.

    How unsafe is it to enable this feature?

    Is there a safer more secure way of including information from remote locations?

    Right now I am loading the footer info from a include.txt file

    Thread Starter lakerfan1

    (@lakerfan1)

    resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Import external files’ is closed to new replies.