How can I get a block rule to match uri = empty string,
as in when I am at URL root http:www.mydomain.com/ ?

I want to match and display a block at http:www.mydomain.com/ and http:www.mydomain.com/forum, but no where else.

uri="forum" will block display at the empty string.

Comments

dllh’s picture

Status: Active » Closed (fixed)

Using regex ^\/?$ should work for the root I think (untested). Pair that with uri=forum and you should be good to go.