Rewriting exception for "log-in" (1 post)

  1. principiante
    Posted 3 years ago #

    Dear friends,

    I was "convert" my old page into wordpress.

    Old url-s had .php on the and, and I was redirect this url-s on new, same url-s, but without php using:

    RewriteEngine On
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^\ ]+)\.php<br/>
    RewriteRule ^/?(.*)\.php$ /$1 [L,R=301] </code>

    Old url-s indexed by google now redirecting to new one withot problem, but when I'm trying to log-in into worpress panel located on domain/wp-login , "loop" is happend and no way to log in. Same thing happend when i'm trying to log-in into phpbb3 forum that is located domain/forum/.

    Please,anyone can tell me is there any way to make exception for:
    /forum/ucp?mode=login and
    wp-login directories?

    Thank you!!!

Topic Closed

This topic has been closed to new replies.

About this Topic