/
Creating a New Web Page

Creating a New Web Page

You may create additional pages on your website, if needed.  You will need to copy two template files and make some edits to them to create the new page.  After creating the page, you should also create a link to it, so shoppers can find it on your website.

  1.  In the root (top-level) folder of your staging site, there is a template file called blank.asp.  Right-click this file and select Copy.

  2. Right-click the root folder (at the very top of the folder list) and select Paste.

  3. The copied file will be added at the very bottom of the root folder file list as blank_copy(1).asp.  Right-click blank_copy(1).asp and select Rename.

  4. Rename the file to something more meaningful, keeping the .asp file extension.  For example, if you were creating a page for graduation information, you might rename the file to site_graduation.asp.

  5. Double-click the file to edit it. 
    Tip:  You should never edit the blank.asp file, only a copy.  You never know when you might want to create another new page.

  6. Switch to Split or Code view, so you can view the code for the page.

  7. On the line that begins with strTitle, change the “Blank Page” text to whatever title you would like for the page.  For example, a graduation page might be called “Graduation” or “Graduation Information”.

  8. On the line that begins with <!-- #INCLUDE FILE="outerweb/…, change o_site_blank.asp to the matching outerweb file that will contain the content for this page (you haven’t created this page yet, but you will shortly).  For example, if your page was named site_graduation.asp, you would change o_site_blank.asp to o_site_graduation.asp to keep the file naming convention consistent.

  9. Save the page. 

  10. In the Outerweb folder, there is a file called o_site_blank.asp.  Right-click this file and choose Copy.

  11. Right-click the Outerweb folder and select Paste.

  12. The copied file will be added at the very bottom of the Outerweb folder as o_site_blank_copy(1).asp.  Right-click o_site_blank_copy(1).asp and select Rename.

  13. Rename the file by prefixing the name of your ‘main’ page with “o_”.  For example, if your main page is named site_graduation.asp, rename the outerweb file to o_site_graduation.asp

  14. Double-click the file to edit it.
    Tip:  You should never edit the o_site_blank.asp file, only a copy.  You never know when you might want to create another new page.

  15. Add any desired content (text, images, etc.) to the new outerweb page.
    Tip:  There is a horizontal gray bar in the design view.  The page title will display above this line when the page is loaded in the browser.  For the best results, add your content below this gray line.

  16. Save the page.

  17. Open the page in your web browser by entering the direct path to the page in your browser’s address bar.  For example, if the page you created was called site_graduation.asp, you would go to http://staging.prismservices.net/yourprojectname/site_graduation.asp

 At this point your page should be loading correctly in your browser, but shoppers will not be able to easily get to it without adding a link to it somewhere on your site.

First Published 06/24/2020

Edited 06/24/2020

© 2020 Nebraska Book Company, Inc.  All rights reserved.