How can I change the word “category” in the URL? For example:
just take the word Category out by using Yoast SEO Plugin.
Thanks, it’s working for the category-word. How can I change it for “store”?
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
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.
I won’t get fatal issues 🙂 Can’t I just hide those words? Like hiding categories is possible?
If you hid these slugs then you would run into issues with permalink conflicts due to the links all being at the same level.
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.
why would you want to change those anyway, removing them gives you no extra SEO benefits.
Changing gives them good SEO results. When I can change “stores” to “reisbureaus”, I will have a better result in Google for “reisbureaus”.
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/
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.
Sofie the ‘store’ element is a taxonomy, it can be found in the file;
note by changing this you will lose all store functionality within the theme as it will expect ‘store’ and not ‘xxxxx’
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….
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 …
Start your new website today!