Jump to content

404 Error For "pages" Files


vba

Recommended Posts

Hi,

 

I uploaded new pages last night into both the public_html and public_html/pages folders.

 

I then happily clicked around and saw that everything was working fine.

 

Now today I have gone to my home page and it is ok however when I try to go to any other pages which are located in "pages" I get 404 error. The home page uses 3 other pages in the "pages" directory to build itself so it can access the files to build but people cannot see the sub pages?

 

If I log into Cpanel and then start FileManager I can then access the pages. Cpanel on its own does not work.

 

Help please.

 

Thanks

Edited by vba
Link to comment
Share on other sites

Hi All,

 

I have worked it out.

 

The validation I was doing on the initial load of the primary page was failing.

 

This then stopped some code from running and thus all my links were not working.

 

The strange thing was that my test server at home (unfortunately windows based) did not exhibit this error as the validation was getting the right information.

 

Due to this being a unix based hosting there is a minor difference in how it handles pages on first load eg the data was different to what windows on first load does.

 

All fixed now. :)

 

vba

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...