Whats the url that displays all posts in wordpress?

16,238

Solution 1

right url for them to add to my menu.

http://yourwebsite.com/?post_type=post

Solution 2

You don't have to necessarily use a category to every post.

Actually the file to list all posts of any category and date is the index.php. You just write 'the loop' as told on codex.

So if you changed your index.php to make it as a fancy page and not the post list only, now you're trying to create another page to do that for you.

So, if you follow me, you're doing this the wrong way. What you should do is to create a separate page and assign it as the home page of your blog. It would then free the index.php file for you to use it as the blog list, as it is by default.

Solution 3

Assuming that you did it the correct way (as mentioned by Guilherme), you should have a page designated as the blog list page.

The URL for the blog list if using the page 'My Blog' to display posts and pretty links for the url should be something like http://mywebsite.com/my-blog.

Share:
16,238

Related videos on Youtube

Claire
Author by

Claire

Updated on September 20, 2022

Comments

  • Claire
    Claire over 1 year

    I simply want a link to my blog archives. They are just normal posts, but I cannot seem to find the right url for them to add to my menu.

    • Claire
      Claire almost 12 years
      why you marking me down? It's a simple, straightforward question.
    • Kegan Quimby
      Kegan Quimby almost 12 years
      yeah every post has to have a category. usually i'll create a category called "blog" (just renamed uncategorized) and install the Yoast SEO plugin and remove the /category/ from the URL
    • maiorano84
      maiorano84 almost 12 years
      They don't HAVE to have a category, but it's certainly best to do. This will help you: wordpress.stackexchange.com/questions/30037/…
  • Jens
    Jens over 5 years
    This is the right answer, unfortunately many theme authors are not doing it this way. Right now I'm stuck with a theme (square theme) that changes the index and I have no way of displaying the recent posts.