A modern coming soon page using linear gradient as background and as button background
A Pen by Parsa Fatehi on CodePen.
| <?php | |
| // PHP memory limit for this site | |
| define( 'WP_MEMORY_LIMIT', '128M' ); | |
| define( 'WP_MAX_MEMORY_LIMIT', '256M' ); // Increase admin-side memory limit. | |
| // Database | |
| define( 'WP_ALLOW_REPAIR', true ); // Allow WordPress to automatically repair your database. | |
| define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true ); // Don't make database upgrades on global tables (like users) | |
| // Explicitely setting url |
| 1,google.com | |
| 2,youtube.com | |
| 3,facebook.com | |
| 4,baidu.com | |
| 5,wikipedia.org | |
| 6,qq.com | |
| 7,amazon.com | |
| 8,yahoo.com | |
| 9,taobao.com | |
| 10,tmall.com |
| <\s*a[^>]*>(YOUR_STRING)<\s*\/\s*a> |
| SELECT | |
| t.term_id AS 'Attribute Value ID', | |
| TRIM('pa_' FROM tt.taxonomy) AS 'Attribute Name', | |
| t.name AS 'Attribute Value', | |
| COUNT(t.name) as 'num' | |
| FROM | |
| wp_posts AS p | |
| INNER JOIN wp_term_relationships AS tr | |
| ON | |
| p.ID = tr.object_id |
A modern coming soon page using linear gradient as background and as button background
A Pen by Parsa Fatehi on CodePen.
| # Redirect to a different domain | |
| server { | |
| server_name .domain1.com; | |
| return 301 https://domain2.com$request_uri; | |
| } |
| #!/bin/bash | |
| # Change WP_PATH with your WordPress installation path | |
| cd /WP_PATH | |
| NOW=$(date +%Y%m%d%H%M%S) | |
| SQL_FILE=${NOW}_database.sql | |
| # Backup database | |
| wp db export ../backups/$SQL_FILE --add-drop-table |
| location ~ ^/wp-content/uploads/(.*) { | |
| if (!-f $request_filename) { | |
| rewrite ^/wp-content/uploads/(.*)$ http://REMOTE_DOMAIN.com/wp-content/uploads/$1 redirect; | |
| } | |
| } |
| server { | |
| listen 80; | |
| server_name webmail.DOMAIN.com; | |
| rewrite ^(.*) https://mail.zoho.com/zm/#mail/views/unread$1 permanent; | |
| } | |
| server { | |
| listen 443 ssl; | |
| server_name webmail.DOMAIN.com; | |
| rewrite ^(.*) https://mail.zoho.com/zm/#mail/views/unread$1 permanent; |