Skip to content

Commit

Permalink
update htaccess rules
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Nov 2, 2023
1 parent c857932 commit ebb14bf
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions public/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,35 @@ RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.php/$1 [L]

RewriteCond %{REQUEST_URI} /license
RewriteCond %{REQUEST_URI} ^/license
RewriteRule ^(.*)$ https://github.com/apioo/fusio/blob/master/LICENSE [R=301]

RewriteCond %{REQUEST_URI} /documentation
RewriteCond %{REQUEST_URI} ^/documentation
RewriteRule ^(.*)$ https://docs.fusio-project.org/ [R=301]

RewriteCond %{REQUEST_URI} /documentation/php
RewriteCond %{REQUEST_URI} ^/documentation/php
RewriteRule ^(.*)$ https://docs.fusio-project.org/docs/concepts/php_api/ [R=301]

RewriteCond %{REQUEST_URI} /documentation/worker
RewriteCond %{REQUEST_URI} ^/documentation/worker
RewriteRule ^(.*)$ https://docs.fusio-project.org/docs/concepts/worker_api/ [R=301]

RewriteCond %{REQUEST_URI} /documentation/(.*)
RewriteCond %{REQUEST_URI} ^/documentation/(.*)
RewriteRule ^(.*)$ https://docs.fusio-project.org/ [R=301]

RewriteCond %{REQUEST_URI} /labels/(.*)
RewriteCond %{REQUEST_URI} ^/labels/(.*)
RewriteRule ^(.*)$ /blog [R=301]

RewriteCond %{REQUEST_URI} /blog/category/(.*)
RewriteCond %{REQUEST_URI} ^/blog/category/(.*)
RewriteRule ^(.*)$ /blog [R=301]

RewriteCond %{REQUEST_URI} /apps
RewriteCond %{REQUEST_URI} ^/apps
RewriteRule ^(.*)$ /marketplace [R=301]

RewriteCond %{REQUEST_URI} /amp
RewriteCond %{REQUEST_URI} ^/amp
RewriteRule ^(.*)$ / [R=301]

RewriteCond %{REQUEST_URI} /forum
RewriteCond %{REQUEST_URI} ^/forum
RewriteRule ^(.*)$ https://github.com/apioo/fusio/issues [R=301]

RewriteCond %{REQUEST_URI} /forum/(.*)
RewriteCond %{REQUEST_URI} ^/forum/(.*)
RewriteRule ^(.*)$ https://github.com/apioo/fusio/issues [R=301]

0 comments on commit ebb14bf

Please sign in to comment.