[wp-trac] [WordPress Trac] #51381: example
WordPress Trac
noreply at wordpress.org
Wed Sep 23 13:09:55 UTC 2020
#51381: example
-------------------------------------------------+-------------------------
Reporter: ruangkelaspkn22 | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting
| Review
Component: Build/Test Tools | Version: 5.1.1
Severity: normal | Keywords: dev-
Focuses: ui, accessibility, javascript, css, | feedback
docs, rtl, administration, template, |
multisite, rest-api, performance, privacy, |
ui-copy, coding-standards |
-------------------------------------------------+-------------------------
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?example.com$
RewriteCond %{REQUEST_URI} !^/my_subdir/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /my_subdir/$1
RewriteCond %{HTTP_HOST} ^(www.)?example.com$
RewriteRule ^(/)?$ my_subdir/index.php [L]
</IfModule>
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51381>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list