Setup and install SEO
Managing your SEO with UpdateCase websites is a simple process. Simply login to our software and add / edit the meta data for each page.
-> Anything technical which is required to your website can be completed by our web development team.
# 2 > Install SEO (First time only)
NOTE: Any other advanced SEO tags please email email@example.com and we will install for you
# 3 > Press button
Next to EACH page, you can click “SEO” which will bring up the fields that you can manage.
# 4 > Edit content
-> Here you can modify the English content at the top and the French content at the bottom.
# 5 > ADD (First time only)
Simply click this button to create the field.
# 6 > Enter text and save
# 7 > Save to website
By default each time you save it is in EDIT mode and will not be displayed LIVE
To make content LIVE (available online) -> Click on "mark live"
# 8 > Push changes to website
All the changes you complete will NOT be displayed on your LIVE website until you click 'PUSH' (green button)
-> this will move all your current changes to the LIVE website for your customers to view
If you would rather send to the TEST website for internal review you can click 'TEST'
-> this will upload to your TEST website and NOT to your LIVE website.
# 9 > - - - Advanced: Programming
# 10 > Locate layout name in layout controller
Instructions to add SEO on page
To do this, there is PHP code to add in the of the web page.
How to find the tag (it is well hidden in the file tree):
In the project tree, go to app->Controller
Find the controller that has the name of the layout (in the case of UpdateCase, the controller is called “Layout02Pagescontroller”) and look for the function named “function beforeFilter()”
Between the brackets of that function, look for the variable named “$this->layout = ‘someName’” (in this case, the layout is named ‘layout_02’), this is the name of the file that contains the tag
# 11 > Locate layout name in AppController
If the variable is not defined there, go instead to the controller named ‘AppController’, the line “this->layout” will be in the beforeFilter() function of that file (in this case, it reads “$this->layout = ‘default’;”)
# 12 > Add code to tag
Open the file and add the following PhP code between the head tags:
<title><?= $updateCase->getMetaTitle(); ?></title>
<meta name="description" content="<?= $updateCase->getMetaDescription(); ?>">
<meta name="keywords" content="<?= $updateCase->getMetaKeywords(); ?>">
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">