• All post pages, categories etc work properly. However, when viewing a ‘page’, I get a general error as if WordPress cannot find the page it is looking for: “Sorry, no posts matched your criteria.”

    If I turn off permalinks, then I can view the page fine. How can I fix this?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Whats your .htaccess?

    Are you using SubFolder or SubDomain WordPress?

    Thread Starter jxtgroup

    (@jxtgroup)

    I am using a SubDomain. Here is the htaccess file:

    # BEGIN WordPress
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    </IfModule>
    
    # END WordPress
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    There’s one problem! Change it to this:

    # BEGIN WordPress
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress
    Thread Starter jxtgroup

    (@jxtgroup)

    Thanks Ipstenu.

    I replaced my htaccess file with this code and I am still getting the same error.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Have you tried the normal ‘disable all plugins’ test?

    Thread Starter jxtgroup

    (@jxtgroup)

    Yes, when I de-activate all plugins, instead of showing the error it displays the home page (but not the actual page I am looking for).

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    That’s … odd. Was that your WHOLE .htaccess? I mean, you don’t have other redirects in there?

    Also, check with your host that mod-rewrite is working.

    Can you repro this error on subblogs?

    Thread Starter jxtgroup

    (@jxtgroup)

    Yes, that is the complete htaccess. I will check with the host. What’s weird is that posts and archives work via permalink, only pages don’t.

    I will try creating another subblog and see if it persists.

    Thanks for your help.

    Link?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I will try creating another subblog and see if it persists.

    Is this happening on the MAIN blog or just a subblog? Yes it matters ??

    Hi there,
    I’m also having the exact same problem.
    I’m hosting wordpress on my own server, and the articles show up fine, including the contact and about me section, but the categories and the main page show the message,.
    Not Found
    Apologies, but the page you requested could not be found. Perhaps searching will help.

    Any advice please!
    Thank you

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    webnomad – Please make your own topic.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Multisite 3.1.1 – only 'pages' cannot be displayed with permalinks’ is closed to new replies.