...

How to Remove Sample Comments and Posts from WordPress

How to Remove Sample Comments and Posts from WordPress

🧹 How to Remove Sample Comments and Posts from WordPress

When you first install WordPress or import a theme demo, your site may include placeholder content such as the “Hello World!” post, “Sample Page,” and example comments. Cleaning up this content is essential before launching your website.

This guide will walk you through removing:

  • Sample posts and pages

  • Demo comments

  • Default categories

  • Unwanted media files


📝 Step 1: Delete the Sample Post (“Hello World!”)

  1. Log in to your WordPress admin dashboard

  2. Go to the menu on the left and select Posts, then choose All Posts

  3. Hover over the post titled Hello World

  4. Click Trash to remove it

Optional: To permanently delete it, go to the Trash tab and click Delete Permanently


📄 Step 2: Delete the Sample Page (“Sample Page”)

  1. From the dashboard, go to Pages and select All Pages

  2. Find the page titled Sample Page

  3. Hover over it and click Trash

  4. You can permanently delete it from the Trash if desired


💬 Step 3: Delete the Sample Comment

  1. Click on Comments in the dashboard

  2. Look for the comment by “A WordPress Commenter”

  3. Hover over it and click Trash

  4. To remove it permanently, open the Trash tab and click Delete Permanently


🗂️ Step 4: Delete the “Uncategorized” Category (Optional)

WordPress sets “Uncategorized” as the default post category. You cannot delete this until a new default is chosen.

To delete it:

  1. Go to Posts and then Categories

  2. Create a new category such as Blog or News

  3. Navigate to Settings and then Writing

  4. Change the default post category to your new category

  5. Return to Posts, then Categories, and now delete Uncategorized


🖼️ Step 5: Remove Demo Media Files (Optional)

If your theme demo installed sample images or icons, follow these steps to delete them:

  1. Go to Media and then Library

  2. Use the list view to better identify demo content

  3. Select files you no longer need and click Delete permanently


✅ Final Clean-up Checklist

  • Check Menus: Go to Appearance, then Menus, and remove links to deleted sample pages

  • Check Widgets: Visit Appearance, then Widgets, and remove default widgets like Recent Comments or Meta

  • Check Homepage Settings: Go to Settings, then Reading, and confirm your homepage settings are correct

  • Clear Caches: If you use a caching plugin, clear the cache to reflect all recent changes


🧾 Conclusion

Removing sample content from WordPress is a vital part of launching a clean, professional website. It improves user experience, enhances SEO, and ensures your branding is consistent across every page.

Previous Post
How to Forcefully Update or Reinstall a WordPress Plugin
Next Post
How to Remove a Post in WordPress