Jump to content
Sign in to follow this  
Blesta Addons

[Plugin] Seo Tools & Sitemap Generator For Blesta

Recommended Posts

Seo Tools & Sitemap Generator For Blesta

this plugin is the unique all in one seo tools for blesta, is add seo tags and custom tags to your website without touch or hack any core file . all you need is configuring the plugin for the first time , and sleep .

with this plugin you can:

1 - Set different meta tags as you want , and insert the most important meta tags to your blesta .

2 - Generate a fully compatible sitemap and ping the search engine about the new sitemap , the plugin has a cronjob to do this task every day for you.

3 - create a fully compatible robot.txt to disallow crawling for no necessary directories .

4 - option to edit robot.txt and .htaccess from admin side, without entering in ftp mode .

5 - log all the spiders that crawling your website, and check wish spiders are crawling your blesta site .

6 - log all incoming keyword search, and see what users are searching for in search engine.

7 - add google analytics code in your blesta without changing the template files.

8 - add social tags for Facebook and twitter in your blesta pages.

9 - set permission who can manage the plugin .

10 - Email report about every sitemap generated with summary sections and urls archived .

and so many other awesome features that you should discover it your self .

Robots & Meta Configuration

Set the meta tags you want, and set Facebook Open Graph, Twitter Card, Google Analytics, and select the page you want to exclude this tags .

Sitemap Generation Configuration

Generate Sitemap , Set to compress sitemap with gz, set ping search engines, and set to make urls with https .

robots.txt & .htaccess file

edit and save robot.txt and .htaccess

Spiders Logs

check spiders activities and option to delete 1 item or empty the full logs .

Incoming Search Keywords

check incoming search keyword to your website , and option to delete 1 item or empty the full logs .

 

That not all ,  if you have a custom plugin that generate pages and want to include that page in the site map is very easy , all you need to do is create a simple file inside the model directory called "your_plugin_sitemap.php" , the Seo tools will detect it and add your url to the site map .  a sample code should be like :

<?php
class YourPluginSitemap extends SeoToolsModel 
{
	/**
	 * Initialize
	 */
	public function __construct() 
	{
		parent::__construct();
	}
	
	/**
	 * Base Urls
	 *
	 */
	public function generateSiteMap($sitemap = null)
	{
		if (!$sitemap) {
			return;
		}
		
		// Load your Model to fetch pages from database
		Loader::loadModels($this, ["YourPlugin.YourPluginModel"]);		
		// create base urls map
		$sitemap->page('your_plugin', 'My Own Plugin');
		// Get links from your databse
		$links = $this->YourPluginModel->getLinks();
			
		foreach($links as $link) {
			// Add url to sitemap
			$sitemap->url(
				$link->url, // page link , that can be a fullurl to page
				'now', // last modification time , optional
				'weekly', // How frequently the page is likely to change , this is optional
				.6 // The priority of this URL relative to other URLs on your site, optional
			);			
		}
		unset($links);
	}
}

another simple code for static custom urls

<?php
class YourPluginSitemap extends SeoToolsModel
{
    /**
     * Initialize
     */
    public function __construct()
    {
        parent::__construct();
    }
    
    /**
     * Base Urls
     *
     */
    public function generateSiteMap($sitemap = null)
    {
        if (!$sitemap) {
            return;
        }
        
		// create base urls map
		$links = $this->myLinks();
		$sitemap->page('my_links', 'Custom urls');
		foreach($links as $link) {
			$sitemap->url(
				$link['loc'], 
				$link['lastmod'], 
				$link['changefreq'], 
				$link['priority']
			);
		}
		unset($links);       
    }
	
	private myLinks() {
		return [
			[
				'loc' => "my_custom_page.html", // page without a clint route 
				'lastmod' =>  date('c'),
				'changefreq' => "weekly",
				'priority' => .5
			],
			[
				'loc' => Configure::get("Route.client") . DS . "simple_page.php", // php page with  blesta client route
				'lastmod' =>  date('c'),
				'changefreq' => "monthly",
				'priority' => .5
			],
			[
				'loc' => Configure::get("Route.client") . DS . "second_custom_page.html", // html page with blesta client route
				'lastmod' =>  date('c'),
				'changefreq' => "monthly",
				'priority' => .5
			],
		];		
	}
} 

if you want to create your own sitemap file, we can help you .

at the moment, the sitemap generated include :

1 - the base url , login/reset password page .

2 - CMS page , if installed

3 - Support departments that are public visibility  , if installed

4 - Knowledge Base Categories, articles with multiple languages if available , if installed

5 - Download Manager categories and files if they are public visibility, if installed

6 - Order Forms that are public visibility , if installed

Compatibility

the plugin is fully compatible with blesta v3, v4 .

 

Order

this  plugin requiere a the Pro (Silver) subscription .

Order Link

 

Best Regards

 

Share this post


Link to post
Share on other sites
10 hours ago, activa said:

Is this related to the non new referer info added. As for some days ago there is no more keywords and referer in the list .

Yes, just to note, google no more providing any query parameters and all thier search are now in https 

https://www.straightnorth.com/insights/approaching-darkness-google-referral-url-2016/

Share this post


Link to post
Share on other sites
On 20/11/2017 at 11:33 AM, Blesta Addons said:

Yes, just to note, google no more providing any query parameters and all thier search are now in https 

https://www.straightnorth.com/insights/approaching-darkness-google-referral-url-2016/

I see now the referrers with not provided keyword. But at least i kon from where visitor come and to wich page, now i see also social referrer like facebook and twitter..

Share this post


Link to post
Share on other sites
19 hours ago, activa said:

I see now the referrers with not provided keyword. But at least i kon from where visitor come and to wich page, now i see also social referrer like facebook and twitter..

Yes the SnowPlow class have built in for a large number of referrers.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...