• Hello, my site is //ocparalegalservices.com. I originally created the site with WordPress point and click. Now I am trying to learn php and html. I have created a simple testing.php and mypage.htm. With Webmin, I have uploaded these test pages to /home/ocparalegalservices (I’m guessing this is where they should go). I’m trying to run the pages by typing into my browser //ocparalegalservices.com/mypage.htm or //ocparalegalservices.com/testing.php. Both come up with 404 Page not found. Should I be uploading the pages to a different directory?

Viewing 1 replies (of 1 total)
  • Hello!

    I highly recommend you read the Pages and Theme Development pages on the codex.

    Where you would upload your files would be in your WordPress directory, in wp-content/themes/yourthemefoldername (yourthemefoldername needs to be whatever the name of your theme is.) The template files would be .php files, and as an example for a testing page, you would put your template in the folder I mentioned as testing.php, and you would create a page in the WordPress admin area called ‘testing’, and to view it on your site it would just be http://ocparalegalservices.com/testing/

    I hope that helped!

Viewing 1 replies (of 1 total)

The topic ‘testing an html or php page’ is closed to new replies.