htaccess regex wordpress not working -


i have wordpress site set custom redirect rules set up. weird thing sure these of these working before of them no longer function.

here complete htaccess file:

rewriterule ^properties/([a-za-z]+)/([a-za-z\+\'.]+) /properties/?prov=$1&city=$2&%{query_string} [r,nc] rewriterule ^properties/([0-9]+) /properties/?id=$1 [r,nc] rewriterule ^([0-9][0-9][0-9][0-9][0-9])$ /properties/?id=$1 [r,nc] rewriterule ^expand.php?id=([0-9]+) /properties/?id=$1 [r,nc]  # begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase /wordpress/ rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /wordpress/index.php [l] </ifmodule>  # end wordpress 

right rule works (other directory change wordpress itself) is

 rewriterule ^([0-9][0-9][0-9][0-9][0-9])$ /properties/?id=$1 [r,nc] 

i've tried throwing in simple rules test, like

 rewriterule ^/bob /contact [r,nc] 

but doesn't work either

* edit below issue fixed , not related issue above (but i'll leave here in case there comment referenced it)*

also, not sure if gives insight on page redirect works, wordpress theme broken, wp_footer never fires , rest of page fails

have this:

# begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase /wordpress/  rewriterule ^bob/?$ /about [r,nc,l] rewriterule ^properties/([a-za-z]+)/([a-za-z+'.]+)/?$ /properties/?prov=$1&city=$2 [r,nc,qsa,l] rewriterule ^(?:properties/)?([0-9]+)/?$ /properties/?id=$1 [r,qsa,nc,l]  rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /wordpress/index.php [l] 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -