WordPress.org

Ready to get started?Download WordPress

Forums

Validated
[resolved] Not working when WordPress installed to sub-directory (3 posts)

  1. Steven Vachon
    Member
    Posted 3 years ago #

    This plugin worked fine with my sub-directory installation up until setting up the .htaccess file so the site's URL would hide that sub-dir.

    So, I had to fix a few things in toptions.php

    change line 22 to:
    $url2=plugins_url('', __FILE__);

    change line 42 to:
    var checkurl='<?= $url2; ?>/check.php';

    change line 234 to:
    <tr><td colspan="4" align="center" class="first"><div id="loadingpic" style="width:128px;height:15px;background:url(<?= $url2;?>/load.gif);"> &nbsp; </div>

    http://wordpress.org/extend/plugins/validated/

  2. candy2012
    Member
    Posted 3 years ago #

    would have been really helpful if would have posted the path for that file ...

  3. Steven Vachon
    Member
    Posted 3 years ago #

    I would've thought it was common sense to check the plugin directory first, considering this is a bug fix for the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags