• thebard72

    (@thebard72)


    Everything was working fine until I updated Akismet and Jetpack plugins as well as upgrading to WP 4.2.2. Now, everything seems to work fine except for the home page on my second site (subfolder). The home page generates a 403 Forbidden error, but if you navigate to any other page, you can tool around at will so long as you don’t try to go to the homepage (via the banner at top).

    I spoke to my provider (GoDaddy) and they said everything looked right including permissions and my settings. They narrowed it down to either Permalinks or Plugins. I deactivated all plugins. I renamed the plugin folder. I deleted the .htaccess file. I replaced the .htaccess file. I have added and removed any number of things to no avail.

    My Permalinks have been set to Post Name for a very long time. If I change it to Default, and refresh my browser, the page I am on now looks like the home page but carries the URL of a different page within the site. I then get 403 errors on any URL except the “new” home page. Every other Common Setting for permalinks takes me back to square one: every page works but I get a 403 error on the actual home page.

    Here is my current .htaccess file:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    # compress text, html, javascript, css, xml:
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddType x-font/otf .otf
    AddType x-font/ttf .ttf
    AddType x-font/eot .eot
    AddType x-font/woff .woff
    AddType image/x-icon .ico
    AddType image/png .png

    I did remove the entire # compress text section multiple times. I added the popular “Options +FollowSymLinks” line with no change. My error log is mostly “Request exceeded the limit of 10 internal redirects due to probable configuration error.” with the occasional, “Directory index forbidden by Options directive: /var/chroot/home/content/m/g/u/mgunter/html/qmp/” or “(13)Permission denied: file permissions deny server access: /var/chroot/home/content/m/g/u/mgunter/html/missing.html”

    I have some programming experience, but servers and wordpress tech jargon usually go right over my head. What do I need to do to get my home page to load properly? Tthe data is obviously there and I can still edit it behind the scenes (although I have NEVER been able to preview unpublished changes on the subfolder sites I create?).

Viewing 1 replies (of 1 total)
  • Thread Starter thebard72

    (@thebard72)

    After a lot of digging, I found a not-quite-resolved thread elsewhere on the web that suggested I would need my Apache Configuration set to ‘All’ or ‘Options All’. Without paying for a dedicated server on GoDaddy, that setting is ‘Off’ and cannot be changed. To the best of my knowledge, everything that can be done has been done on their end.

    However, by changing this portion of my .htaccess:

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d

    to:

    # Fix 403 errors on existing directories; WordPress overrides.
    RewriteCond %{REQUEST_URI} ^/(qmp)/
    RewriteCond %{REQUEST_FILENAME} !-f [OR]
    RewriteCond %{REQUEST_FILENAME} -d

    The 403 error goes away. BUT, all the formatting and images are gone. The most promising fix I’ve found does me no good.

    I have ruled out plug-ins, having disabled, deleted, and even checked an old copy of the .htaccess file (from over a year ago) that is identical to what I have today, so no plug-in updates have rewritten it. It appears to be a conflict with the latest WordPress update that took my subfolder homepage down as that is the only other thing that changed. between ‘site working’ and ‘homepage broken’.

    Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)

The topic ‘403 error on subfolder multisite homepage only’ is closed to new replies.