WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 16 months ago

#43678 new enhancement

Add indents to default .htaccess rules

Reported by: sebastian.pisula Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Rewrite Rules Keywords: has-patch
Focuses: Cc:

Description

I think that should be:

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

instead

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


# END WordPress

Attachments (1)

43678.patch (2.7 KB) - added by sebastian.pisula 16 months ago.

Download all attachments as: .zip

Change History (2)

#1 @sebastian.pisula
16 months ago

  • Keywords has-patch added
Note: See TracTickets for help on using tickets.