WordPress.org

Ready to get started?Download WordPress

Forums

htaccess problem I think? (5 posts)

  1. Edtek
    Member
    Posted 3 years ago #

    I have WordPress installed and working just fine.

    The problem lies that whenever I try to install a different PHP script like PHPlist or Machforms, when I try to go to any of the .php file, I get redirected back to the WordPress site and an error that the file could not be found.

    This is my htaccess file:

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

    No matter what I do, it seems to revert back to the main site. I can list other directories on the server that have html or images, but I can't get anything with PHP inside to be found.

    Any help?

  2. Edtek
    Member
    Posted 3 years ago #

    Here is my problem..

    Using the domain jeepers.com as an example, I have WordPress install at the root.

    My .htaccess file is this:

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

    Now let's say I have installed PHPlist in public_html/lists and I try to go to jeepers.com/lists I get redirected to my WordPress installation and given a 404 error.

    How do I get around this?

    Hopefully someone has an answer on this because I am about to lose my mind :)

  3. Edtek
    Member
    Posted 3 years ago #

    No one?

  4. Cathy Tibbles
    Member
    Posted 3 years ago #

    I've installed lots of WP installations in a subdomain like you mention - at jeepers.com/lists without a hitch. I would clear the re-write rules by going to the permalinks tab in your WP dashboard, saving the default rules, and then saving your custom urls again. That will flush them. You shouldn't have a problem installing anything else in any subdomain.

    If you've written the htaccess rules by hand, I'm afraid I'm not knowledgeable enough to help with that.

  5. Cathy Tibbles
    Member
    Posted 3 years ago #

    I've installed lots of WP installations in a subdomain like you mention - at jeepers.com/lists without a hitch. I would clear the re-write rules by going to the permalinks tab in your WP dashboard, saving the default rules, and then saving your custom urls again. That will flush them. You shouldn't have a problem installing anything else in any subdomain.

    If you've written the htaccess rules by hand, I'm afraid I'm not knowledgeable enough to help with that.

Topic Closed

This topic has been closed to new replies.

About this Topic