PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • This lesson will teach you the following concepts
  • Overview
  • Reminder : AWP mode
  • The available methods
  • Referencing wizard
  • Properties of pages
  • Update frequency
  • Importance in the site
  • Navigation map
  • Physical naming of pages
Lesson 5.6. The referencing
This lesson will teach you the following concepts
  • Referencing wizard
  • Properties of pages
  • Navigation map
  • Physical naming of pages

Estimated time: 20 mn
Previous LessonTable of contentsNext Lesson
Overview
This lesson presents the best practices to adopt in order for your Internet site to be properly referenced by the search engines. Indeed, having an Internet site is a good thing, but having a well-referenced site is even better!

Note

This section concerns the developers of Internet sites only. The referencing is not essential if you are developing an Intranet site.

Answer

If you did not perform the operations in the previous lessons, you can follow this lesson by opening a corrected project: on the "Home" pane, in the "Online help" group, expand "Tutorial" and select "Full WEBDEV site (With pages)"

Reminder : AWP mode

At the beginning of this tutorial, we presented the differences between a WEBDEV site in Classic mode and a WEBDEV site in AWP mode.
Only the AWP mode allows you to have page URLs that are independent, fixed and directly addressable.
To be referenced, an Internet site must necessarily be developed in AWP mode.

The available methods

To help you optimize the referencing of your AWP pages, WEBDEV proposes several tools:
  • A referencing wizard.
  • The properties of pages.
  • The site map path.
We are going to present these different methods.
Referencing wizard
WEBDEV is supplied with a referencing wizard.
  • To start this wizard, in the ribbon, on the "Project" pane, in the "Web" group, expand "Referencing" and select "Optimize the referencing".
The wizard proposes tips for optimizing site referencing. The most important tips are as follows:
  • Title of pages: The title of pages must reflect the content and contain the important keywords. The page title is defined in the description window of the page, for each language.
  • Keywords of pages: We advise you to associate keywords with a page. To define these keywords:
    • Display the description window of "PAGE_List_of_new_products" page: display the popup menu and select "Description".
    • Display the "Details" tab.
    • In the "Referencing" section, click "Edit the expressions and keywords".
  • Alternative text: The alternative texts are used to replace images when these ones are not displayed (because the Web user explicitly asked not to display the images, because they are not loaded yet, because the Web user is using a browser in text mode or because a screen reader for partially sighted person is used).
    The alternative texts describe the image and they are indexed by the search engines. Therefore, they must be chosen with great attention.
    The alternative text of an image is defined in the description window of Image control, in the "Help" tab.
Properties of pages
As already seen, the referencing wizard indicates several modifications that can be performed in the description window of pages:
  • Page title,
  • Keywords of pages, ...
Other properties that influence the referencing can be defined in the description window of the page:
  • Update frequency,
  • Importance in the site.

Update frequency

The update frequency tells the search engine how often the page should be reindexed.
Whenever possible, you should indicate a frequency close to reality:
  • If the page changes more often that what is specified, some versions may not be indexed.
  • If the page changes less often, the operation performed by the search engine will induce an unnecessary load on the server and the re-indexing may be penalized.

Importance in the site

This criterion allows the search engine to identify the page that will be proposed first to the Web user when several site pages correspond to a search.
Navigation map
The site map path defines the organization of your site. In referencing, it has two uses:
  • allow you to display the "Site map" control to guide the Web users within the site.
  • generate the sitemap.xml file.
  • To define the site map path:
    1. In the ribbon, on the "Project" pane, in the "Web" group, click "Site map path".
    2. A window is opened, allowing you to build the tree structure of your site. An automatic build mode can help you create a tree structure by automatically detecting the links between pages. The site map path can be configured later.
  • The sitemap file is automatically built by WEBDEV from the site map path. It is generated in the _WEB directory of your site and it is named _sitemap.xml.
The sitemap.xml file must be supplied to the tools for webmasters of search engines so that they can index the content of your site.
Physical naming of pages
To improve even more the referencing, you have the ability to define the physical name of AWP pages so that it is different in every language (and different from the logical name as well).
For example, a page displaying a sales dashboard whose logical name (the name used in programming) is PAGE_SalesDASH can be generated in French in the ‘tableau-de-bord-ventes.awp' file and in English in the ‘sales-dashboard.awp' file.
  • To configure the generation name of a page:
    1. Display the description window of "PAGE_List_of_new_products" page.
    2. In the "General" tab, click the "Language" button ( ) on the right of "Generated file" control.
    3. A window used to configure the name of generated pages is displayed:
    4. You can change the page name and validate.
Previous LessonTable of contentsNext Lesson
Minimum version required
  • Version 23
Comments
Click [Add] to post a comment