WordPress.org

Ready to get started?Download WordPress

Forums

How to "escape" from WordPress permalink? (5 posts)

  1. xzjia
    Member
    Posted 7 years ago #

    I did an install of WordPress on the root directory, and now when I tried to access any page that's inside another folder which is unrelated to WordPress, I was forced to view the WordPress's "Entry Not Found" error.

    I know this can be avoided since on someone else's Blog I saw he can link to a separate PHP page without triggering WordPress's Permalink enforcement...

    How can I access my other pages that's unrelated to WordPress without the permalink forces me back into WP?

  2. moshu
    Member
    Posted 7 years ago #

    That has to do something with your redirect rules.
    Do you have some earlier .htaccess file in the root directory?
    Did you set up any special WP permalink settings?

    I also have WP at the root (and in some subfolders and subdoamins) plus a lot of other directories and files - and it never does what you described.

  3. xzjia
    Member
    Posted 7 years ago #

    I'm new at this, but I never did anything to .htaccess except overwriting it once to restore to a previous state after some hacker defaced the whole server.

    The only other thing that could have modified it besides WP was my old phpBB2 forum, which was deleted a long times back.

    I don't know much about the .htaccess except being told somewhere online that it's used to modify server behaviour, its awfully important, and if you don't know what you're doing you shouldn't touch it.

    Hum... so what should I do?

    Is there anyway I can "reset" the .htaccess to a clean slate, and reinstall WP?

    Or something else?

    btw. the server uses cpanel 10 (a.k.a. cpanel X), in case there's a feature for this kind of problem.

  4. xzjia
    Member
    Posted 7 years ago #

    Ok, I used the file manager to display the content of the .htaccess file:

    content of .htaccess
    =============================================
    # -FrontPage-

    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName http://www.mywebsite.com
    AuthUserFile /home/myweb/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/myweb/public_html/_vti_pvt/service.grp

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

    # END WordPress
    =============================================
    end of content

    hopefully it can help identifying the problem

  5. moshu
    Member
    Posted 7 years ago #

    I think (although I am not an expert!) the problems are caused by the FrontPage extensions.
    See if this Codex article helps:
    http://codex.wordpress.org/permalinks#Permalinks.2C_.htaccess.2C_and_MS_Frontpage

Topic Closed

This topic has been closed to new replies.

About this Topic