WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #31664


Ignore:
Timestamp:
03/17/2015 09:11:16 AM (5 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31664 – Description

    initial v1  
    1515- Copy andPaste "Network setup" from Dashboard. Here is the "problem", the .htaccess here shows:
    1616
     17{{{
    1718RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) D:/Programs/xampp/htdocs/H4Net/$2 [L]
    1819RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ D:/Programs/xampp/htdocs/H4Net/$2 [L]
     20}}}
    1921
    2022After a long researching, I have found an advice from a long time ago and applied. The advise where to change these 2 lines to:
    21 
     23{{{
    2224RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) /H4Net/$2 [L]
    2325RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ /H4Net/$2 [L]
    24 
     26}}}
    2527After this change it works.
    2628
     
    3032- Copy andPaste "Network setup" from Dashboard. Here is "again"  the "problem", the .htaccess here shows:
    3133
     34{{{
    3235RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) sites/MYURL/$2 [L]
    3336RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ sites/MYURL/$2 [L]
     37}}}
    3438
    3539The solution I found is to change it to:
    36 
     40{{{
    3741RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    3842RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    39 
     43}}}
    4044================================================
    4145