Editing, or creating a new page on your website
June 18, 2008
Editing, or creating a new page on your website.
Although all php websites I create are intended as a fully automated solution. I know that one or two people would like to make alterations to their site. As such I have created the following instructions to give you an idea of how easy it is to make changes to any of the article pages, or to create and add new pages.
Little or no php or html knowledge is required to do this. I recommend that any editing or page creation is done on your PC, rather than from the hosting account. Although there is both editing facilities and normally a reasonable built in editor on most hosting packages, it is easy to make a mistake and that mistake cannot be reversed using online editing functions.
Notepad is ideal for simple editing and page creation, as very little coding is required. If you prefer to use an editor, simply ensure that you do not use a WYSIWYG editor [What You See Id What You Get] As they do not quite live up to their name. well not for php sites anyway. They will basically mess up the php coding and your resulting page will quite simply not display correctly.
If you require an editor, but do not want to pay for one, try the following search link. You will see a few results for decent free editors you can download [all downloads are spyware free]
You will also require an FTP client. So again just in case you require one and do not want to pay, here is another search link for you…….
First thing to do is to use FTP to download the page you wish to edit. Or if you are wishing to create a new page, download any one of the article pages from your site. They are all located within the public_html directory.
Open up the article page now on your editor, or notepad. now that you are looking at the code that makes up the page, if you are not used to editing php pages, you may be a little confused with all the code that appears to be there. Don’t let that put you off, as you will not have to edit any of it. All those php commands are simply there to call up the various items on any page such as the header image, title, keywords, menus, adsense code etc etc. The actual content of your page. i.e. what sits in the middle of the page, has almost no code on it at all. The pages have been built this way deliberately so it would be easy for almost anyone to edit.
First thing you may want to change of course is the title of the page. If you are just editing your article, you may not want to do this.
If however you are using this page to create a new page you will. So have a look at the top section [the meta tags] and you will
see the title tag with your page title quite clearly. It will really stand out in amongst all that php code.
Delete it and type in whatever you wish to call your page.
Now scroll down the page until you see………

