Skip to main content

pkgacct htaccess failed

Comments

3 comments

  • cPanelMichael
    Hello, That step of the backup process ensures the .htaccess file is supported if the account is restored on a different environment (e.g. different default PHP version, EasyApache 3). Could you let us know the full contents of the .htaccess file utilized by that account (ensure to remove references to real domain names)? Thank you.
    0
  • hinhthoi
    Hi, Here is the content of the htaccess file # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] # END WordPress # BEGIN MainWP RewriteEngine On RewriteBase / RewriteRule ^wp-content/plugins/mainwp-child/(.*)$ /wp-content/plugins/THIS_PLUGIN_DOES_NOT_EXIST [QSA,L] # END MainWP So, if the new server has different default/easyapache 3 versions, the actual htaccess file should still be restored (it may or may not work, but the physical file should be restored, is it correct?) Thank you!
    0
  • cPanelMichael
    Hello, Yes, the .htaccess file should still be included in the archive and restored as-is based on the logs you provided. Thank you.
    0

Please sign in to leave a comment.