This file contains hidden or 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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| redirectMatch 301 ^(.*)$ https://www.domain.com$1 | |
| </IfModule> |
This file contains hidden or 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 | |
| # | |
| # | |
| clear | |
| for d in * ; do | |
| #if [ -e "$d/wp-config.php" ]; then | |
| cd "$d" | |
| echo "-----------------------------" | |
| echo "Updating WordPress in... $d" | |
| wp core update |
This file contains hidden or 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
| <script>fbq('track', 'Lead');</script> |
This file contains hidden or 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
| <?php | |
| ini_set( 'memory_limit', '1024M' ); | |
| ini_set( 'max_execution_time', 600 ); | |
| define( 'WP_USE_THEMES', false ); | |
| require_once 'wp-load.php'; | |
| echo 'iniciado proceso.' . date( 'H:i:s', time() ) . '<br />'; | |
| $weight_final = '1000'; |
This file contains hidden or 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
| <script>fbq('track', 'PageView');</script> |
This file contains hidden or 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
| ssh-keyscan -t rsa itm20.siteground.biz >> ~/.ssh/known_hosts | |
| cd ~/.ssh/ | |
| nano [your-private-key] | |
| chmod 600 [your-private-key] | |
| ssh-add -K ~/.ssh/[your-private-key] | |
| # Poner la frase privada que da SG-Git | |
| git clone ssh://[url] |
This file contains hidden or 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
| #Wordpress | |
| htaccess.txt | |
| index.php | |
| licencia.txt | |
| license.txt | |
| readme.html | |
| robots.txt | |
| wp-activate.php | |
| wp-blog-header.php | |
| wp-comments-post.php |
This file contains hidden or 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
| .ftpquota | |
| .gitignore |
This file contains hidden or 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
| [git-ftp] | |
| url = ftp://ftp.url.com:21/www/ | |
| user = username | |
| password = "pass" |
This file contains hidden or 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
| /* | |
| Site Header | |
| ---------------------------------------------------------------------------------------------------- */ | |
| /* This is where the magic happens. You need | |
| * to assign a fixed position in order for | |
| * everything else to work correctly. | |
| --------------------------------------------- */ | |
| .site-header { | |
| position: fixed; | |
| top: 0; |