relative path (in content) problem when using urlManager

I have a few databases that use relative path in my content column. When using urlManager, this poses a problem. For example, I have the following in $post->content:

However, under urlManager, if I have posts/page/2 instead of index.php?r=index.php/post/list&page=2, it poses problems.

I can map posts to post/list but I cannot map the page variable to sth like

posts_page_2.

is there urlManager trick to solve this problem? I hate to touch my database

No, urlManager won't help here. This purely depends on your server configuration. You may also consider replacing these relative paths when displayed so that they start with a slash.

thanks. Nice to know urlManager wont help here so that I do not need to dig into urlManager any more.