custom post type gibi duruyor.
temada register_post_type( kelimesini aratın, ve şu satırda destinations’u istediğiniz URL ye değiştirin.
'rewrite' => array( 'slug' => 'destinations’' )
Alternatif olarak, child tema oluşturduysanız, functions.php sine
function globaliser_modify_custom_post_type_slug() {
$args = get_post_type_object( 'destinations' );
$args->rewrite['slug'] = 'rehber';
register_post_type( 'rehber_post_type', $args );
}
add_action( 'init', 'globaliser_modify_custom_post_type_slug', 11 );
11 olmazsa 21 deneyin. Orjinal post type kayıt kodundakinden yüksek olması gerekiyor.
Tema güncellenirse birinci seçenekteki değişiklik silinir(tekrar değişiklik yapmanız gerekir), ikinci seçenekte (child tema) ise problem olmaz.
Cevabınız için teşekkür ederim. İki seçeneği de denedim. İkisinde de linki değiştirmeyi başardım ancak yeni bir sayfa oluşturduğumda 404 hatası verdi.