diff --git a/Dockerfile b/Dockerfile index ed6c80e..f1b8582 100755 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,6 @@ RUN chmod +x /entrypoint.sh COPY assets /var/www/html/assets/ COPY src /var/www/html/src/ COPY robots.txt /var/www/html/robots.txt -COPY sitemap.xml /var/www/html/sitemap.xml COPY 404.html /var/www/html/404.html COPY 500.html /var/www/html/500.html COPY .env /var/www/html/.env diff --git a/infra/nginx.conf b/infra/nginx.conf index dfd6080..9daea1c 100755 --- a/infra/nginx.conf +++ b/infra/nginx.conf @@ -42,7 +42,13 @@ http { client_max_body_size 16k; location = /robots.txt { access_log off; try_files $uri =404; } - location = /sitemap.xml { access_log off; try_files $uri =404; } + location = /sitemap.xml { + access_log off; + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME /var/www/html/src/api/sitemap.php; + fastcgi_param QUERY_STRING ""; + fastcgi_pass 127.0.0.1:9000; + } location = /404.html { internal; } location = /500.html { internal; } diff --git a/sitemap.xml b/sitemap.xml deleted file mode 100755 index 2c38c49..0000000 --- a/sitemap.xml +++ /dev/null @@ -1,105 +0,0 @@ - - - - https://floorithardwoodfloors.com/ - 2026-05-31 - weekly - 1.0 - - - https://floorithardwoodfloors.com/about/ - 2026-05-31 - monthly - 0.8 - - - https://floorithardwoodfloors.com/contact/ - 2026-05-31 - monthly - 0.9 - - - https://floorithardwoodfloors.com/reviews/ - 2026-05-31 - weekly - 0.8 - - - https://floorithardwoodfloors.com/blog/ - 2026-05-31 - weekly - 0.7 - - - https://floorithardwoodfloors.com/services/ - 2026-05-31 - monthly - 0.9 - - - https://floorithardwoodfloors.com/services/floor-installation/ - 2026-05-31 - monthly - 0.85 - - - https://floorithardwoodfloors.com/services/floor-refinishing/ - 2026-05-31 - monthly - 0.85 - - - https://floorithardwoodfloors.com/services/floor-restoration/ - 2026-05-31 - monthly - 0.85 - - - https://floorithardwoodfloors.com/services/floor-sanding/ - 2026-05-31 - monthly - 0.85 - - - https://floorithardwoodfloors.com/locations/ - 2026-05-31 - monthly - 0.8 - - - https://floorithardwoodfloors.com/locations/buffalo/ - 2026-05-31 - monthly - 0.85 - - - https://floorithardwoodfloors.com/locations/amherst/ - 2026-05-31 - monthly - 0.8 - - - https://floorithardwoodfloors.com/locations/williamsville/ - 2026-05-31 - monthly - 0.8 - - - https://floorithardwoodfloors.com/locations/clarence/ - 2026-05-31 - monthly - 0.8 - - - https://floorithardwoodfloors.com/locations/east-amherst/ - 2026-05-31 - monthly - 0.8 - - - https://floorithardwoodfloors.com/locations/lancaster/ - 2026-05-31 - monthly - 0.8 - - diff --git a/src/api/components/_footer.php b/src/api/components/_footer.php index 9b37561..9d717f1 100755 --- a/src/api/components/_footer.php +++ b/src/api/components/_footer.php @@ -37,12 +37,14 @@ + +
+ +
+