• Hi – I hope someone can assist with this. It has to be a common issue, but I couldn’t find a related question… If I have WordPress installed on the root directory, is there a way to add a new folder that is NOT a part of WordPress? For example, if WordPress lives on https://www.mydomain.com, can I have a folder named https://www.mydomain.com/somefolder that is NOT a part of WordPress? If so, how do I set the folder to not fall under WordPress?

    Or, have I screwed this up and should have installed WordPress under https://www.mydomain.com/blog instead?

    Thanks in advance for any help!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • This ought to work by default. If you make a folder under wordpress, wordpress does not handle it.

    ex.
    https://www.dustyant.com (runs wordpress)
    https://www.dustyant.com/forums/ (runs bbpress)

    If it doesn’t, I’ll need –
    1. Is your webhost running Windows or Linux
    2. If it runs apache, then paste your .htaccess (from your root folder) here

    Thread Starter BigSky

    (@bigsky)

    Hey pravin, thanks for the response. I just tested again, and it is reading any folders as part of WordPress. I’m starting to think it is because of how I set the permalink structure: /%category%/%postname%/ – could that be it?

    Thanks again.

    .htacess is as follows:

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

    # END WordPress

    Thread Starter BigSky

    (@bigsky)

    Update – changing the permalink structure didn’t seem to help. I am hosting with BlueHost, if anyone here has possibly seen anything similar….

    You do something wrong or your site is screwed up. I have this:

    example.com – powered by WP
    example.com/play – another WP
    example.com/kafe – a totally different CMS with over 1000 posts
    subdomain1.example.com – subdom=WP
    subdomain2.example.com/blog – where blog=WP
    (and more)

    So, it should work.

    The %catgeory% in the permalinks doesn’t always work!

    Thread Starter BigSky

    (@bigsky)

    moshu, I have a few WordPress sites on BlueHost, and they are all doing this. I don’t know if it matters, but they use Fantastico to set WordPress up. There has to be a simple solution to this, but I can’t figure it out!

    I have several sites setup on bluehost as well, except I always install wordpress myself. Never had a problem though, as long as the directory doesn’t clash with a page slug (ie. directory called downloads, and a page slug downloads, will cause issues). Otherwise it should work fine regardless of your permalink structure.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding “non-WordPress” files to a directory’ is closed to new replies.