# PEM\_Classfication\_URL

**URL:** <https://community.f5.com/t/pem-classfication-url/48910>\
**Category:** Technical Forums\
**Tags:** big-ip, secure-web-gateway, security\
**Created:** [May 30, 2019, 6:49am UTC](https://community.f5.com/t/pem-classfication-url/48910 "2019-05-30T06:49:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Parveez](https://avatars.discourse-cdn.com/v4/letter/p/9dc877/32.png) [@Parveez](https://community.f5.com/u/Parveez)\
**Post date:** [May 30, 2019, 6:49am UTC](https://community.f5.com/t/pem-classfication-url/48910/1 "2019-05-30T06:49:31Z")

</div>

Hi Team,

I am having 3 categories for URL Classification named: Whitelist, Blocklist and Custom.

Previously I was referencing SWG Database using an Irule pointed towards the Data-Groups created named: Whitelist, Blocklist and Custom.

\> set lookup\_category [getfield [CATEGORY::lookup $this\_uri] " " 1 ]

How can I replace this lookup\_category [getfield [CaTEGORY::lookup $this uri] which is mainly used for SWG lookup.

Will urlcatquery will work in this case ???

\> set lookup\_category [urlcatquery $this\_uri]

Regards

Parveez
