James Cole
Forum Replies Created
-
Nailed it!
Thank you so much Michael.
The rewrite slugs for both tags and categories was set to “movies”
Much appreciated ??
James
Thanks for explaining it Michael.
I ran the plugin and got the following results on the two pages mentioned in my previous comment.
https://jamescole.com.au/wp-content/uploads/2018/06/screen1.png
https://jamescole.com.au/wp-content/uploads/2018/06/screen2.png
I hope it makes sense to you.
These are the custom post type settings I have.
name: movies
label: Movies
singular_label: Movie
description: “”
public: true
publicly_queryable: true
show_ui: true
show_in_nav_menus: true
show_in_rest: false
rest_base: “”
has_archive: true
has_archive_string: movies
exclude_from_search: false
capability_type: page
hierarchical: true
rewrite: true
rewrite_slug: “”
rewrite_withfront: false
query_var: true
query_var_slug: “”
menu_position: “”
show_in_menu: true
show_in_menu_string: “”
menu_icon: “”
custom_supports: “”
title
editor
thumbnail
excerpt
trackbacks
custom-fields
comments
revisions
author
page-attributes
post-formats
movie_categories
movie_tagsI thought of that possibility too so I created a couple of test pages that were unrelated to anything and the same happens.
Works
https://jamescole.com.au/movies/anewpage77/anewpage78/
Don’t work
https://jamescole.com.au/movies/anewpage77/It’s definitely odd
Forgive my ignorance but what are “query args” and where would I find them to let you know what they are?
Hi Michael,
I’m having the same issue. To add to the weirdness, I’m finding that it’s only on top level parent pages that are giving the 404. A page that is a 2 or 3 level child page display perfect.
For example,
This page works fine
https://jamescole.com.au/movies/feature-films/stressed-to-kill-trailer/
But this gives a 404
https://jamescole.com.au/movies/feature-films/and the same for this post type
this works
https://jamescole.com.au/writing/short-stories/flaw-in-the-design/
this doesn’t
https://jamescole.com.au/writing/short-stories/Any help would be greatly appreciated.
Thanks,
James