WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 8 months ago

#11884 closed enhancement

mod_rewrite optimization — at Initial Version

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: Optimization Keywords: close
Focuses: Cc:

Description

Slightly edited version of the one suggested in:

http://wordpress.org/extend/ideas/topic.php?id=3524

# BEGIN WordPress
RewriteEngine on
RewriteBase /

RewriteRule \.(gif|jpe?g|png|css|js|ico)$ - [NC,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [S=1]
RewriteRule . /index.php [L]

# END wordpress

Change History (0)

Note: See TracTickets for help on using tickets.