• I’m using the sermon-browser plugin and within the plugin’s folder is a sub-folder called sb-includes. In order for the plugin to style the sermons properly, it calls sb-includes/style.php which gets the css from the database.

    What gets written on the sermons page is
    <link rel=”stylesheet” href=”https://www.mydomain.co.uk/wp-content/plugins/sermon-browser/sb-includes/style.php&#8221; type=”text/css”/>

    However the styling is being ignored and the plugin author says it is because my server is blocking the style.php. The url to the style.php is returning a 404 error.

    However the file is certainly there.

    I’ve tried different permissions on the file and it hasn’t made any difference.

    I can access other types of files in the sb-includes folder though. https://www.mydomain.co.uk/wp-content/plugins/sermon-browser/sb-includes/datepicker.css works, and I tried upload a test.htm file to that location and that loads up fine.

    It’s just php files that seem to throw up a 404 error.

    Can anyone suggest a solution? I’m on a new server so there could be something set up wrong which I need to change – but I don’t know what.

  • The topic ‘access to the plugin files’ is closed to new replies.