WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 8 months ago

#11884 closed enhancement

mod_rewrite optimization — at Version 1

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

Description (last modified by Denis-de-Bernardy)

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 ^ - [L]

RewriteRule . /index.php [L]

# END wordpress

Change History (1)

comment:1 Denis-de-Bernardy4 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.