This is something already know, rewriting attachments URLs causes 404 on nginx, no idea why
now i get a lot of not found errors, can this be fixed please
This is a discussion on nginx attachmets in vbseo within the Bug Reporting forums, part of the vBSEO SEO Plugin category; This is something already know, rewriting attachments URLs causes 404 on nginx, no idea why now i get a lot ...
This is something already know, rewriting attachments URLs causes 404 on nginx, no idea why
now i get a lot of not found errors, can this be fixed please
Hello ,
It is working correct on my server. What is the exact nginx config file you are using
Mert Gökçeimam / Crawlability Inc.
vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!
Twitter:@Depkac
Personal Blog : Mert Gökçeimam
well, my config is a mess, but here it is:
Code:server { listen 190.122.192.5:80; server_name grupoandroid.com; rewrite ^(.*) http://www.grupoandroid.com$1 permanent; } server { listen 190.122.192.5:80 default; # server_name localhost; root /var/www/nginx/default/htdocs/; gzip on; gzip_min_length 1100; gzip_buffers 8 16k; gzip_comp_level 5; gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript; gzip_disable "MSIE [1-6]\."; output_buffers 1 32k; postpone_output 1460; location ~ ^/(images)/ { expires 2d; break; } ## vbseo location ~ \.php$ { include /etc/nginx/fastcgi_params; fastcgi_index index.php; fastcgi_send_timeout 30; fastcgi_read_timeout 30; fastcgi_buffers 128 4k; fastcgi_buffer_size 4k; fastcgi_cache_use_stale timeout; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_intercept_errors on; if (-f $request_filename) { fastcgi_pass unix:/tmp/php5-fpm.sock; # fastcgi_pass unix:/tmp/php5-cgi.sock; } } location / { index index.php; rewrite ^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last; if (!-e $request_filename) { rewrite ^/(.*)$ /vbseo.php last; # try_files $uri $uri/ /vbseo.php; } } if ($request_filename ~ \.php$ ) { rewrite ^/(.*)$ /vbseo.php last; } #try_files $uri $uri/ /vbseo.php; ## /vbseo location ~* (css|js|png|jpe?g|gif|ico)$ { expires 2h; } ## no permito q vean los htacces location ~ /\.ht { deny all; } location /nginx_status { stub_status on; } }
Your config file looks OK . Can you please create a support ticket with a temporary login info and an url that has an attachment inside so we can check. Do you also have any entry within your error_log
Mert Gökçeimam / Crawlability Inc.
vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!
Twitter:@Depkac
Personal Blog : Mert Gökçeimam
ok, i will, i have to fix the server first however