• Resolved marcnyc

    (@marcnyc)


    I get this error “The specified file on Include Me shortcode does not exist.” when instead the file does exist.
    I am using an absolute path:
    [includeme file=”/reviews/index.php”]

    My wordpress is installed in:
    domain.com/wp
    and the file I want to include is installed in:
    domain.com/reviews

    What am I doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Hi, you specified an absolute path, I suspect that file is not in you server root. Use a relative path if that folder is inside your blog installation. See the documentation for more examples.

    Stefano.

    Thread Starter marcnyc

    (@marcnyc)

    As I wrote /reviews and /wp are both in the root of the domain

    Plugin Author Stefano Lissa

    (@satollo)

    Hi, if the file name starts with /, that is the root of the server, not of the domain. Use a full path from the server root, or use a relative path (not starting with /) and the WP ABSPATH is automatically added.

    Stefano.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The specified file on Include Me shortcode does not exist.’ is closed to new replies.