Problem with rsync command

Hello
im working on my bash script, in rsync part i try this command to rsync all folders except this folder 'wp-content/cache'
which has tousends of file and i dont want to rsync content :

rsync -avz --exclude '/home/user/public_html/wp-content/*' /home/user/public_html/* /dest

but output is:

[root ~]# rsync -avz --exclude '/home/user/public_html/wp-content/cache' /home/user/public_html/* /dest
sending incremental file list
wp-content/cache/css/
wp-content/cache/css/0b3bc.css
wp-content/cache/css/284bc.css
wp-content/cache/css/357e5.css
wp-content/cache/css/42241.css

it start rsync but with folders that i add in exception .

The rsync patterns are relatative (with caveats). try:

rsync -avz --exclude '/wp-content/cache/*' /home/user/public_html/* /dest