• Sử dụng Yoast SEO XML Sitemaps trên máy chủ NGINX 1
    Wordpress Plugins

    Sử dụng Yoast SEO XML Sitemaps trên máy chủ NGINX

    Plugin Yoat SEO có hỗ trợ tạo XML Sitemaps, tuy nhiên nếu máy chủ của bạn là Nginx thì bạn cần phải thêm đoạn mã rewrite vào file cấu hình của Nginx để Yoast SEO XML Sitemaps có thể hoạt động tốt. # Rewrites for Yoast SEO XML Sitemap rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last; rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last; Sau khi thêm vào file…