vs
QUICK ANSWER
"De lo que" is a phrase which is often translated as "of what", and "por la que" is a phrase which is often translated as "by which". Learn more about the difference between "de lo que" and "por la que" below.
de lo que(
deh
loh
keh
)por la que(
pohr
lah
keh
)A phrase is a group of words commonly used together (e.g., once upon a time).
a. by which
La ruta por la que se administrará el medicamento depende de la droga en sí.The route by which the medication will be administered is dictated by the drug itself.
a. through which
Había sangre en la ventana por la que escaparon los ladrones.There was blood on the window through which the burglars escaped.