Changing URL

  • Sofie
    Sofie
    Senior Member 158 points
    August 14, 2013 at 10:15 pm

    How can I change the word “category” in the URL? For example:

    https://reis-vakantie.com/category/dagaanbiedingen/

  • Brandon
    Brandon
    Titan 709 points
    August 14, 2013 at 10:50 pm

    just take the word Category out by using Yoast SEO Plugin.

    Google it

  • Sofie
    Sofie
    Senior Member 158 points
    August 15, 2013 at 10:21 am

    Thanks, it’s working for the category-word. How can I change it for “store”?

  • Sofie
    Sofie
    Senior Member 158 points
    August 16, 2013 at 12:30 pm

    Can someone please help me …

    https://reis-vakantie.com/location/frankrijk/
    https://reis-vakantie.com/store/holidayline/
    https://www.debestetips.com/article/afvallen-tips/

    –> I want to change the words “location” – “store” and “article” in the URLs

  • Aaron
    Aaron
    Super Guru 920 points
    August 16, 2013 at 1:03 pm

    location and store are taxonomies, article is a post type.

    There’s probably no simple solution to do this without altering the core though changing the slug name for these taxonomies and post types isn’t all that difficult.

    It’s possible to rewrite this via htaccess or even $wp_rewrite though this could potentially lead to fatal issues in the future.

    Maybe someone else could chime in with an elegant solution.

  • Sofie
    Sofie
    Senior Member 158 points
    August 16, 2013 at 1:42 pm

    I won’t get fatal issues 🙂
    Can’t I just hide those words? Like hiding categories is possible?

  • Aaron
    Aaron
    Super Guru 920 points
    August 16, 2013 at 2:11 pm

    If you hid these slugs then you would run into issues with permalink conflicts due to the links all being at the same level.

  • Sofie
    Sofie
    Senior Member 158 points
    August 16, 2013 at 2:23 pm

    Ok, so, there is no solution without having issues. That’s very regrettable, because my website isn’t in English and it would be so much better for SEO.

  • Mark Fail
    Mark Fail
    Super Guru 13,013 points
    August 16, 2013 at 2:52 pm

    why would you want to change those anyway, removing them gives you no extra SEO benefits.

  • Sofie
    Sofie
    Senior Member 158 points
    August 16, 2013 at 4:49 pm

    Changing gives them good SEO results. When I can change “stores” to “reisbureaus”, I will have a better result in Google for “reisbureaus”.

  • Sofie
    Sofie
    Senior Member 158 points
    August 16, 2013 at 10:58 pm

    I’ve tried to rewrite the URLs with the rewrite-plugin. The URLs are working, and the content also moved to the right URL, but the link doesn’t go to te right URL.

    So, the content of https://www.debestetips.com/store/bagoes-grote-maten/ is moved to
    https://www.debestetips.com/winkel/bagoes-grote-maten/ correctly, but when clicking on the store, the visitor goes to https://www.debestetips.com/store/bagoes-grote-maten/ and not to https://www.debestetips.com/winkel/bagoes-grote-maten/

  • Brandon
    Brandon
    Titan 709 points
    August 17, 2013 at 12:11 am

    you need to leave it as it is.

    Google and SEO is so much more than the PRETTY URL.

    You need to trust the folks here on the forum. We have all been done this rode in past.

  • Mark Fail
    Mark Fail
    Super Guru 13,013 points
    August 17, 2013 at 1:15 am

    Sofie the ‘store’ element is a taxonomy, it can be found in the file;

    framework/class/class_coupon_defaults.php

    note by changing this you will lose all store functionality within the theme as it will expect ‘store’ and not ‘xxxxx’

  • Stephen
    Stephen
    Senior Member 215 points
    August 17, 2013 at 2:07 am

    Sofie … the names in the url don’t mean much, but it does matter how they are presented to the bot. Example use – instead of _ when representing a space.

    Check out this article….

    https://www.searchenginejournal.com/five-steps-to-seo-friendly-site-url-structure/59813/

  • Sofie
    Sofie
    Senior Member 158 points
    August 18, 2013 at 6:56 pm

    Thanks for the feedback. I’ll not rewrite the URL’s because I want to keep the functionalities. But I know that the words in the URL does matter for SEO. I have a few websites and since I rewrote the URL’s with the keyword inside, they score better in Google. But if it’s not possible, so it be …

Viewing 15 posts - 1 through 15 (of 16 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes