Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [solved] wordpress subdirectory and rss

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27514
    magnuslawrie
    Member

    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

    #69208
    magnuslawrie
    Member

    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

    #69214
    magnuslawrie
    Member

    .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)
  • The forum ‘Back End’ is closed to new topics and replies.