Support » Fixing WordPress » Search goes straight to index page

  • Resolved richarduk


    Any clues as to why a search should go straight back to the index.php page?

    I have got a search.php template. Permalinks have index.php/title-of-post/ format.

    Could it be .htaccess? The format of .htaccess is

    <Files .htaccess>
    order allow,deny
    deny from all
    Redirect 301 /index.html
    Redirect 301 /novelsmain.html
    AddHandler server-parsed .htm .html
    ErrorDocument 403 /cgi-bin/advlogger/error.cgi?403
    ErrorDocument 404 /cgi-bin/advlogger/error.cgi?404
    ErrorDocument 500 /cgi-bin/advlogger/error.cgi?500
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    Any ideas greatly appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search goes straight to index page’ is closed to new replies.