Website redirect doesn't allow '&'

Discussion in 'ISPConfig 3 Priority Support' started by Tomislav Aurednik, Oct 5, 2017.

  1. Hello,
    I'm trying to redirect a website to another website like this:
    https://www.first_domain.tld/ -> https://www.second_domain.tld/foo&poo/

    and the ISPConfig returns a message:
    "Invalid redirect path. Valid redirects are for example: /test/ or http://www.domain.tld/test/"

    If I remove the '&' it does accept the site, but sadly that's then not the correct URL,

    I do know that I could use the HTML redirect, but that then means that I need to have files for the first domain, which isn't very convinient .
    And I'm guessing, using a url modifier like Google's url shortener, could work, but I don't want to do that, for obvious reasons.

    Thanks,
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can set the redirect directly in a .htaccess file or in the apache or nginx directives field of the website.
     
  3. Thank you, will take a closer look!
     

Share This Page