close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

<?php WA_manageSEO(); ?>

Thread began 9/06/2014 4:23 am by mrs | Last modified 10/22/2014 9:17 am by Jason Byrnes | 1771 views | 5 replies |

mrs

<?php WA_manageSEO(); ?>

<?php WA_manageSEO(); ?>

What is this code for?

Is it actually for website SEO to improve google rankings, or is it just coincidental that SEO has been used as a name?

If it is for improving the likes of google rankings (page title, keywords and descriptions), then I don't seem to have any correlating database content.

Thanks.

Mat

Sign in to reply to this post

Jason ByrnesWebAssist

It allows you to manage the the SEO Content for a page using Live Edit IF you have configured the SEO content ares for the page.


Create CMS content areas for a page named:
meta-title
meta-keywords
meta-description

then use those content areas for the title description and keywords tags:

<title><?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'untitled24', 'meta-title', true); ?></title>
<meta name="keywords" content="<?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'untitled24', 'meta-keywords', true); ?>">
<meta name="description" content="<?php echo WA_getCMSContent($database_PowerCMSConnection, $PowerCMSConnection, 'untitled24', 'meta-description', true); ?>">



when you access the page while logged in as admin to trigger live edit, there will be a Manage SEO button allowing you to change the Tile, description, and keywords content for that page.

Sign in to reply to this post

SPT

What goes in the : 'untitled24' area?

Sign in to reply to this post

Jason ByrnesWebAssist

the name of the content that the meta-title, keywords and description areas being to.

Sign in to reply to this post

SPT

That's a really cool system!!

I did find - and only saying because it might help the next guy.

I usually just create all of the content areas within the online editor and the use the developer notes to paste in the various areas on the page for content (works way faster).
However if you are going to use the SEO system at least once you need to use the WA "Add Content to PowerCMS" within Dreamweaver or else the needed codes will not be present and the page will not load if you only paste the code block Jason so kindly showed above.

Or just add the code: <?php require_once("WA_CMS/WA_CMS.php"); ?> to the head and <?php WA_manageSEO(); ?> to the body....and of coarse the seo block to the head Jason shows above.

Correct me if I am wrong.

These things are not present in the Help documentation that I could find.

Sign in to reply to this post

Jason ByrnesWebAssist

Yes, that is true, if you add the developer notes by hand, you will also need to add the so tag in the body.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

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.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...