Power CMS and SEO
How do my clients manage Meta information along with page titles via Power CMS?
How do my clients manage Meta information along with page titles via Power CMS?
You can create regions in powercms and place the code in the title tag and meta tags. Here is an example:
<title><?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Resources' , 'meta-title'); ?></title>
<meta name="description" content="<?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Resources' , 'meta-description'); ?>" />
<meta name="keywords" content="<?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Resources' , 'meta-keywords'); ?>" />
The above recommendation works great but I have no source access to remove the <p> paragraph tags in the page optimization window. I have even done the FCKConfig.Format... = true change.
What can I do?
This is a side effect of using the FCKEditor. To get around this issue, when you are on the insert or the update Page, make sure to click the Source Button that on the Editor ToolBar so you can see the exact content that is going to be inserted, and remove any added p tags if the Editors adds them by default.
There is no "source" option in the "page optimization" area.
And oddly enough we have just descovered that we can not edit our original entry...
Sorry, Are you using the CMS that included in SiteSculptor?
The original post was referring to making the title, meta and keywords tags editable through PowerCMS, but if the site is created through SiteSculptor, then those tags are already editable through the page optimization page, and that page does not add <p> tags, it basically just adds the text typed.
Please post back with more information to further assist you.
We are using PowerCMS 201. However, it might be related to the fact we are using a preview DNS address because we have not transferred the URL to the new host.
OK, please let me know once you have figure out the DNS issue.
But if you are using CMS 2.0.1, then you would only see the optimization page if you are using it with Site Sculptor, in which case you should not be seeing any <p> tags because the meta and keywords fields are just text field.
But if you insert it the meta tag by creating a new region in your CMS and copied the Developer notes to your meta tags, then you can remove the <p> tags by going to the update page and clicking the Source which is located on the top left hand side on the HTMLEditor.
If you still have any questions, please send me a link to your page along with a copy of your page to further determine where the p tags are coming from.
Hi
In response to this, how do I create a new region for the Meta Tags, I have no clue how to do this and can not see any information within power CMS to on how to do it or on the Web Assist website.
I use these products because I am a designer, not developer, with no PHP programming knowledge and most of the time they work great, but things like Meta tags on new content created from a template are essential when promoting several services within a category.
It would be helpful if we could get this sorted out of the box really so people like myself don't have to keep coming back with these questions.
Cheers
Gary
Gary- this is an example from my Contact page.
<title><?php include('/home/content/99/6522799/html/cms/WA_CMS/addtosite.php'); echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Contact', 'meta-title', false); ?></title>
<meta name="description" content="<?php include('/home/content/99/6522799/html/cms/WA_CMS/addtosite.php'); echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Contact', 'meta-description', false); ?>" />
<meta name="keywords" content="<?php include('/home/content/99/6522799/html/cms/WA_CMS/addtosite.php'); echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'Contact', 'meta-keywords', false); ?>" />
--pick up an existing PHP include from one of your pages and just change the code near the end to read either "meta-title, meta-description, or meta-keywords"
BTW: went we went live with the site my problem was fixed.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.