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
| #Powershell | |
| Get-ChildItem -Path . -Recurse -Filter *.txt | Select-String -Pattern "whatever/.com" | ForEach-Object { "$($_.Path): Line $($_.LineNumber): $($_.Line)`n" } | | |
| Out-File -FilePath results.txt | |
| Get-ChildItem -Path . -Recurse -Filter *.txt | Select-String -Pattern "\@whatever\.com" | ForEach-Object { "$($_.Path): Line $($_.LineNumber): $($_.Line)`n" } | Out-File -FilePath "results_$(Get-Date -Format 'yyyy-MM-dd_HH-mm-ss').txt" |
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 | |
| //Remove post-sitemap.xml from Yoast Sitemap index without affecting indexability | |
| add_filter('wpseo_sitemap_index_links', function ($sitemaps) { | |
| foreach ($sitemaps as $key => $sitemap) { | |
| if (isset($sitemap['loc']) && strpos($sitemap['loc'], 'post-sitemap.xml') !== false) { | |
| unset($sitemaps[$key]); | |
| } | |
| } | |
| return $sitemaps; | |
| }); |
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
| Example List: | |
| 7/27/16 22:14 | |
| 7/8/16 17:24 | |
| 6/28/16 0:06 | |
| 6/14/16 3:40 | |
| 6/4/16 12:53 | |
| 5/26/16 17:29 | |
| 5/3/16 2:44 | |
| 4/19/16 3:05 | |
| 4/5/16 19:00 |
OlderNewer