The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] how to add an external site in my wordpress site? (4 posts)

  1. giwrgos88
    Posted 6 years ago #

    i'm trying to inlcude an external site in my pages but i have the error "

    Warning: require() [function.require]: URL file-access is disabled in the server configuration in .../website/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()'d code on line 1

    does any one know how to do this?

  2. Reaper-X
    Posted 6 years ago #

    Ask your host to set allow_url_fopen = on or edit php.ini manually if you have access and you're sure about the security implication by doing so

  3. drummergirl
    Posted 5 years ago #


    I'm having this same issue right now. My host moved php.ini into my public_html directory so I could edit it, but I still get the error even after making changes to the php.ini. The tech said it looks like WordPress is going to the server php.ini and not my copy in the public_html folder.

    What do I do to fix this?

  4. drummergirl
    Posted 5 years ago #

    Solved it. My php.ini file was missing

    ; Whether to allow include/require to open URLs (like http:// or ftp://) as fil$
    allow_url_include = On

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.