wordpress - Simple REGEX for blog page VS website page not working -
this regex working fine send url finishing /
nopage.php
file.
#www.abc.com/aaa/bbb/ rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^((?!blog)[a-za-z0-9/-]+)/?$ /controller.php?action=nopage [qsa,l,r=301]
but see beginning of regex might exclude url blog.abc.com/aaa/bbb/
because use wordpresse blog on url blog.abc.com
it's not working page goes blank, instead of delivering wordpress page. blog.abc.com
working fine
not found
the requested url /aaa/bbb/ not found on server.
any idea why ?
Comments
Post a Comment