Skip to content

Instantly share code, notes, and snippets.

View giulianopires's full-sized avatar
💭
i may be slow to respond.

giuliano pires giulianopires

💭
i may be slow to respond.
View GitHub Profile
@badfeather
badfeather / sunrise.php
Last active June 8, 2021 18:58
Allow nested folder paths in WordPress Multisite with subdirectories
<?php
/**
* Allow nested folder paths in WordPress Multisite with subdirectories
* Updated from http://maisonbisson.com/post/14052/wordpress-hacks-nested-paths-for-wpmu-blogs/ to account for latest WordPress code
* .htaccess rules also need to be changed to:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]