Forums

Adding "non-Wordpress" files to a directory (7 posts)

  1. BigSky
    Member
    Posted 2 years ago #

    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 http://www.mydomain.com, can I have a folder named http://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 http://www.mydomain.com/blog instead?

    Thanks in advance for any help!!

  2. pravin
    Member
    Posted 2 years ago #

    This ought to work by default. If you make a folder under wordpress, wordpress does not handle it.

    ex.
    http://www.dustyant.com (runs wordpress)
    http://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

  3. BigSky
    Member
    Posted 2 years ago #

    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

  4. BigSky
    Member
    Posted 2 years ago #

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

  5. moshu
    Member
    Posted 2 years ago #

    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!

  6. BigSky
    Member
    Posted 2 years ago #

    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!

  7. basketball
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.