Skip to content

Commit

Permalink
Merge pull request #1595 from xwp/fix/broken-assets-paths
Browse files Browse the repository at this point in the history
fix: Broken assets' paths
  • Loading branch information
marcinkrzeminski authored Oct 4, 2024
2 parents 6c0837c + 944634b commit 46262e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion local/public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) /wp/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(admin|includes).*) /wp/$2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-content.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ /wp/$2 [L]
RewriteRule . /wp/index.php [L]
# END WordPress

0 comments on commit 46262e6

Please sign in to comment.