[wp-trac] [WordPress Trac] #46792: CPANEL Directory Privacy DoesNOT work With WordPress Admin Directory

WordPress Trac noreply at wordpress.org
Fri Apr 5 06:31:11 UTC 2019


#46792: CPANEL Directory Privacy DoesNOT work With WordPress Admin Directory
---------------------------------------------+-----------------------------
 Reporter:  ephremfirew                      |       Owner:  (none)
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  Awaiting
                                             |  Review
Component:  Security                         |     Version:  5.1
 Severity:  blocker                          |  Resolution:
 Keywords:  needs-testing reporter-feedback  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch needs-testing => needs-testing reporter-feedback


Comment:

 Hi @ephremfirew, welcome to WordPress Trac! Thanks for the report.

 > Protecting my wordpress admin directory using CPANEL Directory privacy
 feature doesn't work.

 Could you clarify the exact issue with that feature and provide the steps
 to reproduce it?

 > Replaced with this by adding another / after Dot:
 > {{{
 > RewriteRule ./ /index.php [L]
 > }}}

 What's the purpose of that change? As you've noticed, any changes inside
 `# BEGIN WordPress ... # END WordPress` can be overwritten. If you need
 custom rewrite rules, they should be added outside of that block.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46792#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list