Can I transfer from Cal Poly Pomona to Community College and then to a UC?

this only applies if you have upper division units from the four-year college. If all the units the OP takes are lower division, there cannot be a problem