-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 error #22
Comments
My guess is you are missing the .htaccess file that came with the Grav install. If you copied files around with Finder (on a mac for example) it would not pick up the hidden files when you dragged. Try extracting the file to a folder and moving the entire folder where you want it, and then rename it. If you do have .htaccess at the root, we can see what else could be causing that. Let me know! Cheers. |
I've just double checked and the .htaccess and it's defiantly there I've restarted apache and cleared my web browsers caches just to rule the simple things out And thanks for your quick response ! |
Could you zip up and share with me your pages folder So I can take a look at it? |
Yes sure, http://mcpe.w-a-s-d.co.uk/ (link to the website itself) |
Ok, nothing wrong with your pages, and the fact that its not a Grav 404 error page, tells me that there's definitely something wrong with your server setup or .htaccess is not being picked up for some reason. Perhaps your hosts restricts use of individual .htaccess files? are the permssions readable by the webserver on this file? Have you tried zipping the whole site and running on a local webserver? Just trying to get to the bottom of the issue :) |
btw, one way to test another webserver is to run the PHP 5.4 built-in server on the directory:
From the Grav directory, an then hitting http://yourhost.com:8080 |
BTW regarding the |
Ahh I had tried that previously, however it couldn't have worked But thank you again for your excellent response time and patience. |
No problem, glad you got it sorted! |
Whenever I create a new page and navigate to it on a web browser I get a 404 error and my URL bar shows http://mcpe.w-a-s-d.co.uk/test (the new page is called test) but the folder doesn't exist at the root of my server so I looks to be pointing in the wrong direction ?
Thanks for your help
Josh
The text was updated successfully, but these errors were encountered: