Remove category base from WordPress URL - Delete /category/ from URL - WordPress Category URL Hack

Sdílet
Vložit
  • čas přidán 10. 07. 2024
  • If you don't like to have the word "category" on the link of the category pages on your website, then you're in luck. This trick will remove "category" from those links and it's really simple with no coding required.
    Video for 301 redirects without a plugin: • 301 Redirect Using .HT...
    Video for 301 redirects with a plugin: • WP 301 Redirects Plugi...
    Grab your free 17-Point WordPress Launch Checklist PDF: wplearninglab.com/get/wordpre...
    Always backup your site just in case (or use a staging site), here's how: • WordPress Backup, Rest...
    Join our private Facebook group today! / wplearninglab
    //*
    Here are 20+ reasons why I host all my sites with SiteGround: wplearninglab.com/siteground-...
    //*
    Post videos of your WordPress success using the hashtag #WPLLCommunity!
    Get on the Unofficial Ultimate Guide To Elementor course waiting list here (no obligation): elementor.convertri.com/eleme...
    Here's the link for Elementor Pro (aff): wplearninglab.com/recommends/...
    I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.
    WP Learning Lab Channel: czcams.com/users/subscription_c...

Komentáře • 13

  • @osvaldowesly9993
    @osvaldowesly9993 Před 5 měsíci +1

    Bjorn is absolutely awesome. His videos are hands down absolutely THE BEST WordPress instructional videos on CZcams.

    • @jawadmel7972
      @jawadmel7972 Před 5 měsíci

      Very true I have just discovered his content

  • @techbyfinne
    @techbyfinne Před 5 měsíci +1

    Thank you!! I’ve been looking for this for ages :D I’ve been told that it could not be done!

    • @wplearninglab
      @wplearninglab  Před 5 měsíci +1

      Nice! Doing things "that can't be done" is always fun :)

    • @techbyfinne
      @techbyfinne Před 5 měsíci

      @@wplearninglab Hey, found a problem, when I use this, pagination in the query block are not working? Get a page not found when I click on page 2? If I use normal permalinks, it works?

  • @visualmodo
    @visualmodo Před 5 měsíci

    Truly good work! =DD

  • @JimKernix
    @JimKernix Před 5 měsíci

    Thanks, I've always thought that was stupid but I never bothered looking into how to remove it

  • @stuart_gill
    @stuart_gill Před 5 měsíci

    Great timing. I was wondering if this works with multiple CPTs?

  • @IonelColtea
    @IonelColtea Před 3 dny

    Great video. How do I remove an archive from a page?

  • @sarabacic4991
    @sarabacic4991 Před 5 měsíci

    Hi, this works great for category pages, but I'm getting a Page not found for subcategories. Do you know how to fix this problem? Thanks

  • @Kleinepaps
    @Kleinepaps Před 2 měsíci

    But this screws up the category URLs in the sitemap if SEO is something you care about, which you should.

  • @ChuckReynolds
    @ChuckReynolds Před 3 měsíci

    But then your post/article URLs have the category_base in them too now.