wordpressapachealiaseasyphp

How to prevent EasyPHP DevServer 16 to add prefix 'edsa' for alias


I'm coming from EasyPHP DevServer 14, with a lot of websites developed for many customers, and I used to have a custom alias 'workspace', but now, in EasyPHP 16, they made obligatory the use of a prefix 'edsa' in every defined alias, breaking my WordPress installations. How could I solve that?


Solution

  • It seems to be hardcoded in a code (...), but fortunately the code is in php, so you can just edit it out and be OK (until the update I guess). Go to the eds-dashboard subdirectory and edit the index.php file.

    In the current version (17), the code is on the line 95:

    $new_alias[0]['alias_name'] = 'edsa-' . $_POST['alias_name'];
    

    Just remove the silly part from it

    $new_alias[0]['alias_name'] = $_POST['alias_name'];
    

    save the file and you should be done.

    Tested on windows