Задать вопрос

Seo Pro — OpenCart 3 как исправить ошибку?

Доброго времени суток всем!
Помогите решить проблему с Seo Pro на OpenCart 3.

Суть:
Вроде бы всё работает нормально, или работало, старые ссылки работают нормально, но сегодня создал новую статью и привязал к ней seo url "administratsiyam-naselyonnykh-punktov".
При переходе по адресу получаю ошибку 404,

ошибка в логе
(2020/08/27 12:56:21 [error] 3254#3254: *1 openat() "/var/www/topiari-king/data/www/topiari-king.ru/www/administratsiyam-naselyonnykh-punktov" failed (2: No such file or directory), client: 172.16.1.1, server: topiari-king.ru, request: "GET /administratsiyam-naselyonnykh-punktov HTTP/2.0", host: "topiari-king.ru")


Запрос почему-то происходит как-бы в директорию а не на ссылку. Сам url в бд oc_seo_url появился.
Чиста кеша не помогает, модуль переустанавливал.
Помогите пожалуйста.

Текущий конфиг NGIX + PHP-FPM 7.3
server {
	server_name topiari-king.ru www.topiari-king.ru;
	charset UTF-8;
	index index.php index.html;
	disable_symlinks if_not_owner from=$root_path;
	include /etc/nginx/vhosts-includes/*.conf;
	include /etc/nginx/vhosts-resources/topiari-king.ru/*.conf;
	access_log /var/www/httpd-logs/topiari-king.ru.access.log;
	error_log /var/www/httpd-logs/topiari-king.ru.error.log notice;
	ssi on;
	set $root_path /var/www/topiari-king/data/www/topiari-king.ru/www;
	root $root_path;
	
    if ($http_user_agent ~* (11A465|Ahrefs|ArchiveBot|AspiegelBot|Baiduspider|bingbot|BLEXBot|Bytespider|CCBot|Curebot|Daum|Detectify|DotBot|Grapeshot|heritrix|Kinza|LieBaoFast|Linguee|LMY47V|MauiBot|Mb2345Browser|MegaIndex|MicroMessenger|MJ12bot|MQQBrowser|PageFreezer|PetalBot|PiplBot|Riddler|Screaming.Frog|Search365bot|SearchBlox|Seekport|SemanticScholarBot|SemrushBot|SEOkicks|serpstatbot|Siteimprove.com|Sogou.web.spider|trendictionbot|TurnitinBot|UCBrowser|weborama-fetcher|Vagabondo|VelenPublicWebCrawler|YisouSpider)){
 
        return 403;
 
}
	
    location = /sitemap.xml {
        rewrite ^(.*)$ /index.php?route=feed/google_sitemap break;
}
    location = /googlebase.xml {
        rewrite ^(.*)$ /index.php?route=feed/google_base break;
}
    location = /favicon.ico {
        log_not_found off;
        access_log off;
}
    location = /apple-touch-icon.png {
        log_not_found off;
        access_log off;
}
    location = /apple-touch-icon-precomposed.png {
        log_not_found off;
        access_log off;
}
	
	location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
}
	
    location / {
            try_files $uri @opencart;
                location ~ [^/]\.ph(p\d*|tml)$ {
                        try_files /does_not_exists @php;
                }
        }
        location @opencart {
            rewrite ^/(.+)$ /index.php?_route_=$1 last;
    }
		
		location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
			expires 180d;
		}
		
    location /admin { 
    index index.php;
    location ~ [^/]\.ph(p\d*|tml)$ {
        try_files /does_not_exists @php;
    }
}
    location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf|webp)$ {
      expires 180d;
      log_not_found off;
      add_header Pragma public;
      add_header Cache-Control "public, must-revalidate, proxy-revalidate";
      try_files $uri $uri/ @php;
    }
  # Fix for Firefox issue with cross site font icons
  location ~* \.(eot|otf|ttf|woff)$ {
    add_header Access-Control-Allow-Origin *;
  }
  location ~* (\.(tpl|ini))$ { deny all; }
  location ~* \.(engine|inc|info|ini|install|log|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|\.php_ {
    deny all;
  }
  location ~ /\. {
    access_log off;
    log_not_found off;
    deny all;
  }
  location ~ ~$ {
    access_log off;
    log_not_found off;
    deny all;
  }
  location ~* /(?:cache|logs|image|download)/.*\.php$ {
    deny all;
  }
	gzip on;
	gzip_comp_level 5;
	gzip_disable "msie6";
	gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
	location @php {
		fastcgi_index index.php;
		fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f webmaster@topiari-king.ru";
		fastcgi_pass unix:/var/www/php-fpm/topiari-king.sock;
		fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
		try_files $uri =404;
		include fastcgi_params;
	}
	return 301 https://$host:443$request_uri;
	location /www/webstat/ {
		location ~ [^/]\.ph(p\d*|tml)$ {
			try_files /does_not_exists @php;
		}
		charset UTF-8;
		index index.html;
		auth_basic "Access limited by ISPmanager";
		auth_basic_user_file /var/www/topiari-king/data/etc/access.topiari-king.ru.VihQs/3k.passwd;
	}
	listen 172.16.1.5:80;
	location /webstat/ {
		location ~ [^/]\.ph(p\d*|tml)$ {
			try_files /does_not_exists @php;
		}
	}
}
server {
	server_name topiari-king.ru www.topiari-king.ru;
	ssl_certificate "/var/www/httpd-cert/topiari-king/topiari-king.ru_le1.crtca";
	ssl_certificate_key "/var/www/httpd-cert/topiari-king/topiari-king.ru_le1.key";
	ssl_ciphers EECDH:+AES256:-3DES:RSA+AES:!NULL:!RC4;
	ssl_prefer_server_ciphers on;
	ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
	add_header Strict-Transport-Security "max-age=31536000;";
	ssl_dhparam /etc/ssl/certs/dhparam4096.pem;
	charset UTF-8;
	index index.php index.html;
	disable_symlinks if_not_owner from=$root_path;
	include /etc/nginx/vhosts-includes/*.conf;
	include /etc/nginx/vhosts-resources/topiari-king.ru/*.conf;
	access_log /var/www/httpd-logs/topiari-king.ru.access.log;
	error_log /var/www/httpd-logs/topiari-king.ru.error.log notice;
	ssi on;
	set $root_path /var/www/topiari-king/data/www/topiari-king.ru/www;
	root $root_path;
	gzip on;
	gzip_comp_level 5;
	gzip_disable "msie6";
	gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript;
	
	if ($http_user_agent ~* (11A465|Ahrefs|ArchiveBot|AspiegelBot|Baiduspider|bingbot|BLEXBot|Bytespider|CCBot|Curebot|Daum|Detectify|DotBot|Grapeshot|heritrix|Kinza|LieBaoFast|Linguee|LMY47V|MauiBot|Mb2345Browser|MegaIndex|MicroMessenger|MJ12bot|MQQBrowser|PageFreezer|PetalBot|PiplBot|Riddler|Screaming.Frog|Search365bot|SearchBlox|Seekport|SemanticScholarBot|SemrushBot|SEOkicks|serpstatbot|Siteimprove.com|Sogou.web.spider|trendictionbot|TurnitinBot|UCBrowser|weborama-fetcher|Vagabondo|VelenPublicWebCrawler|YisouSpider)){
 
        return 403;
 
}
	
	location = /sitemap.xml {
        rewrite ^(.*)$ /index.php?route=feed/google_sitemap break;
}
    location = /googlebase.xml {
        rewrite ^(.*)$ /index.php?route=feed/google_base break;
}
    location = /favicon.ico {
        log_not_found off;
        access_log off;
}
    location = /apple-touch-icon.png {
        log_not_found off;
        access_log off;
}
    location = /apple-touch-icon-precomposed.png {
        log_not_found off;
        access_log off;
}
	
	location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
}
	
	location / {
            try_files $uri @opencart;
                location ~ [^/]\.ph(p\d*|tml)$ {
                        try_files /does_not_exists @php;
                }
        }
        location @opencart {
            rewrite ^/(.+)$ /index.php?_route_=$1 last;
    }
    
		location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
			expires 180d;
		}

    location /admin { 
    index index.php;
    location ~ [^/]\.ph(p\d*|tml)$ {
        try_files /does_not_exists @php;
    }
}
    location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf|webp)$ {
      expires 180d;
      log_not_found off;
      add_header Pragma public;
      add_header Cache-Control "public, must-revalidate, proxy-revalidate";
      try_files $uri $uri/ @php;
    }
  # Fix for Firefox issue with cross site font icons
  location ~* \.(eot|otf|ttf|woff)$ {
    add_header Access-Control-Allow-Origin *;
  }
  location ~* (\.(tpl|ini))$ { deny all; }
  location ~* \.(engine|inc|info|ini|install|log|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|\.php_ {
    deny all;
  }
  location ~ /\. {
    access_log off;
    log_not_found off;
    deny all;
  }
  location ~ ~$ {
    access_log off;
    log_not_found off;
    deny all;
  }
  location ~* /(?:cache|logs|image|download)/.*\.php$ {
    deny all;
  }
	
	location @php {
		fastcgi_index index.php;
		fastcgi_param PHP_ADMIN_VALUE "sendmail_path = /usr/sbin/sendmail -t -i -f webmaster@topiari-king.ru";
		fastcgi_pass unix:/var/www/php-fpm/topiari-king.sock;
		fastcgi_split_path_info ^((?U).+\.ph(?:p\d*|tml))(/?.+)$;
		try_files $uri =404;
		include fastcgi_params;
	}
	location /www/webstat/ {
		location ~ [^/]\.ph(p\d*|tml)$ {
			try_files /does_not_exists @php;
		}
		charset UTF-8;
		index index.html;
		auth_basic "Access limited by ISPmanager";
		auth_basic_user_file /var/www/topiari-king/data/etc/access.topiari-king.ru.VihQs/3k.passwd;
	}
	listen 172.16.1.5:443 ssl http2;
	location /webstat/ {
		location ~ [^/]\.ph(p\d*|tml)$ {
			try_files /does_not_exists @php;
		}
	}
}
  • Вопрос задан
  • 554 просмотра
Подписаться 1 Простой 3 комментария
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы