Skip to content

Commit

Permalink
#17 Redirect all old urls to new Vue SPA to improve SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
agorilla committed Aug 25, 2018
1 parent a41b12a commit 04b31c2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/.htaccess
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# Htaccess server configuration

# Redirect old urls to new Vue SPA to improve SEO
RewriteEngine On
Redirect 301 /en/cv.php http://www.felixwiedemann.com/cv/
Redirect 301 /en/index.php /
Redirect 301 /en/featured.php /films/
Redirect 301 /en/films.php /films/
Redirect 301 /en/commercials.php /commercials/
Redirect 301 /en/cv.php /cv/
Redirect 301 /en/contact.php /contact/
Redirect 301 /en/player.php /

# Redirect all non existing pages to index page
ErrorDocument 404 /index.html

# Activate gzip for Domainfactory server
# https://www.df.eu/blog/performanceoptimierung/#kompression
<IfModule mod_filter.c>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css text/javascript
Expand Down

0 comments on commit 04b31c2

Please sign in to comment.