Htaccess File

richardhinkamp/richardhinkamp-blog-website/master/site/.htaccess

# Set the default handler.
DirectoryIndex index.html

<IfModule mod_rewrite.c>
  RewriteEngine on

  # Some servers require the RewriteBase to be set. If so, set to the correct folder.
  # RewriteBase /
  RewriteRule ^blogs/?$ /blogs.html [R=301,L]
  RewriteRule ^quotes/?$ /quotes.html [R=301,L]
  RewriteRule ^sitemap/?$ /sitelist.html [R=301,L]
  RewriteRule ^blog/(.*)$ /blogs/$1.html [R=301,L]

</IfModule>
Exit mobile version