Can i make a webpage.htm not .php in yola pro

  • 1
  • Question
  • Updated 9 years ago
  • Answered
i have upgraded my account to yola pro. can i now make webpage with .htm not with .php
Photo of Youssef Yassin

Youssef Yassin

  • 19 Posts
  • 0 Reply Likes
  • confused

Posted 9 years ago

  • 1
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello Youssef,

With Yola Pro you can upload a .htm file into the File Manager, but it is not easily possible make this .htm an actual page on your top level navigation. For a page to work in Yola, it needs to be built using the Yola Widgets.

But, one way to make the .htm file create a top level page on your navigation would be to cause your menu link to open the file in the File Manager, but this will require adding some HTML to your page.

Here's what you need to do:

1. Create a new page with the name of the site you want to link to.

2. Drag and drop an HTML Widget onto your page and paste in this code:
<!--
<meta http-equiv="refresh" content="2; url=resources/file.htm">
-->

*Please leave out the <!-- at the beginning and the --> at the end.

- "2" is how many seconds it waits before it redirects - you can change this number. Once you add this code to your page in the Site Builder it will cause the Site Builder page to redirect as well.
- "url" is the URL it redirects to, so, replace the URL in the above tag with the one for the site you want to link to which would be: http://mysite.com/resources/file.htm (substituting your information).

Another option is that you can link to your .htm file and it would open like any other file does. The reference for the .htm file the link would look like this: http://mysite.com/resources/file.htm

To create a link in a Text Widget:

1. Drag a Text Widget onto the page
2. Type the text you want to be the link
3. Click on the Link Editor icon on the Edit Toolbar
4. Choose the file from your File Manager

That link will now link to your .htm file in the File Manger.

You could also add it to the page using the File Widget and it would open as any other file does. The File Widget is located on the Content Sidebar. When you drag it onto your page you will be able to choose to add the file from your File Manager or from your computer.

Please let us know if you have any trouble with this.

Emmy
Photo of Youssef Yassin

Youssef Yassin

  • 19 Posts
  • 0 Reply Likes
thank you