WordPress.org

Support

Support » Plugins and Hacks » .htaccess Help

.htaccess Help

  • 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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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?

    There is also the extra ‘R’ in RRewriteRule – can anyone suggest why these characters would be added?

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

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘.htaccess Help’ is closed to new replies.