• Resolved ghimmelein

    (@ghimmelein)


    Site search is not working (in the sidebar) and I don’t understand why.

    I switched to a different theme and I disabled all my plugins – this did not help.

    Can somebody please help me troubleshoot this issue?

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Moderator t-p

    (@t-p)

    Did it ever work before?

    If so, what did you do before it stopped working?

    Thread Starter ghimmelein

    (@ghimmelein)

    Not sure whether it ever worked. I.e. I just tried it out for the first time and search didn’t work.

    Is there a log file I could look into?

    Moderator t-p

    (@t-p)

    Is there a log file I could look into?

    There should be error logs on your server, which may give a clue to why this is happening on your website/server. If you need help locating them, ask your hosting provider to help you with that.

    Thread Starter ghimmelein

    (@ghimmelein)

    I enabled error checking via php.ini and there are no errors.

    Search is just not working.

    Moderator t-p

    (@t-p)

    I switched to a different theme and I disabled all my plugins – this did not help.

    Then try MANUALLY updating. Download WordPress again and unzip it, and use that to copy up. Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. (NOTE: do not delete the?wp-content?directory or your?wp-config.php?file). Please read the Manual Update directions first.

    Backup: If you haven’t already done, always backup everything (including your database) before doing any actions, just in case something really goes wrong. You can never have enough backups!

    Thread Starter ghimmelein

    (@ghimmelein)

    Welp… I contacted my hoster (Ionos) and their support representative actually found the problem (and fixed it, too).

    Spoiler: Manually updating or reinstalling WordPress wouldn’t have helped at all.

    The problem was that I had a .htaccess file in the root folder of the server, and another .htaccess file in the folder of the WordPress installation.

    The .htaccess file in the root folder contained one fatal line: “Options Includes FollowSymLinks“. And that’s what killed WP’s search feature.

    Ever since I’ve renamed the .htaccess file from the server’s root, the search feature works. (Yay!)

    Moderator t-p

    (@t-p)

    Glad you got it sorted ??

    FYI: WP does not add that line to your .htaccess.

    Thread Starter ghimmelein

    (@ghimmelein)

    I never said it was WP’s fault.

    The miscreant .htaccess was a leftover from a previous static site.

    Moderator t-p

    (@t-p)

    ??

    I want to change the location of my theme’s search bar that I believe is built into my theme (Twenty Eleven). It’s location is fine on a desktop, laptop or even tablet, but on a phone, it completely covers my masthead image … which happens to be most of my family members’ faces.

    Moderator t-p

    (@t-p)

    For new question, please start a new topic.

    Ok, I apologize. I’ll try to do that now. Thank you!

    Moderator t-p

    (@t-p)

    No problem ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Search not working’ is closed to new replies.