Created
          February 28, 2019 18:15 
        
      - 
      
- 
        Save wp-seopress/86c9c02913ae3f3f67164295914bc6d5 to your computer and use it in GitHub Desktop. 
    Exclude URL starting with specific values from 404 monitoring
  
        
  
    
      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
    
  
  
    
  | add_filter('seopress_404_exclude','sp_pro_404_exclude'); | |
| function sp_pro_404_exclude($array) { | |
| //URL starting with, to exclude (default: "wp-content/cache") | |
| $array[] = 'wp-content/themes'; | |
| return $array; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment