geildanke/GEILDANKE/master/root.htaccess - Htaccess File

geildanke/GEILDANKE/master/root.htaccess

# Host this file in the webdoc directory as .htaccess

# ------------------------------------------------------------------------------
# | Redirects                                                                  |
# ------------------------------------------------------------------------------

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /

    # geildanke.com/curated-blockchain-news is geildanke.com/BLOCKCHAIN
    RewriteCond %{REQUEST_URI} (.*)curated-blockchain-news(.*) [NC]
    RewriteRule ^curated-blockchain-news(.*)$ BLOCKCHAIN$1 [QSA,L]

    RewriteCond %{REQUEST_URI} (.*)wordpress-theme/double-beat-palace-electronic-music-band(.*) [NC]
    RewriteRule ^wordpress-theme/double-beat-palace-electronic-music-band(.*)$ DBP$1 [QSA,L]

    # Do not further rewrite already rewritten URLs
    RewriteCond %{REQUEST_URI} (.*)BLOCKCHAIN(.*) [OR]
    RewriteCond %{REQUEST_URI} (.*)DBP(.*)
    RewriteRule ^.*$ - [QSA,L]

    # rewrite non catched base URLs to GEILDANKE
    # geildanke.com is geildanke.com/GEILDANKE
    RewriteCond %{REQUEST_URI} !(.*)/GEILDANKE/ [NC]
    RewriteRule ^(.*)$ GEILDANKE/$1 [QSA,L]
</IfModule>

Redirect 301 /2011/09/rolling-stone-deutschland/ https://geildanke.com/de/projekt/rolling-stone-deutschland-ipad-zeitungskiosk.html
Redirect 301 /adobe-dps-entitlement-server-one-click-buy-autobild.html https://geildanke.com/de/projekt/adobe-dps-entitlement-server-one-click-buy-autobild.html
Redirect 301 /50-years-of-porsche-911-ipad-app.html https://geildanke.com/en/project/50-years-of-porsche-911-ipad-app.html
Redirect 301 /elektrospieler-games-magazin.html https://geildanke.com/support/#/de/elektrospieler
Redirect 301 /crate-gaming-apps-magazine.html https://geildanke.com/support/#/de/crate
Redirect 301 /privacy.html https://geildanke.com/de/imprint
Redirect 301 /news/ https://geildanke.com/blog/
Redirect 301 /news https://geildanke.com/blog/
Redirect 301 /team/ https://geildanke.com/de/about/
Redirect 301 /team https://geildanke.com/de/about/
Redirect 301 /kontakt/ https://geildanke.com/de/contact
Redirect 301 /kontakt https://geildanke.com/de/contact
Redirect 301 /home/ https://geildanke.com/
Redirect 301 /home https://geildanke.com/
Redirect 301 /datenschutz/ https://geildanke.com/de/imprint
Redirect 301 /datenschutz https://geildanke.com/de/imprint
Redirect 301 /impressum/ https://geildanke.com/de/imprint
Redirect 301 /impressum https://geildanke.com/de/imprint
Redirect 301 /index-en.html https://geildanke.com/en/

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache