Sorry no posts matched your criteria – permalink problem
-
I am experiencing a permalink problem. When the blog is loaded I click on some of the headers of the individual posts – the link returns a ‘sorry no posts matched your criteria’ error. So the permalink generated by the blog itself don’t work.
Any thoughts?
-
Is this for the blog in your profile? Seems to be working now?
If not, check the Permalinks page for trouble-shooting tips. Be sure your .htaccess file is getting created/updated when making changes.
I will go and check the page you suggested. The thing is for some posts it works and for some it doesn’t.
It didn’t work for me with this one:
https://youthworkercoach.com/blog/2007/10/08/relational-youth-work-2-inspiring-quotes/I have followed the recommendations in the permalinks section [htaccess etc] and am still having the problem. My htaccess file looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule># END WordPress
Is that is what is required?
The issue only appears when someone tries to click on a permalink. By that I mean the site works, the posts are posted, the permalinks are correctly assigned to the individual posts; BUT – when the titles are clicked on they don’t reconnect to the full post – but show the error that ‘no posts match my criteria’
Any thoughts anyone?
I feel silly typing this again… ??
Seems to be fixed? The example link above is working. I just clicked through 3 or 4 of your other title links and they seem ok as well.
Don’t feel silly – that’s for me to do!
It does seem to be working now – but I did receive a comment from someone who was wanting to link to me and they couldn’t ‘connect’ either – but as you say – seems to be fixed now.
Thanks for your help
It seems that the issue has jumped blogs! I am now experiencing it on my Understanding Teenagers blog. I have deleted and reinstalled htaccess, and still getting the same fault. I have tried deleting cache – in case that was an issue. But .. no joy – can you run the risk of looking silly one more time ?
https://www.teencoach.org/blog/2007/10/08/book-review-7-habits-of-highly-effective-teenagers/
and
https://www.teencoach.org/blog/2007/09/28/they-just-want-to-be-accepted/
to choose just 2.
Again the categories work, the archive works, the current post looks good – just the permalinks.
Thanks
seems your most recent post works fine… but the older ones do not.
I’m not sure why that is… but that could be helpful.
whast the hell with this wordpress cms
hi, this may be too late for you but i had exactly the same problem, and the way my theme must be set up, is if a page is set as public, but a sub-page of another page (set the page parent at the bottom of the page when editing or creating new pages) then it is available to be viewed by anyone that is not logged in, but does not appear in the menu. View my site https://www.lewisurwin.com and click on portfolio for an example.
I hope this has been of some help to you
Lewis Urwin
Change your permalinks to:
Default https://domainname.com/wordpress/?p=123The issue will go away.
While this does fix the issue, it does not completely resolve the problem.
My site is https://cherrybloss.org
Let me point out that a number of us use “Pretty Permalinks” and have for quite some time. What I’m finding is this —
Once someone is physically at my website, if they click the “pretty permalink” from an archive, it works fine.
If someone clicks on a “pretty permalink” from an archived post on another site, they are redirected to my site with the
“Sorry, no posts matched your criteria.”
Example: https://www.cherrybloss.org/2005/06/before-you-ask-no-i-am-not-a-radical/
If you go to my site and follow my archive links for June 2005, you can click on this post without a problem. However, if you just tried to click it, chances are you didn’t get the post.
Further, I have a customized 404 on my site and have for quite some time. The customized 404 does not pop up, it instead (obviously) tries to parse the link somewhere causing complete failure. I do not know (and cannot tell) where the server-side failure is happening.
The posts that are affected on my site are posts which were imported from Blogger over three years ago using the old Blogger to WordPress method. I have tried everything — editing my .htaccess file, disabling old plugins, nothing seems to resolve the problem
Nothing at all.
for the record, here’s my .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([^/]+)\.html$ $1/$2/$3/ [QSA,R=301,L]
</IfModule># BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
Has anyone found anything even resembling a better solution than reverting to the old permalink structure?
I’m going to update this further:
I actually have tried the suggestions listed in the WordPress Permalinks section & nothing, I mean *not one thing* has worked.
Even if I switch to the default permalink methodology, redirects to posts more than two years old on my site fail to work.
I tried the /index.php method — does not work.
I tried various forms of permalinks — does not work.
I switched to the Permalink Evolution-suggested method of fixing your permalinks with the updated .htaccess they suggest. This does not fix the problem.
I tried several other different methods along the same lines, nothing solves this problem. I’m going bonkers. This is killing my traffic.
It only appears to happen with those posts that I imported from Blogger in 2006. Further, when I upgraded to the latest WordPress, I did so from 2.0.4 straight to 2.6.1 — could this be part of the problem? Did I miss a step? Have my 24 hours of Googling, reading, trying suggestion & following steps from WordPress and from others left me high and dry on this, or is there an actual solution being looked at besides “do it the old way”?
SOLVED:
With the old Blogger-imported files, I had initially had them as .html files instead of .php so those 3-year-old links were dead.
I had to add a critical line to my RewriteModule in .htaccess to fix this —
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([^/]+)\.html$ https://domain.org/index.php/$3/ [QSA,R=301,L]
adding this to the line below
RewriteBase /
told WordPress to parse the old .html links and rewrite them “pretty”.Thanks for listening to me moan and, eventually, solve the problem.
- The topic ‘Sorry no posts matched your criteria – permalink problem’ is closed to new replies.