kompass/modules/seo/classes/Seo.class.php

14 lines
262 B
PHP
Raw Permalink Normal View History

2023-12-30 14:28:21 +01:00
<?php
namespace Bdp\Modules\Seo;
class Seo
{
public static function setup()
{
if (get_option('permalink_structure') === '') {
update_option('permalink_structure', '/%postname%/');
flush_rewrite_rules();
}
}
}