I have got a very irritating problem. I have a file named action.php. I mistakenly made a folder named action. I am using .htaccess to remove php extension . When I click on action link - server opens action folder. If I remove .htaccess file it works correctly. Than I renamed action folder to another folder name. Now when I don’t have action folder - If I use .htaccess - server thinks action.php is a folder. It loads action.php file but its included file sush as css and other files does not load. I think server is searching those files thinking action is a folder. And server says Failed to load resources.
It was working correctly before I made the action folder. How do I load action.php correctly?
Hi,
Does the HTML in your action.php load? If it does, then you might want to delete the cache and reload so it loads other files. If the page doesn’t load at all then would you mind sharing a screenshot of what it says when you load the page?
I got so irritating that I really forgot about cache. Thank you, it loads now.
Glad you got it working.
Good luck with your project!
1 Like