Skip to content

Commit

Permalink
Merge pull request #18 from ScreepCode/now_Page
Browse files Browse the repository at this point in the history
Fix: /now as first page, old method does not work
  • Loading branch information
ScreepCode committed Feb 26, 2024
2 parents 7ca743f + 5b51c96 commit f0a1d3f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
1 change: 0 additions & 1 deletion .htaccess
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Aktiviere HTTPS
RewriteEngine On
RewriteRule ^index.html now.html
RewriteCond %{REQUEST_SCHEME}::%{HTTP_HOST} ^http::(?:www\.)?(.+)$
RewriteRule ^ https://www.%1%{REQUEST_URI} [NE,L,R]

Expand Down
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta http-equiv="refresh" content="0; url=now.html">
</head>
</html>
13 changes: 9 additions & 4 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.niklas-buse.de/work.html</loc>
<loc>https://www.niklas-buse.de/now.html</loc>
<priority>1.00</priority>
<lastmod>2024-02-26</lastmod>
</url>
<url>
<loc>https://www.niklas-buse.de</loc>
<priority>1.00</priority>
<lastmod>2024-02-26</lastmod>
</url>
Expand All @@ -16,17 +21,17 @@
<lastmod>2024-02-26</lastmod>
</url>
<url>
<loc>https://www.niklas-buse.de/now.html</loc>
<loc>https://www.niklas-buse.de/work.html</loc>
<priority>0.50</priority>
<lastmod>2024-02-26</lastmod>
</url>
<url>
<loc>https://www.niklas-buse.de/impressum.html</loc>
<loc>https://www.niklas-buse.de/datenschutz.html</loc>
<priority>0.30</priority>
<lastmod>2024-02-26</lastmod>
</url>
<url>
<loc>https://www.niklas-buse.de/datenschutz.html</loc>
<loc>https://www.niklas-buse.de/impressum.html</loc>
<priority>0.30</priority>
<lastmod>2024-02-26</lastmod>
</url>
Expand Down

0 comments on commit f0a1d3f

Please sign in to comment.