WordPress.org

Ready to get started?Download WordPress

Forums

.htaccess situated above the /wordpress/ dir (1 post)

  1. nitro2k01
    Member
    Posted 6 years ago #

    Today I have permalinks of the style domain.com/wordpress/[rest of the URL]
    What I want to have is domain.com/[rest of the URL] while still keeping the wordpress installation in /wordpress/. I got it partially working in 2.0.x by using the permalink string /../%year%/%monthnum%/%day%/%postname%/ and this .htaccess:

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

    In 2.0.x it worked with some glitches. (Monthly archives didn't work as expected, no month filtering occured)

    In 2.5 it redirects infinitely to itself. Any advice?

Topic Closed

This topic has been closed to new replies.

About this Topic