I think you mean you just want to convert the anchor url from https to http? Then you could do <?php echo str_replace( 'https://', 'http://',$this->getDeleteUrl()) ?> Chaning the base url in the database programatically can also be done but it is probably a very **bad idea**.