Skip to content

Instantly share code, notes, and snippets.

@akoepcke
Last active August 27, 2019 07:35
Show Gist options
  • Save akoepcke/4ef5ce3850616aca9d40d5fd89bbffa0 to your computer and use it in GitHub Desktop.
Save akoepcke/4ef5ce3850616aca9d40d5fd89bbffa0 to your computer and use it in GitHub Desktop.
Files:
find /path/to/root -type f -exec chmod 644 {} \;
Folders:
find /path/to/root -type d -exec chmod 755 {} \;
.htaccess (because of Ionos)
modify RewriteRule ^ index.php
to RewriteRule ^ /index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment