[wp-trac] [WordPress Trac] #38275: Single wildcard character in .htaccess requests any page
WordPress Trac
noreply at wordpress.org
Mon Oct 10 15:09:56 UTC 2016
#38275: Single wildcard character in .htaccess requests any page
-------------------------------+-----------------------------
Reporter: martinthehorrible | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version:
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
For example, if the site is http://www.mysite.com, requesting
http://www.mysite.com/s will redirect to a permalink beginning with 's'.
This sends the user to an unexpected page.
This request should redirect to 404 when the page
'http://www.mysite.com/s' doesn't exist.
In the WP installation folder, the following .htaccess rewrite rule causes
this problem:
RewriteRule . /index.php [L]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38275>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list