Glioblastoma (GBM) accounts for half of all central nervous system tumors. Once the tumor is removed, many GBM cells remain present near the surgical cavity and infiltrate the brain up to a distance of 20–30 mm, resulting in recurrence a few months later. GBM remains incurable due to the limited efficiency of current treatments, a result of the blood-brain barrier and sensitivity of healthy brain tissues to chemotherapy and radiation. A new therapeutic paradigm under development to treat GBM is to attract and accumulate GBM cells in a cancer cell trap inserted in the surgical cavity after tumor resection. In this work, porous gels were prepared using porous polylactide molds obtained from melt-processed co-continuous polymer blends of polystyrene and polylactide, with an average pore size ranging from 5 μm to over 500 μm. In order to efficiently accumulate and retain GBM brain cancer cells within a macroporous sodium alginate-based hydrogel trap, the pores must have an average diameter superior to 100 μm, with the best results obtained at 225 μm. In that case, the accumulation and retention of F98 GBM cells were more homogeneous, especially when functionalized with RGD adhesion peptides. At an alginate concentration of 1% w/v, the compression modulus reaches 15 kPa, close to the average value of 1–2 kPa reported for brain tissues, while adhesion and retention were also superior compared to 2% w/v gels. Overall, 1% w/v gels with 225 μm pores functionalized with the RGD peptide display the best performances.