Skip to content

Commit

Permalink
fix: Broken assets' paths
Browse files Browse the repository at this point in the history
We're using the wp-content that's directly in the root, instead of the one from wp/wp-content.
  • Loading branch information
marcinkrzeminski committed Oct 3, 2024
1 parent ec217b8 commit 944634b
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 944634b

Please sign in to comment.