As for “Conditions”, you need to select “Show” and choose “Page URL” and “Is”. In the last field you can enter the URL of the specific page of the archive that you want to unindex.
Once done, it’s time to make the code “live” and click “Save Snippet”.
Configuring the smart conditional logic settings in WPCode
That's it. To check if the page was successfully unindexed, you can open the archive and view the page source.
If you are using Chrome, you need to right-click anywhere on the page and click “View Page Source”.
Viewing a web page's source in Chrome
At this point, you can press “Control/Command + F” on your keyboard to bring up a search bar and cameroon telemarketing data type “noindex”. The noindex tag you added earlier should be highlighted.
If it exists between the <head>and tags </head>, the code was added successfully.
An example of a page that is noindexed
Method 3: Redirect archive pages to avoid broken links
Let’s say you’ve decided that removing some archive pages from your WordPress blog is the best thing to do. But you’re worried about broken links or frustrated visitors who might still be trying to access them. This can happen if someone has bookmarked an old archive page on your website.
Instead, you can redirect archive pages using a redirect plugin . This way, visitors who connect to the old links won't see an error message.
Note: This method will use AIOSEO Redirects as it has the feature to easily redirect one page to another on your website.
It is free to click “AND” to add more pages to noindex?
-
- Posts: 75
- Joined: Sat Dec 21, 2024 6:11 am