Array
(
    [0] => Warning
    [1] => Undefined array key "language"
    [2] => /home/whmcsdev/public_repo/wbteampro.major-release/installation/modules/addons/wbteampro/initialize.php
    [3] => 282
)
Array
(
    [0] => Warning
    [1] => Undefined property: stdClass::$state
    [2] => /home/whmcsdev/public_repo/wbavatax.master/installation/modules/addons/wbavatax/hooks.php
    [3] => 942
)
Array
(
    [0] => Deprecated
    [1] => htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
    [2] => /home/whmcsdev/public_repo/wbavatax.master/installation/modules/addons/wbavatax/hooks.php
    [3] => 279
)
How can I rename the wbteampro.php script file? - Knowledgebase - WHMCS Dev
Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

How can I rename the wbteampro.php script file? Print

  • 2

The wbTeamPro system uses two different request urls, one for the client area and one for the admin area.  Both are named wbteampro.php, which is used throughout the system for link building and cannot be changed.  You can however use a URL rewrite rule in the APACHE environment to mask the wbteampro.php filename in the URL, allowing your setup to masquerade using any filename of your choosing.  To do this you will need to perform the following updates, which for this example are using "myprojects.php" as the new filename:

  1. Create or Update your .htaccess file in your whmcs root folder.  Add the following lines to the file, and change "myprojects" to the name of your choosing:

    {whmcs}/.htaccess
    # Rename wbTeamPro.php
    RewriteEngine On
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{REQUEST_URI} ^/wbteampro\.php.*
    RewriteRule (.*) /myprojects.php [R=301,L]


  2. Create the new php file that will "wrap" the existing wbteampro.php file in your whmcs root folder.  Add the following lines to the wrapper file:

    {whmcs}/myprojects.php
    <?php
    include('wbteampro.php');


With those steps completed you should now be able to visit your website and use the new pseudo name to masquerade the new url.
http://www.youwebsite.com/myprojects.php

 


Was this answer helpful?

« Back

Powered by WHMCompleteSolution