Grow your CSS skills. Land your dream job.

[solved] wordpress subdirectory and rss

  • # January 9, 2010 at 5:54 pm

    I’m going through digwp – a rewarding read so far. As recommended, I’ve created wordpress in a subdirectory, moved and edited index.php into my site root directory. I change index.php so:

    require(‘./subdir/wp-blog-header.php’);

    This all seems to be fine, except when I try to access rss from the blog page. I get:

    You don’t have permission to access /subdir/ on this server

    I think my permissions are ok (compared against other root web folders) and think this a consequence of my index.php relocation? I don’t know how to work around this though. Any thoughts?

    Magnus

    # January 10, 2010 at 3:31 pm

    in fact the problem is not limited to rss, but applies to all posts.

    I am using wp-generated .htaccess

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    # January 10, 2010 at 5:34 pm

    .htaccess instructions were overridden by /etc/apache2/sites-available/my-wp-site

    revising the latter solved the issue

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".