Skip to content

Marten

My feedback

1 result found

  1. 20 votes

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)

    We’ll send you updates on this idea

    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Marten commented  · 

    As the Plesk-guys seems rather useless here, it's actually quite simple to override this.

    1. Identify this file:
    /usr/local/psa/admin/conf/templates/default/domain/service/seoSafeRedirects.php

    2. Comment out all relevant commands
    2a. If you don't know what you're doing, take a backup by running:
    cp /usr/local/psa/admin/conf/templates/default/domain/service/seoSafeRedirects.php /usr/local/psa/admin/conf/templates/default/domain/service/seoSafeRedirects.php.bak
    2b. Then do:
    nano /usr/local/psa/admin/conf/templates/default/domain/service/seoSafeRedirects.php
    2c. Comment out anything starting with RewriteCond or RewriteRule (Add # before the line)
    2d. Close by ctrl+x + y + enter

    3. Redo plesks vhost.conf-files:
    /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

    4. Pray to god that Plesk won't update this seoSafeRedirects.php-file without notifying you... I removed write access to it...

    Everything above assumes you are logged in as root. If you're not root, run this before everything:
    sudo -s -H

Feedback and Knowledge Base