WordPress.org

Ready to get started?Download WordPress

Forums

.htaccess Help (5 posts)

  1. talbot649
    Member
    Posted 2 years ago #

    I hope somebody can help me with an issue I'm having with .htaccess.

    I installed some plugins to create an intranet area on my client's website: Add Multiple Users, Page Security by Contexture, TinyMCE Advanced.

    It seems every now and then that the contents of my .htaccess triggers an internal server error. When the first one happened it turned out that the .htaccess had disappeared completely. This weekend the server workers replaced the .htaccess file with another to correct it. I've posted the contents of the original .htaccess below - the engineers have suggested I review the rewrite rules to correct the problem, but this is beyond me!

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

    ## END WordPress

    Thank you in advance for reading this.

  2. talbot649
    Member
    Posted 2 years ago #

    The replacement .htaccess file contains the following:

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

    The only differences I can see is the extra < at the beginning and the spacing - could this be causing a problem?

  3. talbot649
    Member
    Posted 2 years ago #

    There is also the extra 'R' in RRewriteRule - can anyone suggest why these characters would be added?

  4. talbot649
    Member
    Posted 2 years ago #

    Sorry to be a pain - is anyone able to suggest any reasons for the problems with this file?

  5. talbot649
    Member
    Posted 2 years ago #

    This has just happened again - please can someone suggest a cause/solution?

Topic Closed

This topic has been closed to new replies.

About this Topic