Czy kiedykolwiek chciałeś ukryć starsze wpisy z twojego bloga bez konieczności ich usunięcia?
Czy nie byłoby miło, gdybyś mógł po prostu zarchiwizować wpisy w podobny sposób, w jaki archiwizujesz e-maile?
W tym artykule pokażemy, jak archiwizować wpisy bez ich usunięcia w WordPress.
Dlaczego warto archiwizować wpisy bez ich usunięcia w WordPressie?
W miarę jak twój blog WordPress będzie się rozwijał, pojawią się sytuacje, w których będziesz chciał usuwać stare wpisy z witryny internetowej.
Być może wpis jest nieaktualny i nie ma już znaczenia. A może zdecydowałeś się poprowadzić swoją witrynę internetową w nowym kierunku.
Wielu właścicieli witryn internetowych robi to, cofając publikację wpisu WordPress, czyniąc go prywatnym lub dodając powiadomienie o starym wpisie na górze. Czasami jednak warto zarchiwizować wpis w taki sam sposób, jak archiwizuje się e-maile, aby w razie potrzeby móc łatwo się do niego odwołać.
Przyjrzyjmy się, jak archiwizować wpisy bez usuwania ich w WordPressie.
Jak archiwizować wpisy bez ich usunięcia w WordPressie?
Pierwszą rzeczą, którą musisz zrobić, to zainstalować i włączyć wtyczkę LH Archived Post Status. Aby uzyskać więcej informacji, zobacz nasz przewodnik krok po kroku, jak zainstalować wtyczkę WordPress.
Po włączeniu wtyczka dodaje niestandardowy status wpisu o nazwie „Zarchiwizowany” do twoich wpisów, stron i niestandardowych typów treści.
Archiwizacja pojedynczego wpisu
Możesz zarchiwizować pojedynczy wpis lub stronę poprzez jego edycję. Po kliknięciu menu rozwijanego „Status” zobaczysz nowy status wpisu „Zarchiwizowany”.
Wystarczy wybrać status „Archiwum”, a następnie kliknąć przycisk „Aktualizuj” w górnej części ekranu.
Twój wpis zostanie oznaczony jako zarchiwizowany i przestanie pojawiać się na front-endzie Twojej witryny. Odwiedzający twoją witrynę internetową nie będą już mogli go zobaczyć.
Jednak gdy przejdziesz na stronę Wpisy ” Wszystkie wpisy w twoim obszarze administracyjnym WordPress, wpis nadal będzie wymieniony i wyraźnie oznaczony jako zarchiwizowany.
Z tego miejsca można po prostu pozostawić wpis zarchiwizowany. Jeśli chcesz użyć go ponownie w przyszłości, możesz edytować go w razie potrzeby, a następnie opublikować, zmieniając status wpisu z powrotem na „Opublikowany”.
Zbiorcza archiwizacja wpisów
Możesz zarchiwizować wiele wpisów jednocześnie, przechodząc na stronę Wpisy ” Wszystkie wpisy. Tam należy wybrać wszystkie wpisy, które mają zostać zarchiwizowane.
Następnie należy kliknąć „Działania zbiorcze” i wybrać „Edytuj” z rozwijanego menu. Następnie należy kliknąć przycisk „Zastosuj”.
WordPress wyświetli opcje zbiorczej edycji wybranych wpisów. W opcji statusu należy wybrać „Zarchiwizowane”, a następnie kliknąć przycisk aktualizacji.
Wybrane wpisy zostaną zarchiwizowane i nie będą już wyświetlane na front-endzie twojej witryny internetowej.
Jak rozwiązywać problemy z wtyczkami
Od czasu do czasu można napotkać problemy podczas instalacji nowej wtyczki WordPress. Na przykład, kilku użytkowników zgłosiło konflikty między wtyczką LH Archived Post Status, a innymi wtyczkami, których używają na swojej witrynie internetowej.
Chociaż jest to mało prawdopodobne, przyjrzymy się krótko, co zrobić, jeśli tak się stanie.
Rozwiązywanie błędów na twojej witrynie internetowej WordPress
Pierwszym krokiem jest samodzielne wykonanie kilku podstawowych czynności związanych z rozwiązywaniem problemów. Może to rozwiązać twój problem, ale nawet jeśli tak się nie stanie, dostarczy ci informacji, którymi możesz podzielić się z twórcą wtyczki, jeśli będziesz musiał się z nim skontaktować.
W naszym przewodniku dla początkujących na temat rozwiązywania problemów z błędami WordPress pokazujemy, co należy zrobić krok po kroku. Jeśli problem nadal występuje, należy skontaktować się z twórcą wtyczki.
Prośba o pomoc techniczną od twórcy wtyczek WordPress
Dobrą wiadomością jest to, że każda wtyczka i motyw w oficjalnym repozytorium WordPress ma własne forum wsparcia.
Aby znaleźć forum dla konkretnej wtyczki, przejdź do strony tej wtyczki w repozytorium. Następnie kliknij kartę „Wsparcie”, aby wyświetlić forum wsparcia dla danej wtyczki.
Podczas wpisów na forach wsparcia technicznego należy importować, że prosisz eksperta o udzielenie odpowiedzi na twoje pytania za darmo. Mając to na uwadze, zawsze staraj się być pełen szacunku, jasny i zwięzły.
Pomocne jest również wyjaśnienie wszystkich kroków, które już podjąłeś. Pokazuje to, że nie oczekujesz, że inni wykonają całą ciężką pracę za Ciebie.
Aby uzyskać więcej wskazówek, zapoznaj się z naszym przewodnikiem na temat tego, jak prawidłowo poprosić o pomoc techniczną WordPress i ją uzyskać.
Mamy nadzieję, że ten poradnik pomógł ci dowiedzieć się, jak archiwizować wpisy bez usuwania ich w WordPressie. Możesz również dowiedzieć się, jak zwiększyć ruch na twoim blogu lub zapoznać się z naszą listą najczęstszych błędów WordPressa i sposobów ich poprawki.
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!
Maria Grace says
The Archive Post plugin has not be updated in the last three WordPress updates. My security software says it is a security risk. Is there another alternative to achieve archived status that is not? All the plugins I’ve found for this are also out of date.
WPBeginner Support says
We will keep an eye out for alternatives but for if you should install plugins with that warning, you may want to take a look at our article here: https://www.wpbeginner.com/opinion/should-you-install-plugins-not-tested-with-your-wordpress-version/
Administrator
Chantelle says
Just a question it states that I need to pay for the business part of WordPress in order to have plugins, is there anything I can do to have an Archive?
nick says
What happens to these posts when they are archived? What does „Archiving” mean with this plugin? Does it mean 404, noindex, move to a category and keep it live, etc?
I’m curious how to reduce the crawl bandwidth of a site but also keep from creating 404 errors by simply deleting posts
Tuesday Robbins says
I don’t have any archive plugins and I have one post when you try to go to it it says the title and then archived after. How can I fix this as I don’t want to archive anything I want my post to be visible but I didn’t archive anything to begin with. This is so weird
Steve says
I have the same trouble as Sarah:
If I mark the post as ARCHIVED
It STILL shows up on the main page
It does NOT show up in the ARCHIVES page.
If I mark the post as PUBLISHED
It STILL shows up on the main page
It DOES show up in the ARCHIVES page.
* confused *
nayosha says
Does it arises broken links problem to our blog. If we do the above process
Bill Scully says
I have the same question as Dan Rickman and Eagle4000 : How can i make the Archived posts visible to VISITORS using the Archive button on the Home page Menu? I have the Fruitful theme. Thanks!!
Sve says
When posts are archived, how can I call them for example on a page. I want to be able to remove some posts from the main content and archive the, but also to have a separate page where I can call only archived posts and nothing else. Any ideas how I can do this ?
Tania D. Russell says
Thanks for the info. This plug-in was exactly what I was looking for and its working perfectly for me.
Sarah says
hello, i did as you suggested, and the posts were marked with Archived: on the title but still shows up on the front page. I also did an archives page as was suggested in this blog so that the archived articles can still be accessed.
What am I doing wrong? See this part:
Lauren says
You have to log out to see how it will look to a visitor.
Dan Richman says
I need to be crystal clear on this. If I use this plug-in, will archived posts still be visible to visitors using the Search window? I’d be using the Newspaper theme. Many thanks for your help!
Winifred Creamer says
The plugin is described as working out of the box. I downloaded the archive plugin and its in my downloads folder. How do I connect it with my blog? Do I need to put it in my WordPress folder that is in programs? What does out of the box mean exactly?
Thanks.
WPBeginner Support says
It will work out of the box once you install it. It seems that you have downloaded the plugin but haven’t installed it. Please take a look at our step by step guide on how to install a WordPress plugin.
Administrator
Miles says
Very interesting read however, not sure if solves my query. I need to archive a large number of posts but want to make them searchable to the website user but NOT to Google. I was hoping that the archiving meant the posts would be moved to a seperate directory e.g. /blog/archive/ whereas up to date content would be in /blog/
Any ideas?
Patrick says
If you move them to a different directory, it would change the URL and cause any incoming links for those posts to become broken.
knopf says
Great article! Thanks for the help.
Hillary says
I archived some of my posts and now I can’t find them. Where do I go to view/edit/un-archive posts that I have archived?
WPBeginner Support says
You will find a link to view archived posts on the Posts screen just above the filtering options.
Administrator
eagle4000 says
I still want my visitors to be able to go and search and view the posts that I have archived. But I don’t want my opening page to get increasingly bigger and bigger…. this is only taking care of Half of the issue
Kirsty says
I have a new domain name (now pointed at my old blog) and am about to set up a whole new website/blog etc? Is it possible to archive my old blog (in its entirety) to another page or similar so I can have a fresh new start under my new domain name?
Hilary says
Hi, this is useful, thanks. I have a further query – I set up a wordpress blog for my class 2014 – 15. I wold like to keep the same template and some of the same information, but change the name (it would be the same but with 15 at the end of it instead of 14 then archive a lot of links and some posts. What is the best way to do this?
thanks
WPBeginner Support says
You can do that using multiple ways. For example you can move all your old content into a category titled '2014-15′ and then start posting your new content in a new category titled '2015-16′.
You can then modify your templates to not show content from 2014-15 category.
Administrator
Janelle says
Thanks for this help.
WPBeginner Staff says
Yes.
WPBeginner Staff says
Yes, it will remove the posts from sitemap and links to the post will take the user to 404 page.
patty says
Does archiving them remove them from the site map? Would a link to the page then be broken?
WPBeginner Staff says
This plugin should work with WooCommerce as well. It can add Archived post status to any custom post types and products in WooCommerce are custom post types.
Dave says
Can you just set your posts as Private?
WPBeginner Staff says
You can do that but that will not exclude the posts from the loop when a logged in user views the site.
GiniD says
Good to know. Do you know if there is a plugin that will do this to products for WooCommerce. If I want to take a product off the site now I have to change it to „drafts”. It would be nice to have an „archive” option for products.