svkovalyov
Forum Replies Created
-
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Rules for nginxIt is necessary to remove jpg|jpeg|gif|png in the nginx.conf line location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
and reload nginxForum: Plugins
In reply to: [Adaptive Images for WordPress] Rules for nginxThis solution is important when running of Nginx + Apanche in the frontend, when configured nginx proxied image location ~ * ^. + \. (Jpg | jpeg | gif | png | svg | js | css | mp3 | ogg | mpe? g | avi | zip | gz | bz2? | rar | swf) $ {
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Rules for nginxProblem solved. In the configuration nginx section location I deleted jpg|jpeg|gif|png and began to process Apache htaccess
Before config location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
After location ~* ^.+\.(svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
I don’t know why I haven’t done this before:))Forum: Plugins
In reply to: [Adaptive Images for WordPress] Rules for nginxNot safe. This code allows any visitor can download any file from the server for example at https://example.com/wp-content/plugins/adaptive-images/adaptive-images/ai-main.php?/wp-config.php
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Rules for nginxWait, it’s not safe solution, because it allows an attacker to view the source files on the server using GET request. I think about how it can be solved in a safe way
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Rules for nginxThe problem is solved by adding nginx:
if ($request_uri ~ “/wp-content/uploads”) {
set $adaptive 1;
}
if ($request_uri ~ “/wp-content/themes”) {
set $adaptive 1;
}
if ($adaptive = 1) {
rewrite \.(?:jpe?g|gif|png)$ /wp-content/plugins/adaptive-images/adaptive-images/ai-main.php?$request_uri last;
}and ai-main.php file before parsing $_SERVER[‘REQUEST_URI’]:
if (!empty($_SERVER[QUERY_STRING])){
$_SERVER[‘REQUEST_URI’] = $_SERVER[QUERY_STRING];
}Forum: Plugins
In reply to: [Adaptive Images for WordPress] Rules for nginxIt does not work for me because nginx works with Apache as the frontend, in this case it is not visible images. Nginx transmits Apache is not the correct $request_uri, and it turns out that $_SERVER[‘REQUEST_URI’] file ai-main.php sent as “/wp-content/plugins/adaptive-images/adaptive-images/ai-main.php” and must be in the form of “/wp-content/uploads/path-toimage”
Forum: Reviews
In reply to: [Yoast SEO] BadI think that everything is true. Error with popup window -1 star, template bug %%page%% -1 star, the developer ignored my response error on github -2 stars
Forum: Plugins
In reply to: [Yoast SEO] PopupComment //add_action( ‘admin_print_footer_scripts’, array( $this, ‘intro_tour’ ) );
45 line in file /admin/class-pointers.php
I see this is a temporary solutionForum: Plugins
In reply to: [Yoast SEO] PopupSreejesh, This is not work
Forum: Plugins
In reply to: [Yoast SEO] Start Tour bugAfter the upgrade, there is a problem with the translation template “%% page %%”
In Russian should be “Страница n из n”, after the update, I see in English “Page n of n”
I also acknowledge a problem with pop-up window