WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] how to add an external site in my wordpress site?

[Resolved] how to add an external site in my wordpress site?

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    drummergirl

    @drummergirl

    *bump*

    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?

    drummergirl

    @drummergirl

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] how to add an external site in my wordpress site?’ is closed to new replies.