WordPress.org

Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#1661 closed defect (bug) (fixed)

Keeps adding to .htaccess

Reported by: Munnday Owned by: ryan
Milestone: Priority: normal
Severity: minor Version: 1.6
Component: General Keywords: rewrite
Focuses: Cc:

Description

Using the latest nightly, Wordpress continues to add the same information into the .htaccess file, as time of writting my current file consists off:

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

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

# END WordPress

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

# END WordPress

Change History (2)

#1 @ryan
15 years ago

  • Owner changed from anonymous to ryan
  • Status changed from new to assigned

#2 @ryan
15 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2886]) Don't write multiple rewrite rule blocks to htaccess. fixes #1661

Note: See TracTickets for help on using tickets.