Halloween Sale 15% off Ends in See the plans

Snippet Library

Archives snippets for WordPress

Snippets for category, tag, author and date archives: change titles and descriptions, the number of posts per page, ordering and which post types appear. For sites that rely on well-organized archive pages for readers and search engines.

1–4 of 4 snippets “disable”

  • PHP Archives

    Disable Author Archives

    Redirects author archive pages to the homepage. Good for single-author sites where the author archive duplicates the blog page.

  • PHP Archives

    Disable Date Archives

    Makes yearly, monthly and daily archive pages return a 404, which avoids thin duplicate pages on most sites.

  • PHP Archives

    Disable Tag Archives

    Redirects tag archive pages to the homepage and removes tags from the XML sitemap, for sites that use tags only internally.

Have a snippet worth sharing?

Publish it to the library from WPIDE or right here. Sign in with any WordPress site that runs WPIDE, free or Pro. Public snippets are reviewed by the WPIDE team before they appear.