• 31-03-2019, 21:57:44
    #1
    merhaba arkadaşlar

    ben sitemde jannah adli temayı kullanıyorum.

    url den kategori temelini kaldirdim. yani istanbul kategorisi sitemde site.com/istanbul seklinde görünüyor.

    mevcut kategori sayfasi benim işime yeterli degil. ben buraya yazilar sayfasindan olusturdugum istanbul sayfasinin cikmasini istiyorum. bu yazi sayfasinin url si de site.com/istanbul

    ben be yaparsam kategori yerine yazi sayfasini gosterebilirim?
  • 31-03-2019, 22:50:15
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    ahzukabz adlı üyeden alıntı: mesajı görüntüle
    merhaba arkadaşlar

    ben sitemde jannah adli temayı kullanıyorum.

    url den kategori temelini kaldirdim. yani istanbul kategorisi sitemde site.com/istanbul seklinde görünüyor.

    mevcut kategori sayfasi benim işime yeterli degil. ben buraya yazilar sayfasindan olusturdugum istanbul sayfasinin cikmasini istiyorum. bu yazi sayfasinin url si de site.com/istanbul

    ben be yaparsam kategori yerine yazi sayfasini gosterebilirim?
    [INDENT]Here's my setup (it does not require any additional plugins or code edits) A couple of installed plugins are WP Rocket and Yoast on which I'll focus in this thread.
    
    WP Dashboard->Settings->Permalinks
    
    Select "Custom Structure" and enter /%category%/%postname%/ in the field
    
    On the same page, change "Category base" to a single dot. "." (no quotes, just a single dot/period/full stop
    
    I have Yoast installed, which I had set up to override the permalink settings, but I believe this messed up my task at hand.
    
    WP Dashboard->SEO->Advanced->Permalinks(tab)
    
    "Change URLs->Strip the category base..." = Keep
    
    Then you need to clear the cache. I use WP Rocket for caching, so I flushed the cache and everything now works the way it should.
    
    Edit: make sure you save your changes after steps 3 and 5[/INDENT]
    https://stackoverflow.com/questions/...ad-of-category

    Ayarlar kısmında permalink ayarı yaparken Özel Yapı işaretleyerek /%category%/%postname%/ ifadesini girin, kategori temeli kısmını da sadece "." (Tırnaksız) şeklinde ayarlayın demiş.

    Yoast ya da bir SEO eklentisi varsa oradaki permalink ayarından da Kategori ayracını kontrol edin "Keep" olacak şekilde. Sonra da varsa cache silin demiş.

    Sanıyorum bu çözüm olacaktır.