Czy chcesz tworzyć bezpośrednie odnośniki w WordPressie dla wpisów, stron i innych typów treści?
Niedawno jeden z naszych czytelników zapytał, czy w WordPressie można tworzyć własne, dostosowane odnośniki, czyli strukturę adresów URL stron.
W tym artykule pokażemy, jak tworzyć własne odnośniki w WordPressie, nie mając wpływu na twoje SEO.
Ponieważ jest to obszerny poradnik na temat tworzenia własnych linków permalinków w WordPressie, stworzyliśmy łatwy w nawigacji spis treści:
- What Is a Custom Permalink in WordPress?
- How to Change the WordPress Permalink Structure
- How to Change the Category and Tag URL Prefix in WordPress
- How to Change an Individual WordPress Post or Page URL
- How to Change a WordPress Category or Tag URL
- How to Change an Author Page URL in WordPress
- How to Create Completely Custom Permalinks in WordPress
- How to Set Up Permalink Redirects and Avoid 404 Errors
- Frequently Asked Questions About Custom Permalinks
Czym jest własny permalink w WordPressie?
Bezpośrednie odnośniki to trwałe adresy URL poszczególnych wpisów na blogu, stron i innych stron archiwalnych w twojej witrynie internetowej WordPress.
Celem twojego bezpośredniego odnośnika jest stworzenie łatwej do zrozumienia struktury adresu URL zarówno dla ludzi, jak i wyszukiwarek. Oto przykład:
https://example.com/best-refrigerators-for-tiny-kitchens/
Ten adres URL jest znacznie łatwiejszy do zrozumienia niż adresy URL z dawnych czasów, które wyglądały tak:
https://example.com/index.php?p=4556
WordPress zapewnia właścicielom witryn internetowych wiele opcji bezpośrednich odnośników do wyboru. Możesz je zobaczyć, przechodząc na stronę Ustawienia ” Bezpośrednie odnośniki w twoim obszarze administracyjnym WordPress.
Oprócz zmiany głównej struktury bezpośrednich odnośników, WordPress oferuje również sposoby na dostosowanie indywidualnych adresów URL wpisów, stron, kategorii, tagów i innych obszarów twojego bloga.
Możesz także użyć wtyczek WordPress, aby utworzyć całkowicie własne odnośniki dla określonych sekcji Twojej witryny internetowej, które zastępują domyślne ustawienia WordPress.
Mając to na uwadze, przyjrzyjmy się wszystkim opcjom po kolei. Zaczniemy od domyślnych wbudowanych opcji, które są dostarczane z twoją witryną WordPress.
Jak zmienić strukturę permalinka WordPressa?
Jeśli chcesz zmienić cały schemat generowania adresów URL dla twojej witryny internetowej, przejdź do strony Ustawienia ” Bezpośrednie odnośniki w kokpicie administracyjnym WordPress, o którym wspomnieliśmy powyżej.
Tutaj możesz wybrać strukturę adresów URL dla twoich wpisów. Możesz także użyć tagów widocznych na ekranie, aby utworzyć własną strukturę adresów URL WordPress.
Na przykład, można użyć tytułu wpisu %postname%
i kategorii %category%
, a także roku %year%
, kiedy został opublikowany.
Nie zapomnij kliknąć przycisku „Zapisz zmiany” u dołu strony, aby zapisać twoje zmiany.
Zalecamy stosowanie struktury adresów URL, która zawiera nazwę wpisu w adresie URL. Dzięki temu twoje adresy URL są bardziej przyjazne dla użytkownika i mogą poprawić SEO WordPress.
Upewnij się, że używasz bezpośrednich odnośników przyjaznych dla SEO, takich jak ten, podczas tworzenia nowego bloga lub witryny internetowej WordPress.
Jeśli jednak twoja witryna internetowa już pozyskuje ruch z wyszukiwarek, zmiana bezpośrednich odnośników może zaszkodzić rankingom SEO.
Jak zmienić prefiks adresu URL kategorii i tagów w WordPress?
Domyślnie WordPress używa /category/
jako bazy dla adresów URL kategorii i /tag/
dla stron tagów.
Oto kilka przykładów:
https://example.com/category/technology/
https://example.com/tag/fintech/
Możesz zmienić te prefiksy bazowe, przechodząc do Ustawienia ” Bezpośrednie odnośniki i po prostu wpisz nowe prefiksy. Na przykład można zmienić „kategorię” na „tematy” i „tagi” na „hashtag” w następujący sposób:
Upewnij się, że kliknąłeś przycisk „Zapisz zmiany”, aby zaktualizować bazę kategorii i bazę tagów.
Teraz na twojej witrynie internetowej będą włączone nowe bazy kategorii i tagów, takie jak te:
https://example.com/topics/technology/
https://example.com/hashtag/fintech/
Jak zmienić indywidualny adres URL wpisu lub strony WordPress?
Po skonfigurowaniu początkowej struktury bezpośrednich odnośników WordPress użyje jej jako szablonu dla wszystkich odnośników na twojej witrynie.
Można jednak również zmienić adres URL wewnątrz struktury adresów URL dla poszczególnych wpisów, stron i własnych typów treści, aby uczynić je bardziej przyjaznymi dla SEO.
Możesz dostosować uproszczoną nazwę adresu URL na ekranie edycji wpisu w edytorze treści WordPress.
Jeśli tworzysz nowy wpis lub stronę, musisz najpierw kliknąć „Opublikuj” lub „Aktualizuj”, aby zapisać swoją wersję roboczą.
Następnie wystarczy kliknąć „Adres URL” w sekcji Podsumowanie w ustawieniach wpisu.
Następnie zmień adres URL wpisu na bezpośredni odnośnik.
Po zakończeniu kliknij przycisk „Aktualizuj”, aby zapisać bezpośredni odnośnik.
Możesz użyć tej metody dla wszystkich typów treści, w tym produktów WooCommerce, witryn członkowskich, kursów online i innych.
Jak zmienić adres URL kategorii lub tagu WordPressa?
We wcześniejszym kroku pokazaliśmy, jak zmodyfikować prefiks bazy kategorii i tagów w WordPressie. W tym kroku pokażemy, jak zmienić słowa kluczowe adresu URL dla indywidualnej kategorii lub tagu.
Po prostu przejdź do Wpisy ” Kategorie w kokpicie WordPress, a następnie kliknij odnośnik „Szybka edycja” pod kategorią, którą chcesz dostosować.
WordPress będzie teraz wczytywał szczegóły kategorii.
Z tego miejsca można zmienić uproszczoną nazwę kategorii, aby dostosować jej bezpośredni odnośnik.
Upewnij się, że kliknąłeś przycisk „Aktualizuj kategorię”, aby zapisać uproszczoną nazwę twojej kategorii.
W podobny sposób można edytować poszczególne tagi, przechodząc do ekranu Wpisy ” Tagi i wykonując te same czynności.
Możesz także edytować dowolne własne taksonomie, korzystając z tej samej metody, co powyżej.
Jak zmienić adres URL strony autora w WordPressie?
WordPress automatycznie utworzy adres URL strony autora dla różnych autorów w twojej witrynie internetowej. Adresy URL stron autorów wyglądają następująco:
https://example.com/author/jsmith/
W powyższym przykładzie jsmith
to uproszczona nazwa, a author
to podstawa.
Problem polega na tym, że WordPress nie ma opcji zmiany bazy adresu URL autora lub uproszczonej nazwy. Na szczęście można to zmienić kilkoma kliknięciami za pomocą wtyczki WordPress.
Pierwszą rzeczą, którą musisz zrobić, to zainstalować i włączyć wtyczkę Edit Author Slug. Aby uzyskać szczegółowe informacje, zobacz nasz przewodnik krok po kroku, jak zainstalować wtyczkę WordPress.
Po włączaniu przejdź do strony Użytkownicy ” Wszyscy użytkownicy w panelu administracyjnym WordPress. Następnie kliknij odnośnik „Edytuj” znajdujący się pod nazwą użytkownika.
Na następnej stronie przewiń w dół do sekcji „Edytuj uproszczoną nazwę autora”.
Tutaj będziesz mógł wybrać uproszczoną nazwę autora lub dodać twoją własną w polu „Niestandardowe”.
Nie zapomnij kliknąć przycisku „Aktualizuj użytkownika”, aby zapisać twoje ustawienia bezpośredniego odnośnika.
Jeśli chcesz zmienić bazę permalinków autora, po prostu przejdź do Ustawienia ” Edytuj uproszczoną nazwę autora.
Tutaj zobaczysz opcję zmiany bazy autorów, a nawet wybrania różnych baz autorów dla użytkowników o różnych rolach.
Więcej szczegółów można znaleźć w naszym przewodniku na temat zmiany uproszczonej nazwy i bazy adresu URL autora w WordPress.
Jak utworzyć całkowicie własne linki bezpośrednie w WordPress?
Wszystkie powyższe metody pozwalają w pewnym stopniu dostosować bezpośrednie odnośniki WordPress. Nie mogą one jednak pomóc w tworzeniu całkowicie własnych odnośników.
Dzieje się tak dlatego, że WordPress nie oferuje tej funkcji domyślnie.
Na szczęście istnieje wtyczka, która może w tym pomóc. Jeśli chcesz zastąpić domyślną strukturę adresów URL WordPress dla określonych sekcji w twojej witrynie, to jest to dla ciebie.
Pierwszą rzeczą, którą musisz zrobić, to zainstalować i włączyć wtyczkę Custom Permalink Editor. Aby uzyskać więcej informacji, zapoznaj się z naszym przewodnikiem dla początkujących, jak zainstalować wtyczkę WordPress.
Po włączaniu należy otworzyć wpis, w którym ma zostać utworzony własny permalink.
Następnie, zamiast edytować permalink jak powyżej, znajdziesz opcję utworzenia bezpośredniego odnośnika poniżej edytora w polu „Custom Permalink Editor”.
Bezpośredni odnośnik może zawierać myślniki, myślniki lub cokolwiek innego. Możesz całkowicie zastąpić strukturę bezpośrednich odnośników WordPress. Oto kilka przykładów:
https://example.com/seo-friendly-url
https://example.com/seo/friendly/url
https://example.com/seo-friendly/url
Podobnie, można również tworzyć bezpośrednie odnośniki dla kategorii.
Aby to zrobić, przejdź do strony Wpisy ” Kategorie i kliknij odnośnik „Edytuj” pod kategorią, którą chcesz zmienić.
Na stronie szczegółów kategorii znajduje się opcja utworzenia bezpośredniego odnośnika dla danej kategorii.
Można nawet utworzyć adres URL bez prefiksu bazy kategorii.
Aby wyłączyć własny permalink, wystarczy pozostawić pole „Custom Permalink Editor” puste.
Możesz też wyłączyć wszystkie własne odnośniki, po prostu wyłączając wtyczkę.
Jak skonfigurować przekierowania Permalink i uniknąć błędów 404?
Jeśli wprowadziłeś zmiany w strukturze permalinków lub uproszczonej nazwie autora lub utworzyłeś całkowicie własne odnośniki, możesz napotkać błędy 404.
Aby to poprawić, musisz skonfigurować przekierowania ze starego do nowego permalinka.
Najprostszym sposobem na to jest użycie wtyczki All in One SEO. Jest to najlepsza wtyczka WordPress SEO i jest używana przez ponad 3 miliony witryn internetowych w celu poprawy ich SEO.
Posiada potężny dodatek do menedżera przekierowań, który pozwala zarządzać przekierowaniami 301 dla twoich bezpośrednich odnośników, śledzić i poprawiać błędy 404 i nie tylko.
Aby uzyskać więcej informacji na temat konfigurowania przekierowań bezpośrednich odnośników, zapoznaj się z naszym przewodnikiem dla początkujących na temat tworzenia przekierowań 301 w WordPress.
Po włączaniu możesz zarządzać i tworzyć nowe przekierowania bezpośrednich odnośników bezpośrednio z twojego kokpitu WordPress.
Poza tym AIOSEO pomaga również śledzić strony błędów 404 i poprawiać je. Jeśli zdarzy ci się przeoczyć niektóre przekierowania, pomoże ci to później łatwo je znaleźć i poprawić.
Często zadawane pytania dotyczące własnych permalinków
Teraz, gdy omówiliśmy już sposób tworzenia bezpośrednich odnośników, odpowiedzmy na kilka często zadawanych pytań na ten temat.
Czym są bezpośrednie odnośniki w WordPressie?
Bezpośrednie odnośniki to trwałe adresy URL dla twoich wpisów, stron i kategorii WordPress. Określają one sposób wyświetlania twojej treści w pasku adresu przeglądarki internetowej i na stronach wyników wyszukiwania (SERP).
Dlaczego warto tworzyć własne odnośniki?
Bezpośrednie odnośniki mogą być bardziej przyjazne dla użytkownika i SEO. Mogą one pomóc ludziom zrozumieć treść twojego wpisu na podstawie samego adresu URL. Mogą również poprawić pozycję Twojej witryny internetowej w wynikach wyszukiwania.
Czy mogę zmienić bezpośredni odnośnik tylko dla jednego wpisu?
Tak, możesz edytować bezpośredni odnośnik dla każdego wpisu indywidualnie z panelu ustawień edytora bloków WordPress.
Jaka struktura bezpośrednich odnośników jest najbardziej przyjazna dla SEO?
Najbardziej zalecaną strukturą jest opcja „Nazwa wpisu”. Ta struktura tworzy adresy URL, które używają tytułu wpisu. Jest to łatwiejsze do zrozumienia dla ludzi i preferowane przez wyszukiwarki.
Co stanie się z moimi starymi bezpośrednimi odnośnikami, jeśli zmienię strukturę?
Gdy zmienisz strukturę bezpośrednich odnośników, adresy URL wszystkich twoich wpisów i stron również ulegną zmianie. Może to mieć wpływ na twoje SEO, jeśli nie skonfigurujesz przekierowań 301.
Czy muszę ustawić przekierowania, jeśli zmienię strukturę?
Tak, zdecydowanie zalecamy skonfigurowanie przekierowań, aby zapewnić użytkownikom i wyszukiwarkom prawidłowe adresy URL po zmianie. Wtyczki takie jak All in One SEO i Redirection mogą pomóc w łatwym zarządzaniu przekierowaniami.
Mamy nadzieję, że ten artykuł pomógł ci dowiedzieć się, jak tworzyć bezpośrednie odnośniki w WordPress. Zachęcamy również do zapoznania się z naszym przewodnikiem na temat dodawania słów kluczowych i meta opisów w WordPressie lub wyborem najlepszych narzędzi do sprawdzania linków zwrotnych, aby zobaczyć, kto umieszcza odnośniki do twojej witryny.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Jiří Vaněk says
I knew some of the settings from WordPress, but some I didn’t even know could be adjusted like this. For example, changing the author URL with a permalink looks great. Is it possible to do this other than using a plugin? I would like to avoid a lot of plugins.
WPBeginner Support says
While possible it is difficult which is why we recommend the plugin, for your concern on the number of plugins we would recommend taking a look at our article below:
https://www.wpbeginner.com/opinion/how-many-wordpress-plugins-should-you-install-on-your-site/
Administrator
Jiří Vaněk says
I read the article. I currently have around 30 plugins and it feels like a lot for me. Although I have my own server with 8GB of ram for one website, I try to use some kind of compromise even with regard to WordPress updates. The fewer plugins, the less chance something will break when you update. But I understand. Thank you for answer.
Tasin says
Bro I do not have the permalink editor in the post editor sidebar. Why is that? I am using the latest version of WordPress. I can edit url in classic editor but not in block editor.
WPBeginner Support says
We would recommend checking your preferences in the post editor to ensure you do not have that section hidden as a likely reason.
Administrator
Robert says
After adding the link to subcategories, WP changes to: /?product_cat=
How is it possible to change it?
WPBeginner Support says
That looks like you are using an eCommerce plugin, you would want to check further down the permalinks page or in the plugin’s settings for modifying those permalinks.
Administrator
Vivek says
Hello,
To rank my news website on Google News, do I need to use the permalink link Iike postname-postID?
Because I see most of the news website uses this format?
WPBeginner Support says
While not required, that is the normal preferred permalink setting.
Administrator
Jacob Corbett says
Hi WP Beginner,
Great article! I have already made multiple pages with a theme and I want to change all their permslinks. Every time I do it I get a 404 on the updated page.
WPBeginner Support says
You would likely need to resave your permalink settings and redirect your old posts/pages if you wanted.
Administrator
Haseeb Nazir says
Hi,
If we use custom permalink plugin does it affect our website SEO in any case?
WPBeginner Support says
It would depend on what you do with the plugin, using the plugin to make the same change you would do manually would not be different than using the plugin if that is what you mean
Administrator
Katie says
I see that this post was originally from 2016. Would you still recommend using Custom Permalinks as the plugin for this? When i went to add the plugin it says „Untested with your version of WordPress” and the last update was a year ago. Would love to know if this is still recommended.
WPBeginner Support says
For that not tested warning, you would want to take a look at our article below for our opinion on that:
https://www.wpbeginner.com/opinion/should-you-install-plugins-not-tested-with-your-wordpress-version/
Administrator
A K P says
Hi,
I have old website and now I change my Permalink Settings setting from date pattern to post name.
will it change old links too?
Site is performing good in google. I don’t want to change old setting.
But new post with Post name Permalink Settings.
WPBeginner Support says
The link to the post itself would change but links to the post at the old location would not update and would cause 404 errors for anyone using those links.
Administrator
swati says
really helpful very very thanks.
WPBeginner Support says
You’re welcome
Administrator
WONDER APATI says
Hello, I read your post on how to migrate from blogger to WordPress. One of the things that I see as the issue here is the link structure and AdSense.
Assuming that I migrate from blogger to WordPress without setting the link to month and day as you recommended in the other post but rather choose to edit each post I migrated from blogger to match the month and day, will that work?
Otherwise, all other posts I published will maintain the posts URLs except those imported from blogger(they would be edited to match the month and day) will that be ok
WPBeginner Support says
If you change your permalinks then you would need to create redirects to prevent your visitors from seeing 404 errors.
Administrator
Yolandie says
Thank you so much for the help. Building my page day by day and these info help lots
WPBeginner Support says
Glad our guides can help
Administrator
Adhyansh Jadli says
Thank you very much for such a nice article. I was finding way to set up categories and tags. I am regular follower of your blog and youtube channel.
It is the best platform i had ever seen, which provide detailed info for newbie like me.
You helped me to setup my wordpress.
Thanks a lot SYED BALKHI sir
Adhyansh Jadli
WPBeginner Support says
You’re welcome, glad our content can be helpful
Administrator
Pawan Khadka says
Is there any post that guide me to create query based url example :
Main Content: example.com/this-is-my-post (Page With main content)
Download page: example.com/this-is-my-post?download (page with download links)
WPBeginner Support says
Unless I hear otherwise, we do not have a recommended method to set up that kind of permalink
Administrator
Couper says
Is there any way to remove the /home from the end of my URL without plugins on the Premium version?
WPBeginner Support says
If you mean it is on every page then you would want to take a look at: https://www.wpbeginner.com/wp-tutorials/how-to-get-rid-of-wordpress-from-your-wordpress-site-url/
Administrator
Marina28 says
What can we do for the urls tha are not post and pages for example in a forum plugin that I embed I can not edit the urls for it. There is any file in wordpress that I can edit each one url ??
WPBeginner Support says
You would want to reach out to the support for that specific plugin for how to modify the permalinks for its additions.
Administrator
Ferdin Norbert says
Hi, Nice post. Currently, I am working on a project where I wanted to change an in built tab called promotions and I did this programmatically, I was successful in renaming the promotions tab to Notification tab. But the only thing left is its permalink. I want to change MyAccount/Promotions to MyAccount/Notifications. Is there any way to achieve this? Please reply as soon as possible.
Thank you
WPBeginner Support says
It would depend on what is creating the account, if you reach out to the support for the plugin you are using they should be able to let you know.
Administrator
Quy says
Excellent article!
WPBeginner Support says
Thanks!
Administrator
ASHOK KUMAR SONAWAT says
Thanks today my problem is solved after reading this article…
WPBeginner Support says
You’re welcome
Administrator
Alex Hoyle says
Hello. I just made a WordPress website for my blog. How do I change the permalink to use the primary domain instead of starting with the temp.domain?
WPBeginner Support says
You would want to check under Settings>General to see what your domain is set as, if it is on your temporary domain there then normally you can reach out to your hosting provider to help you update from your temporary domain to the correct address without issue
Administrator
The Thus says
Hello WPBeginner,
I have configured and setup as you have shown in article but still my articles are ranking in Google domain.com/category ,may I know how to solve this issue ??
WPBeginner Support says
Google may have cached the old structure if you changed it. You could use Google’s URL removal tool if you wanted to remove those results in Google search.
Administrator
Geet says
I want to structure my new website like this –
my-company.com/main-page
my-company.com/main-page/supporting-article-1
my-company.com/main-page/supporting-article-2
my-company.com/main-page/supporting-article-3
Is it possible to create this structure using Custom Permalinks plugin?
WPBeginner Support says
The plugin should allow you to change the permalink to anything so it should be able to set up that permalink structure.
Administrator
Mike Coleman says
I have a new website (unpublished as yet) and want to have a home page. However, when I attempt to create a page with just that URL Permalinks adds an unfathomable number to the URL eg – example.com.au/123-2.
I’ve tried altering the Permalink settings but that alters the code after the / to whatever the settings dictate.
How do I create a page with just the URL and no / or additions after the /?
regards
Mike
WPBeginner Support says
If you want to have a specific page appear when it is just the url without the slashes then you would set the home page under Settings>Reading
Administrator
Geetanjali says
Hi I have shifted my blog from blogger to wordpress. My permalink set to month and post. But now for new post I want the permalink to be post only. So after reading this aricle I have installed custom permalinks plugin but while editing the new post I don’t see the option to change the month and post from slug. Please suggest what can be done for changing the new post and coming post permalink to post only instead of month and post.
Tucker Daugh says
I’ve been told by developers to not change permalinks at the „EDIT” level. I have some pages on a site I helped build that really could benefit with a name change. Something that reflects what a person may be searching for vs something we were trying to be clever with. So, question: What causes permalinks to „break” if you change them at that edit stage (When you open a page and see the URL). I would assume if I am careful and do_something_like_this than I’m okay, right?
WPBeginner Support says
Hi Tucker,
When you change a page’s URL by editing it, your page would work fine on your website. However, your old URL would be indexed by search engines and they will not be able to find it. If you must change the permalink of an existing page, then you need to set up a redirect.
Administrator
Talkgeria says
Thanks for sharing this helpful post.
My problem is that my blog posts shows mysite.com/category instead of mysite.com/postname on search result but shows the post name once you click on it. my question now is, how do i make the post name to appear on search result as well?
kenneth khayyam says
nice article very helpful for beginners
Vidya says
Hi
i have a page which compares different products. permalink of the same is /page-name/?compareids=1,2,3
can you please suggest me about how to customize permalink of this kind of pages so to display permalink like : /page-name/compare-productname1-vs.-productname2-vs.-productname3
Prashant Chevale says
Hello Team,
I have an query,
1.How to implement keywords in url before creating post & after creating post?
2.How to implement keywords in Posts url without creating 404 error in WordPress?
3. Without creating 404 error how to optimise urls?
4.I want permalink customise ( insert keyword in url ) without any error how can I set that?
please help me…
Thank you.
Orit Adar says
My entire site is still under maintenance, but most of my posts are defined as „published” in that setup. If I want to change the slugs can I just revert the status to „draft” temporarily, change the slug and then re-„publish”? I guess I do not understand the meaning of the word „publish” as long as the site is not alive, but it helps to see the posts better s I did it. Thank you.
WPBeginner Support says
Hi Orit,
If your site is not live and your content is not indexed by search engines, then you can change the slug of a live page/post as well.
Administrator
Adell says
My site is new and under construction -not live. I’ve created a couple posts and published them, but my site is not live. Can i keep changing the slug , permalinks, and category tags, without needing the re-direct plug in?
Is it safe to keep making changes to the permalink as long as my site is not live (even though i clicked 'publish’?
Do i only need the redirect plug in if i make changes tot the permalnk after the site goes live?
thank you!!
Nnamdi says
I would like to know how to create a page name before the website url example customname.yoursitename.com. i don’t know how else to describe this sorry for any misunderstanding.
WPBeginner Support says
Hi Nnamdi,
These are called subdomains. They are not like pages at all. In fact, a subdomain could be a totally different website using the same root domain name.
Administrator
Brandy says
Hi, when a do this process, the /blog does not appears in the breadcumbs. What can I do?
I want my blog:
example.com/blog/category/post-1
and the breadcumbs:
Home > Blog > Category > Post-1
How can I add the > Blog to my breadcumbs?
I guess it does not appear because / blog is artificially configured. Is there any way to make it hierarchical?
Jaymi V says
My permalink structure is set to post type. After I have published a page & I parent it in order to use the parent’s sidebar menu, once I update the page it adds another link to the url structure — for example, page url originally is: example.com/acctg/new-page
After I parent it to my accounting landing page & I update the page the url becomes:
example.com/acctg/accounting/new-page
If I delete the extra /accounting from the permalink the page will appear as a blank page unless I un-parent it from /accounting landing page & create its own sidebar menu.
Is there a workaround to this problem?
Francis says
Please, I added post I’d in my post permalink. But i want to change my permalink structure to /category/post_name but am afraid the old link will be down and this might make me loose my Google ranking.
I want to change the post ID *956* to category of the post. But how can i redirect the old URL to the new one after the changes is done? Please help me.
Hassanein says
Hi, thanks for the Useful article, I have a question, in my WordPress blog when I press on the post title it gives me the correct permalink (Post name only), but when I press on the (continue reading ) it gives the same permalink but with some extra codes! How can I make it similar without more extension! Only the post name without any additions ?
Valente says
Hello, I already have a worpress website and I am using a theme with home,page, about us etc. I added woocommerce where woocommerce has its own permalinks structure,My WP permalinks are set for static page %post%
the woocommerce shop it is not the home page …
Should I leave the wp permalinks as it is ? And how should i have to set the woocoommerce permalinks and reading?
WPBeginner Support says
Hey Valente,
WooCommerce will not affect your website’s permalink structure.
Administrator
AmeerTarin says
Good evening,
I have a website up and running for several years. Now I want to use the WordPress generated permalink for my page to publish article(s). I have .htacess & index.php in place. Now the question? How do I use my custom permalink for new page? Do I copy the link & paste it in the address bar. Or how does it work? I am stuck at this last bit. Please help. Many thanks
Ameer
balu says
Is there no way of creating custom permalinks without a plugin.
Donna says
Without the plugin, the slug always has a “-2” at the end, as if it were a copy. But with the plugin.it will not has a „-2”. How can I do
Dor says
Hi
If I change the title of a static home page, should it affect the URL?
WPBeginner Support says
Hi Dor,
If you have published the homepage, then it will not affect the URL. However, if the page is still saved as a draft and has never been published, then changing the title will change the URL slug. However, you can click on the URL slug on the page edit screen and change it back.
Administrator
Carlos says
Thank you for this!!
Karunakar says
How to add prefix or suffix to permlink of all post_tag slugs?
Ayumi Higashi says
I do not see the edit bottom to change perm links on post pages…why?
Hannen says
I want to get get rid of the permalink altogether. I don’t want the titles to have a link. Is there a way to do that?
Thank you
WPBeginner Support says
Yes, however most WordPress themes are designed to have permalinks. You will probably need to create a custom theme that meets your needs or customize an existing starter theme.
Administrator
Hannen says
Thanks! I already thought I chose a simple lay out(’Maker’) but I will look into the starter themes.
Ravi says
Please help me,
I want permalink like this
example.com/category/post_name
How can I set that?
please help me…
Sue Jonas says
I have a newly built site and all the permalink options look like this: example.com/wordpress/xyz options
I can’t find a one without 'wordpress’ in the middle. Have I done something wrong? How can I fix this? Thank you
WPBeginner Support says
Please see our guide on how to get rid of /wordpress/ from your WordPress site URL.
Administrator
Jean-Francois Mayer says
Thank you. This is indeed a good description. However, there is one aspect that you do not mention: what happens to the customized slugs in case the permalink structure changes.
I am currently moving a website in French to WP. When titles are too long, or include apostrophes (that result into making two words into one, when slugs get automatically created), I have shortened them.
After a number of my customized permalinks had been created, I decided that I preferred the permalinks to follow a structure on the pattern year-month-day, i.e…./2016/08/15/… instead of …/2016/08/…
Easily done… but all my customizations were gone!
I will recreate them. But then, how to make sure that my customized permalinks will stick, even if I would decide to change again the permalink structure before the site goes live?
There should be a way, or a plugin – but I have not yet found it.
WPBeginner Support says
Slugs are not supposed to be changed when you update permalink structure. They are stored in the database and will be used again when you use a Permalink structure that uses post-name in the URL instead of ID.
Administrator
Jean-Francois Mayer says
Thank you very much for your reply.
Yes, I expected indeed custom slugs not to change when I updated the permalink structure… but they did, for reasons beyond my understanding, and I do not dare to test that a second time. It may have to do with the fact that a number of posts were imported from another CMS in an automated way, which resulted in numeric slugs, that we managed to regenerate (using Permalink Manager) in order to bring them to standard slugs. Maybe this had unexpected consequences when changes in settings were made at a later stage.
Anyway, good to know this is not a frequent behavior, and probably caused by something else. But I will be extremely careful in the future with any change in the permalink structure!
Logen says
The recent low ratings, inactive support forums and lack of response from author is making me hesitant to use Custom Permalinks. Anyone has any issues with it, considering last plugin update was 7 months ago?
nate says
It was now updated 1 month ago
mansuri says
superb post sir
Aseel says
Great articel
Thanks
Stefano says
Really interesting. Many thanks for the good stuff. I’ll give a try for sure as I have to manage categories, sub-categories and a lot of tags.