Url Rewriting In Cs-Cart

Hi there,

We want to rename the vendor login from www.storename.com/vendor.php to something like vendor.storename.com



How can we perform such changes?

[quote]We want to rename the vendor login from www.storename.com/vendor.php to something like vendor.storename.com



How can we perform such changes?[/quote]



The instructions are the same as for the admin index:




  • Rename the vendor.php file located in the root directory of your CS-Cart installation.
  • Edit the config.local.php file located in the same directory by replacing the following line of the code:


$config['vendor_index'] = 'vendor.php';



with this one:


$config['vendor_index'] = 'vendor8765.php'



where vendor8765.php is the new name given to the admin.php file.

  • Save the file.
  • Clear the template cache. In order to do it, in the administration panel go to Administration > Storage and choose the Clear cache tab.

Hey eComLabs,

We don't want to rename that file. Instead we want to change the url such that we use the sub-domain instead.

Like

www.cs-cart.com/vendor.php should be vendor.cs-cart.com

Bump. e-comLabs, any suggestion?

[quote name='NaMo' timestamp='1412232079' post='193243']

Bump. e-comLabs, any suggestion?

[/quote]



Hope it is possible. But we cannot generate an instruction for you on-the-fly.

Yes we have seen it.

See this

It is made on cs-cart

Yes we also want this ??