1

I have a couple of PHP-based projects (that are working fine locally), but I'm looking to host on the same server as my Wordpress site/portfolio.

I have put those folders in public_html folder in my file structure but they are generating a 404 error when I try to load them.

HTML based pages work fine, for PHP it's not. Does anyone have any ideas? I'm sure I'm missing something fairly obvious but am at a loss at the moment...

Bhaumik Pandhi
  • 2,655
  • 2
  • 21
  • 38

1 Answers1

2

You need to change the permission of files. Either change it via command line,

find foldername -type d -exec chmod 755 {} \;
find foldername -type f -exec chmod 644 {} \;

Or change it via cPanel,

Change permission for files to 644 and folders to 755

Ahmed Ginani
  • 6,522
  • 2
  • 15
  • 33