• Hi,

    I have spent a day trying to get WordPress working on my ReadyNAS with custom permalinks. Without custom permalink everything works fine. The reason why I want custom permalinks is that the ReadyNAS seems to be terribly slow, so I want to install the WP super cache to make things faster. This requires custom permalinks.

    My problem is that I get 403 errors no matter what I have tried. I have read a lot of posts and instructions on how to get rid of that, but nothing has helped me so far.

    The following information could be useful:

    The URL to the blog is https://www.mysite.com/blog. The files are in /c/blog, and the ReadyNAS has configured the blog in apache like this (note the redirect, which works):

    Alias "/blog" "/c/blog"
    <Location "/blog">
      Options Indexes
      Order allow,deny
      Allow from all
    </Location>
    RewriteEngine on
    RewriteRule ^/$ /blog [R,L]

    This is the WordPress generated .htaccess:

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

    In the error log I see this line every time I try to load the site: Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /c/blog/

    Putting Options +FollowSymLinks +SymLinksIfOwnerMatch to .htaccess doesn’t make the error message disappear.

    What can I do?

    /Sam

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Here is a post that from ReadyNAS community that may help you through this. got permalink working on ReadyNAS Duo WordPress.

    https://www.readynas.com/forum/viewtopic.php?f=35&t=19760

    The solution I used was

    Just for future reference…
    I seem to have beaten this by writing my own .conf file (called AjaXplorer.conf in this case) and then added an additional Include directive in httpd.conf (below the Include for Shares.conf).

    I noticed that Shares.conf seems to always get overwritten at each reboot, however httpd.conf does not get overwritten (probably the reason for separating them in the first place!)

    My special .conf file contains the same lines as the relevant portion of Shares.conf, but with Options Indexes changed to Options -Indexes.

    Trying to browse the directories now gives a 403 Forbidden message, which is what I wanted.

    My solution seems to have survived a reboot.

    Hope this help!

    9 months later….

    See my blog how I achieved to run WordPress on the ReadyNAS and using the WP Super Cache plugin:

    https://eye-vision.homeip.net/554/readynas-en-wordpress-deel-2/

    (it’s in Dutch, but you can use Google Toolbar to translate to your native language)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘ReadyNas and custom permalinks?’ is closed to new replies.