View Single Post
  #6  
Old 23 Sep 2015, 23:30
Jaffery Jaffery is offline
 
Join Date: Dec 2009
Originally Posted by kh99 View Post
Maybe you want [^.], like

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


ETA: Hmm...or in case tags can show up elsewhere in the path, maybe both . and /, like

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thanks guys, it worked with following: (and yes there were some conflicting rules from default vb)



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now I need to handle attachment urls :

Its like :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Here 2451 is image ID:

I did this :


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Again not working..

No matter how much I read about regex, its always confusing for me, can you guys confirm if I read it correct :

[^/] mean any character except /
so,
[^./] means any character exept . and /

am I reading it right ?

--------------- Added 23 Sep 2015 at 23:36 ---------------

Well.. I donno but now its working .. for precaution I have added condition for attachment url redirect:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Is it as I think, ie. first checking condition if URI contains /albums/ word and then only proceed for further match and redirect ?
__________________
.....
Reply With Quote