diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..9b75112 --- /dev/null +++ b/.htaccess @@ -0,0 +1,28 @@ +Options -MultiViews -Indexes +DirectoryIndex index.html +DirectorySlash Off + + + RewriteEngine On + + # Old /html/... addresses + RewriteRule ^html/services/([^/]+)/?(?:index\.html)?$ /services/$1 [R=301,L] + RewriteRule ^html/(about|giveaway)/?(?:index\.html)?$ /$1 [R=301,L] + + # /index.html -> / + RewriteCond %{THE_REQUEST} \s/+index\.html[\s?] [NC] + RewriteRule ^index\.html$ / [R=301,L] + + # /services/name/index.html, /about/index.html, /giveaway/index.html -> clean path + RewriteCond %{THE_REQUEST} \s/+(services/[^/\s]+|about|giveaway)/index\.html[\s?] [NC] + RewriteRule ^ /%1 [R=301,L] + + # Drop the trailing slash on those same pages + RewriteCond %{THE_REQUEST} \s/+(services/[^/\s]+|about|giveaway)/[\s?] [NC] + RewriteRule ^ /%1 [R=301,L] + + # Serve the folder's index.html while keeping the clean address + RewriteCond %{REQUEST_FILENAME} !-f + RewriteCond %{REQUEST_FILENAME}/index.html -f + RewriteRule ^(.+?)/?$ $1/index.html [L] + diff --git a/html/about/index.html b/about/index.html similarity index 85% rename from html/about/index.html rename to about/index.html index 064c892..2dba54f 100644 --- a/html/about/index.html +++ b/about/index.html @@ -16,9 +16,9 @@ content="Learn about Enrique Felipe and Sioux Diamond Detailing LLC — a locally owned auto detailing business in Sioux Center, Iowa serving the surrounding area since 2023." /> - - - + + + @@ -27,9 +27,9 @@ rel="stylesheet" /> - - - + + + About Us | Sioux Diamond Detailing @@ -41,79 +41,79 @@ instagram icon facebook icon tiktok icon google icon + + +
+
+
+
+ +

GIVEAWAY

+
+

+ Win a free car detail +

+

+ Fill out the form below for a chance to win a free car detail. +

+

Entries close November 1, 2026.

+
+
+
+
+ 0 + Days +
+
+ 00 + Hours +
+
+ 00 + Minutes +
+
+ 00 + Seconds +
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+

ENTRY FORM

+

Coming soon.

+
+
+
+
+ + + + diff --git a/index.html b/index.html index 6df6edf..fbcb3a6 100644 --- a/index.html +++ b/index.html @@ -44,6 +44,21 @@