Skip to content

Commit e6853cc

Browse files
committed
configuration for custom domain redirect
1 parent 6999c50 commit e6853cc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Temporary Items
160160
#### Hugo Section
161161

162162
# generated files by hugo
163-
/docs/
163+
docs/
164164
/public/
165165
/resources/_gen/
166166

website/static/_redirects

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Redirect default subdomain to primary domain
2+
https://learnpython.netlify.com/* https://www.learnpython.dev/:splat 301!

0 commit comments

Comments
 (0)