WaitWhereAmI
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Front-end warning: Missing Argument for wpdbI’m in the same exact situation with a missing author, though judging by the the error you posted we are using a different theme. I’m in too deep to use a different theme, what are my options in terms of having someone look at my code or troubleshooting this on my own?
Hi roblagataa,
Thanks for following up. I first discovered the problem because of posts your plugin was generating, but i’m pretty sure your plugin isn’t causing that behavior in the first place. I took the issue to the main wordpress troubleshooting forum but didn’t have much luck. For now i just put a bandaid on the problem by replacing index.php and single.php with copies of my 404 template so that people get a 404 message when they stumble upon urls like /?tribe_organizer=TED, and I did some 301 redirects for urls like “/?tribe_organizer=” and “/?taxonomy=”.
I noticed that some other wordpress sites do this too, and almost all of the ones using my same theme do. I’m wondering if its just normal behavior that typing urls like that will generate posts or take people to my posts page. It’s just inconvenient for me because I wanted my blog (index.php) to be completely inaccessible and for any weird posts not to be generated using single.php.
If that is normal and i’m just clueless let me know, either way thank you for your help.
My mistake, the posts are using “single.php”. How do I prevent typing “mysite.com/?tribe_organizer=whatever” or “mysite.com/?taxonomy=whatever” from creating posts at all?
I’ll clarify because I think I was confusing.
Essentially urls like “mysite.com/?taxonomy=” are pointing to my index.php page, and similar urls using that “?something=something” structure are generating posts using index.php.
I can just delete index.php, but then those urls point to a blank white page. How can I block these urls from pointing to anything other than a 404 page or right back to my static homepage?
I’m sorry I’d rather not post my site at this time… but I did find a few using the same theme that have the same issue. I have a Modern Tribe calendar plugin which adds /?tribe_organizer=, /?tribe_venue, /?tribe_events to this mess… which all redirect to my index.php page. And any events, venues, or organizers i add via that plugin are now their own posts.
https://anatsudri.shared6.lighthost.co.il/?taxonomy= takes you to this site’s post page as well. And it looks like this person, much like me, doesn’t have much going on there and probably would prefer it didn’t show up.
https://oneglowinglife.com/?taxonomy= same deal, at least this person has their blog/post pages setup.
Sorry to post another follow up, but I’m not sure this is your plugins fault.
“?taxonomy=” is also showing up as its own page using the Main Index Template (index.php) instead of my page templates, with or without your plugin activated.
Is it normal for a page like this to show up if you type “mysite.com/?taxonomy=” in the address bar?
I don’t know if this helps but i’ll clarify my issue:
It seems that /?tribe_events, /?tribe_organizer, and /?tribe_venue are all their own pages using my post template. Any organizers or venues I enter into an event’s details page are also showing up as posts.
(e.g. https://www.mysite.com/?tribe_organizer=TED is its own post that people can view if they just happen to type “mysite.com/ted” in the address bar.)
How can I prevent this?
Thank you
Hi roblagataa,
Thanks for getting back. I do have my permalink settings set to “Post name”, which I believe is the same as /%postname%/.
I just disabled my plugins to see if that fixed anything, apparently not. Any other ideas what this might be?
Thank you, much appreciated