WordPress.org

Support

Support » How-To and Troubleshooting » possibly a mod_rewrite question

possibly a mod_rewrite question

Viewing 3 replies - 1 through 3 (of 3 total)
  • ditto

    Is there a way to direct WP to return a 404 in case of a ‘no posts matched your criteria’? Or could a plugin automatically generate search results and display them on the page underneath the ‘no posts matched your criteria’ text?

    I’m having a similar problem, when i try to access to any fake URL as http://www.talishka.com.ar/bleh.txt or http://www.talishka.com.ar/bl/eh.txt i’m gettin the index page. In the address bar sez http://www.talishka.com.ar/bleh.txt but i’m seein the index.php ..

    I also have customized 404 error page, when i desactivate the wp modifications to the .htaccess everythin (but permalinks) works..

    This is my .htaccess:


    ErrorDocument 401 /errorpages/401.html
    ErrorDocument 400 /errorpages/400.html
    ErrorDocument 403 /errorpages/403.html
    ErrorDocument 404 /errorpages/404.html
    ErrorDocument 500 /errorpages/500.html

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

    Any ideas? Thx. in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘possibly a mod_rewrite question’ is closed to new replies.
Skip to toolbar