Support » Fixing WordPress » How to have wordpress ignore certain urls when using RewriteEngine

  • hey ya’ll — not sure what to call this issue…but here’s what i’m trying to do…

    right now, I have the wordpress address URL set to, and the blog address set to

    I have created my own PHP page (outside wordpress) residing at

    my issue is that I am trying to make friendly urls for my search2.php page (ie:, but wordpress (seeing as how it has it’s re-write turned on) catches search2 page as a non existing page. Is there a way to have wordpress “ignore” certain urls for it’s rewrite engine?

    (I also realize I may not be using the correct terms, such as rewrite engine) — perhaps, in the htaccess I can put a line of code that ignores certain urls?

    here’s my current .htaccess:

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

  • The topic ‘How to have wordpress ignore certain urls when using RewriteEngine’ is closed to new replies.