WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 5 months ago

#39095 closed defect (bug) (invalid)

Moving WP content Folder

Reported by: iamabdurrehman Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Hello,

I've one question. I was trying to move WP content folder from default WP content directory.

I followed all instructions on https://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content_folder

define( 'WP_CONTENT_DIR', dirname(__FILE__) . '/public/content' );
define( 'WP_CONTENT_URL', 'http://project.me/public/content' );

With this code I've moved wp-content folder to desired location but the problem I'm having is this that when I try to install any theme, plugin or upload any media file then it ask me FTP connection information have a look in this screenshot https://puu.sh/sFCbS/eb6b0f9d7a.png By entering info it doesn't work on both local & live web server.

How can I fix this? Where I'm making mistake?

Thanks in advance!

Regards,

Abd Ur Rehman

Change History (1)

#1 @desrosj
5 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 4.6.1 deleted

Hi @iamabdurrehman,

First, my apologies that it took so long for someone to get back to you. In the future, requests like these belong in the WordPress.org support forums.

Hopefully, you were able to figure out your issue, but from the details you provided, it seems like the folders you are now using do not have the correct owner or permissions.

Note: See TracTickets for help on using tickets.