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
#box { | |
height: 90px; | |
line-height: 90px; | |
} |
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
errordocument 410 default | |
redirectmatch 410 /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
function virtual_robots_disallow( $output, $public ) { | |
$output .= "\n" . 'Disallow: /backup' . "\n"; | |
return $output; | |
} | |
add_filter( 'robots_txt', 'virtual_robots_disallow', 10, 2 ); |
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 | |
//Purpose to Check Contents of the Robots.txt File for a Series of Domains in a Local Text File | |
//define text file location | |
$old_url_text_file = "list.txt"; | |
//get contents of text file | |
$old_url_list = file_get_contents($old_url_text_file); | |
//process text file | |
$old_urls = explode("\n", $old_url_list); | |
$old_urls = array_filter(array_map('trim', $old_urls)); | |
//loop through text files |
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
httpd -v |
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
:g/profile/d |
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
var widest = null; | |
// remember the width of the "widest" element - probably faster than calling .width() | |
var widestWidth = 0; | |
$("div").each(function() { | |
if (widest == null) | |
{ | |
widest = $(this); | |
widestWidth = $(this).width(); | |
} | |
else |
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
define('FTP_USER', 'username'); // Your FTP username | |
define('FTP_PASS', 'password'); // Your FTP password | |
define('FTP_HOST', 'ftp.example.org:21'); // Your FTP URL:Your FTP port |
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
<meta name="robots" content="noindex, nofollow"> |
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
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L] |