I have a custom post type, Listings, and I just created a child called Additional Locations since there will be some businesses with more than one location. I set it up as a parent/child relationship based on the documentation. I created a Content Template with the necessary custom fields and a View (see screenshots). I added the following line into my main view template for displaying the info: [wpv-view name="Additional Location View"]
The first time I tested a Listing it worked. When I refreshed the screen to test something the url redirected to the child custom post type. I have attached screenshots as well.
Please help me (I did all of this work twice already!).
Please let me see what plugins you are using now. We need to know if you are using some redirect plugins.
Yes. The site uses this Redirection plugin: hidden link
I deactivated the plugin and the error went away.
My client has a lot of 301 redirects.
Any ideas on a fix?
I'm having the exact same problem. Suddenly the url is redirected to a child of the custom post type.
I also noticed that the other custom post type, to which the child is also attached, shows up when i create a repeating field.
It wasn;t there before and I can't seem to get rid of it, since it is not present in the custom field list of the child.
Flight type 1, Flight type 2
Flight options. This is a child of Flight type 1 and type 2
The permalink in the view of the Flights now redirect to one of the Options, instead of to the flight itself.
the select form at the right side is asking me to select a 'Hadj reizen', which is the other custom post type to which the child (flight option) is attached.
This wasn't there before and since it showed up, I think after updating Types, no URL is working anymore.
Can we get an answer today? If this was happening on a live install I would be losing a lot of money, because all links to custom posts do not work.
We found a bug and we are checking it now. You are notified when it's fixed, I will close this ticket temporarily. Thank you for your understanding.
@ Daniella and @anwar,
We have investigated this and determined that the problem is with the redirect plugin. Would be nice if you could ask the maintainers of that plugin to fix it and report back the url of the support issue for Redirection plugin. We can then help the maintainers solve the problem.
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.
I added it to the support forum. Thanks.
The strange thing is that the first thing I did was clear all the 301 redirects and de-activate the Redirection plugin, but the links were still not working.
After updating Types, reading this post and de-activating it again it does work.
@Daniella thanks for adding it to the Redirection plugin forum.
@Daniella and Anwar,
So, it works fine for both? Did you update the Redireciton plugin too?
No, it does not work. I submitted a support thread on the Redirection plugin's support page and have not heard back.
No I still have the plugin disabled. Will not work with both plugins enabled.
I don't think the redirection plugin gets updated alot.