I am currently an undergraduate at a university whose PhD Physics program is ranked 25. I plan to go into PhD for physics in condensed matter physics; I have applied to PhD programs this year but have been rejected by all of them, including my home university. I thus applied to masters programs for condensed matter physics. I have heard back from one university with acceptance. The school is not a well known university for physics (it only has a masters, no PhD program) and is ranked in the 200s. I plan to get more research experience during my masters. If I accept the offer and complete my masters there and apply to my home university (and similarly ranked schools) for my PhD will these programs frown upon the fact that I went from 25 to 200s? I have done well in my undergrad but will future universities just look at my masters program? It's already difficult to get into good schools and I am not sure if going to masters in this new place will make it more diffucult.
***PS: I have nothing against universities with lower rank. It's been a rough semester in terms of grad school applications (I never thought I would be rejected from my home university and it's making me worried)