Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Change The Vendor Register Page To "index" Rate Topic   - - - - -

 
  • Enew
  • Senior Member
  • Members
  • Join Date: 22-Oct 14
  • 192 posts

Posted 14 August 2015 - 03:44 AM #1

Hello

Does something know how to change the vendor register page "noindex" to "index" please?
because with noindex, Google will be never index this page, and not easy to get more vendor.

please see the image for detail!

Thank

Franck

Attached Thumbnails

  • noindex apply to a vendor page.jpg


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21883 posts

Posted 14 August 2015 - 05:51 AM #2

app\addons\seo\schemas\seo\indexation.php

replace:

if (fn_allowed_for('MULTIVENDOR')) {
    $schema['companies.apply_for_vendor'] = array(
	    'noindex' => true
    );
}

with

/*
if (fn_allowed_for('MULTIVENDOR')) {
    $schema['companies.apply_for_vendor'] = array(
	    'noindex' => true
    );
}
*/

Then clear cache
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Enew
  • Senior Member
  • Members
  • Join Date: 22-Oct 14
  • 192 posts

Posted 15 August 2015 - 04:41 PM #3

app\addons\seo\schemas\seo\indexation.php

replace:

if (fn_allowed_for('MULTIVENDOR')) {
	$schema['companies.apply_for_vendor'] = array(
		'noindex' => true
	);
}

with

/*
if (fn_allowed_for('MULTIVENDOR')) {
	$schema['companies.apply_for_vendor'] = array(
		'noindex' => true
	);
}
*/

Then clear cache

Hi, I have this: "objects.php" on the seo file only, there is don't have the indexation.php in the ftp and file on the admin backoffice, can you check again if something wrong please?

Thank a lot!

Franck

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21883 posts

Posted 17 August 2015 - 09:31 AM #4

In the old versions open the objects.php file and replace:

'indexed_pages' => array(
		    'companies.view' => array(
			    'index' => array('company_id')
		    ),
	    )

with

'indexed_pages' => array(
		    'companies.view' => array(
			    'index' => array('company_id')
		    ),
            'companies.apply_for_vendor' => array()
)

(!) Not tested
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • Enew
  • Senior Member
  • Members
  • Join Date: 22-Oct 14
  • 192 posts

Posted 18 August 2015 - 06:37 PM #5

In the old versions open the objects.php file and replace:

'indexed_pages' => array( 'companies.view' => array( 'index' => array('company_id') ), )
with
'indexed_pages' => array( 'companies.view' => array( 'index' => array('company_id') ), 'companies.apply_for_vendor' => array() )
(!) Not tested

Thank for your help!!!

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21883 posts

Posted 19 August 2015 - 08:31 AM #6

You are welcome!
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)