setting_page_urls.rst 1.8 KB

123456789101112131415161718192021222324252627
  1. Setting Page Titles and URLs
  2. =============================
  3. Tripal allows for Page Titles and URLs to be set within the Tripal Content type editing interface. This provides the ability to construct consistent url patterns and titles across your site.
  4. Setting Page Titles
  5. -------------------
  6. Page titles can be set within the edit mechanism of the Tripal Content type. This can be found on the **Structure → Tripal Content Types** and click the **edit** link for the desired content type. Scroll to the bottom of the page to the **Page Title options** tab.
  7. .. image:: ./setting_page_urls.1.png
  8. The page title format can be generated using a combination of token. When titles are generated for a new page, the tokens are replaced with the appropriate field values to which they refer. A list of available tokens can be found under the **Available Tokens** link.
  9. .. note::
  10. We recommend you choose a combination of tokens that will uniquely identify your content.
  11. If you already have content within your site and need to update all page titles you can choose to **Bulk update all titles**. This will update all titles for the existing content that belong to this type. If your title is used to build your alias you will also need to **Bulk update all aliases**.
  12. Setting URLs
  13. ------------
  14. URLs, also known as aliases, can be found just by selecting the **Page Title options** tab. The URL pattern can be generated using a combination of token. The tokens can be found under the **Available Tokens** link. If you already have content within your site and need to update all URLs you can choose to **Bulk update all aliases**. This will update all existing URLs for all pages of the content type . It will also create redirects from the old URL to the new URL to ensure 404s and broken links are not created.
  15. .. image:: ./setting_page_urls.2.png