• Resolved denizen128k

    (@denizen128k)


    I have spent hours trying to figure this one out.

    WordPress searches only posts and NOT pages. As an example, I have a ‘featured’ categorie created. WP will search only this and display search results.

    Anyone know what would cause this?

    Additionally..WP is not installed in the root, but a subfolder…my thinking is it could be a htaccess issue?

    Just incase:

    Options -Indexes

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you tried:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    – switching to the Twenty Eleven theme to rule out any theme-specific problems.

    resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    Thread Starter denizen128k

    (@denizen128k)

    That would be tricky esmi. The website is live..so I dare not switch off all plugins. I’ll give it a go in the late hours perhaps.

    Well, put it this way, the core search has been returning Pages as well as posts for quite a few WP versions now. And I’ve never had a problem with it. So, whatever it is, it’s specific your site or your server.

    Thread Starter denizen128k

    (@denizen128k)

    It was a conflicting plugin. Thanks again for the tip!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘WordPress searches only posts and not pages?’ is closed to new replies.