Avatar of Sean Clarke
Sean ClarkeFlag for United Kingdom of Great Britain and Northern Ireland asked on

Wordpress Custom Posts Types do not work in Internet Explorer - 404 Shown

I've created a custom post type in Wordpress and all seems to be working fine.

Everything is perfect in Firefox

However in Internet Explorer, Chrome and Safari - I get a 404 page instead.

Try this link in FF and then in IE - http://www.financeforindustry.org/event/southern-manufacturing-2014/

You get different results....

I've trawled every forum looking for a solution for this, but cannot resolve it.

Code is attached...
custom-post-type.php
WordPress

Avatar of undefined
Last Comment
Sean Clarke

8/22/2022 - Mon
Jason C. Levine

Does the custom post type have its own template in the theme or are you using single.php?
ASKER
Sean Clarke

It does have it's own template file.

We've removed that - no change
We've removed single.php - no change
 - This then just give us the standard "No Posts" message from index.php
Jason C. Levine

Damnit.  So much for the easy fix.

Okay, I'll try to test from here in IE and see if the console gives me something.  If not, will load your code on a test site...
Your help has saved me hundreds of hours of internet surfing.
fblack61
Jason C. Levine

Actually, I get Page Not Found on all browsers now.  Did you change something?
ASKER
Sean Clarke

Jason, it's all back to not working again now - was trying a different permalink settings.

Currently set to /%category%/%postname%/

So still not working in IE but fine in Firefox

Also noticed it doesn't work on Chrome nor Safari


So - What does Firefox do to my page code that the other browsers do not (or vice versa)
Jason C. Levine

Not working in Firefox either...

My firefox screenshot
So you have different problems than just a browser...
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER CERTIFIED SOLUTION
Sean Clarke

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Sean Clarke

never really fixed this