I recently uploaded an experimental website for testing purposes. There is a php page which is located in assets folder of my website. But when I go to its URL and try to open it the only thing that shows up is the file’s source code (not the actual page).
Just tried opening https://matcha-gooness.000webhostapp.com/mtw-themes/BlogOnly/assets/easyblog.php and the php page opened but it doesn’t supposed to work like that. Besides if this gonna imply that the php file isn’t located somewhere like in an /assets/ directory in the root folder then how can I see the source code via the previous link?
Thanks for all your helps. Will wait for @teodor for more help. Just one question:
It seems the server doesn’t give me access to the .htaccess files. Whenever I try to open them it gives back a “403 Error”. Any ideas why?