define('DISALLOW_FILE_EDIT', true); define('DISALLOW_FILE_MODS', true); Blog | WP Hosting

Blog

You are the best!

Posted by on 11:57 pm in Testimonials | 0 comments

Many thanks for rescuing me from a week of WordPress trauma today – you are the best. Emily

read more

How to edit your network connection settings from the command line in CentOS 7

Posted by on 8:27 pm in Knowledge Base | Comments Off on How to edit your network connection settings from the command line in CentOS 7

CentOS 7 has a very funky text-based user interface that allows editing several important network connection settings. It’s called nmtui. Type the command without any parameters to get started: nmtui Now use this handy interface: Your system may require a full restart for all settings to take affect. https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Networking_Config_Using_nmtui.html

read more

How to allow resuming FTP uploads in Plesk and ProFTP

Posted by on 8:15 pm in Knowledge Base | Comments Off on How to allow resuming FTP uploads in Plesk and ProFTP

ProFTP has a handy feature that lets uploads resume if they were interrupted, much like Safari downloads. This feature has to be enabled both on the server and the client. By default however, resuming uploads are disabled for security reasons – a wise precaution if anonymous uploads are allowed to a server. Here’s how to enabled it. Plesk uses ProFTP, and all we have to do is add a couple of lines to the /etc/proftpd.conf file. Anywhere will do, as long as it’s outside the “global” tags: # allow resuming file...

read more

How to allow resuming FTP uploads in Plesk and ProFTP

Posted by on 8:15 pm in Knowledge Base | Comments Off on How to allow resuming FTP uploads in Plesk and ProFTP

ProFTP has a handy feature that lets uploads resume if they were interrupted, much like Safari downloads. This feature has to be enabled both on the server and the client. By default however, resuming uploads are disabled for security reasons – a wise precaution if anonymous uploads are allowed to a server. Here’s how to enabled it. Plesk uses ProFTP, and all we have to do is add a couple of lines to the /etc/proftpd.conf file. Anywhere will do, as long as it’s outside the “global” tags: # allow resuming file...

read more

How to move the vhosts directory in Plesk

Posted by on 8:39 pm in Knowledge Base | Comments Off on How to move the vhosts directory in Plesk

The default directory for all web files in Plesk on Linux is /var/www/vhosts. Usually this works well, but if you’d like to use another partition instead, you’ll be pleased to hear that you can! Parallels (or Odin as we call them now) have written a handy script which moves the content and patches the relevant configuration file and copies all content at the same time. The script is called transvhosts and you can download it here: http://kb.odin.com/en/1186 Download it using wget and make the file executable: wget...

read more

How to show file extensions in Windows

Posted by on 7:55 pm in Knowledge Base | Comments Off on How to show file extensions in Windows

There are several ways to make the Windows Explorer show full file extensions. The most consistent method I like to use is the following: Windows 7 and 8 click Start to find a Search Box type Folder Options and select it click the View Tab find the option “hide extensions for known file types” untick it and hit apply Windows 10 click Start to find a Search Box type File Explorer Options and select it select the View Tab find the option “hide extensions for known file types” untick it and hit apply

read more

How to disable the WordPress Theme and Plugin Editor

Posted by on 3:00 pm in Knowledge Base | Comments Off on How to disable the WordPress Theme and Plugin Editor

One of my readers had a mysterious problem: the WordPress Editor was not showing up under Appearance or Plugins. It’s a handy tool for quick edits to any plugin or theme file, and I’ve relied on it more times than I can count. Having it enabled is a double-edged sword of course, because with great power comes great responsibility too: make a change to a plugin file and accidentally remove a semicolon from the end of a line, and your WordPress site will go down – and the best minds will have a hard time tracking the problem...

read more

How to show hidden files in the Mac Finder

Posted by on 7:23 pm in Knowledge Base | Comments Off on How to show hidden files in the Mac Finder

Hidden files start with a . on UNIX like systems and OS X is one of them. While we can show hidden files in a Ternimal session by using something like ls -a, it’s not so easy to convince the Finder to show such files. If ever you need to see them, execute the following from the command line: defaults write com.apple.finder AppleShowAllFiles YES Now relaunch Finder ALT-right-clicking the Finder icon in the dock. Choose Relaunch. Next time you open a Finder window – either on its own or via an app – you’ll see all kinds...

read more

Parallels Cloud Services changes into Odin

Posted by on 1:29 pm in Knowledge Base | Comments Off on Parallels Cloud Services changes into Odin

Parallels have announced this week that they’ve changed their name to brand cloud services from Parallels to Odin. This blog post has more details: http://blog.odin.com/serviceprovider/2015/3/24/weve-changed-our-name-parallels-service-provider-business-is-now-odin#.VRVXAVz-_68= While I dislike change for the sake of change, I believe that it makes a lot of sense in this case. I have been working with Parallels products since 2008, and when I started out I always thought there was a dissociation between the consumer products, such as...

read more

How to find the UUID of a disk drive in Linux

Posted by on 4:36 am in Knowledge Base | Comments Off on How to find the UUID of a disk drive in Linux

There are two ways I know of which will print the UUID of all disk drives attached to the current system: blkid /dev/sr0: UUID="2014-12-02-19-30-23-00" LABEL="CDROM" TYPE="iso9660" /dev/sda1: UUID="ae55a647-3c57-4ab5-9651-1389703fe6fe" TYPE="ext4" /dev/sda2: UUID="bMtCfO-zpDU-7U1t-DcHg-Fe9p-Cy1K-Se0e1I" TYPE="LVM2_member" /dev/sdb1: UUID="0982ce66-537a-497b-baaf-99136594f3e8" TYPE="ext4" /dev/mapper/VolGroup-lv_swap:...

read more