Basic release
This commit is contained in:
		
							
								
								
									
										13
									
								
								modules/seo/classes/Seo.class.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								modules/seo/classes/Seo.class.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace Bdp\Modules\Seo;
 | 
			
		||||
class Seo
 | 
			
		||||
{
 | 
			
		||||
    public static function setup()
 | 
			
		||||
    {
 | 
			
		||||
        if (get_option('permalink_structure') === '') {
 | 
			
		||||
            update_option('permalink_structure', '/%postname%/');
 | 
			
		||||
            flush_rewrite_rules();
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user