I have recently installed Magento 2.4.3(p1) after successful installation, the homepage not working correctly and displaying like this : enter image description here

  • Whats your mode developer i think the issue linked to static element Commented Nov 10, 2021 at 9:01
  • Why pub in url path? Which server are you using (apache/nginx)? Please, check docs and configure the server correctly. Keep in mind, Magento does not support the Windows system. Commented Nov 10, 2021 at 9:20
  • Did you deploy the statics ? Check the other pages if they are the same. Also as said above, the pub in url looks strange.
    – Claims
    Commented Nov 10, 2021 at 9:43
  • magento serve whole website from pub folder tahtswhy i've used it in url Commented Nov 10, 2021 at 9:48
  • using apache server Commented Nov 10, 2021 at 9:49

1 Answer 1


issue resolved!! my URL was incorrect that why its showing me pages like that

go to dB and use this query :

SELECT * FROM core_config_data WHERE PATH LIKE "%url%"

and in my case it was:


I set it to:


and its working!!.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.