This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Set your vault ID and item ID | |
ACCOUNT_ID="ABCDEFGHIJKLMNOPQRSTUVWXYZ" | |
VAULT_ID="abcdefghijklmnopqrstuvwxyz" | |
ITEM_ID="abcdefghijklmnopqrstuvwxyz" | |
# Authenticate with 1Password (if not already authenticated) | |
# Retrieve the passphrase from 1Password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
#RewriteBase /blog/ | |
RewriteBase /~accountname/ | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
#RewriteRule . /blog/index.php [L] | |
RewriteRule . /~accountname/index.php [L] |