| Server IP : 92.204.28.36 / Your IP : 216.73.217.69 Web Server : Apache System : Linux sxb1plmcpnl510317.prod.sxb1.secureserver.net 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : f981716tud7w ( 9071646) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/f981716tud7w/www/ |
Upload File : |
#!/bin/bash
# Remove old staging files, create fresh directory
chmod 777 -R /home/f981716tud7w/www/staging.dragonloretours.com/
rm -rf /home/f981716tud7w/www/staging.dragonloretours.com/
mkdir -p /home/f981716tud7w/www/staging.dragonloretours.com/
# Copy live site www files to staging
cp -Raf /home/f981716tud7w/www/dragonloretours.com/www/* /home/f981716tud7w/www/staging.dragonloretours.com/
# Replace wp-config for staging
rm /home/f981716tud7w/www/staging.dragonloretours.com/wp-config.php
cp /home/f981716tud7w/www/useful/staging-wp-config.php /home/f981716tud7w/www/staging.dragonloretours.com/wp-config.php
cp /home/f981716tud7w/www/dragonloretours.com/www/.htaccess /home/f981716tud7w/www/staging.dragonloretours.com/
# File permissions
find /home/f981716tud7w/www/staging.dragonloretours.com -type d -exec chmod 755 {} \;
find /home/f981716tud7w/www/dragonloretours.com/www -type f -exec chmod 664 {} \;
find /home/f981716tud7w/www/staging.dragonloretours.com/ -iname "*.php*" -exec chmod 600 {} \;
chmod 444 /home/f981716tud7w/www/staging.dragonloretours.com/.htaccess
chmod 444 /home/f981716tud7w/www/staging.dragonloretours.com/wp-config.php