Wrox Programmer Forums
BOOK: Professional WordPress
This is the forum to discuss the Wrox book Professional WordPress by Hal Stern, David Damstra, Brad Williams; ISBN: 9780470560549
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional WordPress section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 6th, 2019, 07:19 PM
Registered User
Join Date: Jun 2019
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Arrow Moving the wp-config.php file out of the root directory

The author mentions that moving the wp-config.php file out of the root WordPress directory is a good security measure, making it nearly impossible to potentially access this file from a web browser.

When I upload my WordPress files to my server, I place all the files in the root directory. What would be an example of doing what the author says?

Would you put your site in a /mysite folder and put the wp-config.php right beside it.

How could you still serve your site if it was inside a folder inside your root directory and not all the files themselves as I stated I do above?

What configuration would you have to change to take this security measure?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving child nodes to previous occurrance of the root node LearnerP XSLT 2 April 9th, 2012 04:24 AM
Moving server root outside virtual machine centaury Internet Information Services 3 October 7th, 2008 12:10 AM
Moving the MySQL Database Root Directory miguelm BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 February 26th, 2005 02:13 PM
Root Directory Chudz BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 July 11th, 2004 03:13 PM
Get IIS root directory from VB.NET weichunglow Pro VB.NET 2002/2003 0 June 16th, 2004 09:39 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.