Creating and Managing Ranking Pages


With AutoRank PHP is is possible to create many ranking pages, and you can add or remove ranking pages at any time. You can limit your ranking pages to a specific category, or have them rank sites in all categories. You are also not limited as to what ranks can be displayed on a specific page. If you want to create ten pages that all show the top 15 sites you can do that.

Adding a Ranking Page

To add a new ranking page locate and click on the Manage Pages link in the Ranking Pages section of the control panel menu. AutoRank PHP will load a page where you will be able to see and edit your existing pages (if any) and add new pages. You should see a box labeled 'Add Pages' and this is where you can add a new ranking page. Through this interface you can add a single page or multiple pages at once.

Once you have added a page you will need to setup it's template to control how many and what ranks are displayed on the page and to setup your customized page layout. Each new page that is created will use the default template included with the software until you modify it.

To add a single page, fill in the Identifier field with a short string that you want to use to identify the page. Note that this identifier will appear in the page URL, so you should select something that is intuitive for your users. Leave the Subpages option set to zero and then select the category for this new page. If you select Mixed, this page will show sites from all categories. If you select a specific category, only sites from that category will be displayed. Once you have those fields filled in, click on the Add Page button. AutoRank PHP will return you to the same page and you should now see the new page listed in the drop down selection field in the box labeled 'Existing Pages'. From here you can use the Edit Templates interface to adjust the HTML for the newly created page.

To add multiple pages you will follow basically the same procedure, except that you will need to select a value other than 0 for the Subpages option. The Subpages option tells AutoRank PHP how many additional pages to create with this same identifier format. If you select 1 for the Subpages option, AutoRank PHP will create two new pages, one with the identifier you specified and an additional one with a number at the end of the identifier to indicate that it is a subpage. For example, if you enter a identifier of mainpage and set the Subpages option to 2 the following ranking pages will be created: As you can see this created the identifier you specified and 2 subpages. There is really nothing special about a subpage other than the fact that it was automatically numbered by AutoRank PHP. You are not restricted to any specific ranks on your subpages, it is just a generic name that we use for numbered pages based on the original identifier.

What if you already have mainpage, mainpage2, mainpage3 and you want to add mainpage4, mainpage5, and mainpage6? You can do this by entering mainpage4 in the identifier field and select 2 subpages. AutoRank PHP will know to start the numbering of the subpages based on the number you use in your identifier.

Forward Page Setting

When you are creating new pages or editing an existing page, you will have the ability to set the Forward Page option to yes or no. This setting is used in conjunction with the 'Forward surfers to the category ranking page of the site they came from?' option in the Edit Options interface. If you do not have that box checked, you can ignore this setting. However, if you do have that box checked you will need to specify one page for each category that is designated as the forward page. Only one page per category can be a forward page, and it is not possible for a Mixed category page to be a forward page. This setting tells the software that this is the page surfers should be forward to for the specified category.

The Default Ranking Page

You may have noticed that when you first installed the software on your server a page was created for you with the identifier 'default'. The page with identifier 'default' has a special meaning for the software, so we highly recommend that you always keep a page with that identifier available. When someone accesses your index.php page (which handles displaying of the ranking pages) they will normally pass a value to that script which tells it which page to display. For example, if they access it as index.php?p=main the software will show the ranking page that has 'main' as it's identifier. If they access the index.php page without that information, they will get an error message unless you have a page defined with indentifier 'default'. When someone accesses the index.php page directly, the page with identifier 'default' will be displayed.

Editing A Page

If you want to change the identifier or category of an existing page you can do that through the Manage Pages interface. At the top of the page from the box labeled 'Existing Pages' select the page that you want to edit and press the Edit button. A small window will pop up where you can edit the identifier, category and forward settings. Once you have made the changes you want, press the Update Page button.

Once you are done editing a page you should run the Rerank Member Accounts so that the software knows to create the new ranking page the next time a surfer requests it.

Deleting A Page

If you want to delete an existing page you can do that through the Manage Pages interface. At the top of the page from the box labeled 'Existing Pages' select the page that you want to delete and press the Delete button. A small window will pop up asking you to confirm the deletion. If you click Ok the page will be deleted and you will be returned to the Manage Pages interface. When you delete a page it's template will be deleted but the actual ranking page will not be affected. If you want to keep the template, be sure to make a copy of it before you delete the page.