• I have a MailChimp newsletter that links to my book reviews. These are updated several times a month and appear on my website (www.vweisfeld.com) under the category “Reading . . .” The URL i.d. for the “Reading . . .” page is supposedly vweisfeld.com/?p=reading-2. But that URL leads to a page with ALL my most recent posts, including those that are NOT book reviews and NOT categorized as “Reading . . .” The categorization works as it should on the website itself, but not when I use the “reading-2” link.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The reading-2 is a page? What template is assigned to it?

    Thread Starter Vicki Weisfeld

    (@vicki-weisfeld)

    Apologies. I don’t know how to answer your question re the template.

    “Reading . . .” is a category, and I’ve made that category a main navigation heading in my menu structure. When I go to “posts>category>edit category” I find this notation: “The “slug” is the URL-friendly version of the name,” and the slug for this category is reading-2. I actually found this “url-friendly slug” somewhere else in the admin side, as well. So I thought I could use it as a way to steer people to ALL my “Reading . . .” posts.

    Maybe what I’m trying to do (get a user directly to the category, as they can do if they first go to my website home) is not possible.

    What are your permalinks set to? I think you need to change them for the pretty ones to work.

    Settings>Permalinks

    On my site it comes out like this if I add a category to the menu when my permalinks are set to %post%

    https://example.com/category/blog

    Thread Starter Vicki Weisfeld

    (@vicki-weisfeld)

    OK, under Setting>Permalinks, I see an “Optional” option, with a fill-in box for Categories.

    So are you saying if I type in something (say “Reading”) in that box, then the URL https://www.vweisfeld.com/Reading would call up the reading posts?

    That’s easy. No “/?p=” anywhere?

    I’ll try it!

    Not quite ?? Set the Permalinks to Post Name and then look at your site and click on the Reading menu link. Look in the URL bar of your browser and take note of what it is.

    Thread Starter Vicki Weisfeld

    (@vicki-weisfeld)

    Seems to work. Gave it a test. Thanks so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Category ID including posts not in that category’ is closed to new replies.