Mobile app version of vmapp.org
Login or Join
Cooney921

: Nginx rewrite for wp-includes works but not the one for content/uploads I want to perform a few rewrites: this actually works: rewrite ^/includes/(.*) /wordpress/wp-includes/?putyo_happybits=administrator

@Cooney921

Posted in: #Nginx #Url #UrlRewriting #Wordpress

I want to perform a few rewrites:

this actually works:

rewrite ^/includes/(.*) /wordpress/wp-includes/?putyo_happybits=administrator last;


and I get this: everhide.wordpress.dev/includes/css/dashicons.min.css?ver=4.8.2 (wp-includes are changed to includes)

I also want to do the same for uploads:

rewrite ^/files/(.*) http:/everhide.wordpress.dev/content/uploads/?putyo_happybits=administrator last;


Can not wrap my head around why this does not work.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Cooney921

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme