Skip to main content
Bumped by Community user
added 379 characters in body
Source Link
Naveen
  • 1
  • 1
  • 3

While trying to move the wp-content to new folder, there is constant called WP_CONTENT_URL.

Why do we need this one? Does WP_CONTENT_DIR and WP_CONTENT_URL needs to be same?

Bcoz there are several websites which can find my wordpress themes and plugins. how do they do that?

I am trying to move move my wp-content folder so added this code in wp-config.php just above require_once( ABSPATH . 'wp-settings.php' );

define('WP_CONTENT_DIR', dirname(__FILE__) . 'server/stuffs'); define('WP_CONTENT_URL', 'https://' . $_SERVER['HTTP_HOST'] . 'server/stuffs' );

But it causes Internal server error, when I trying to access my admin page

Thanks in Advance!!

While trying to move the wp-content to new folder, there is constant called WP_CONTENT_URL.

Why do we need this one? Does WP_CONTENT_DIR and WP_CONTENT_URL needs to be same?

Bcoz there are several websites which can find my wordpress themes and plugins. how do they do that?

Thanks in Advance!!

While trying to move the wp-content to new folder, there is constant called WP_CONTENT_URL.

Why do we need this one? Does WP_CONTENT_DIR and WP_CONTENT_URL needs to be same?

Bcoz there are several websites which can find my wordpress themes and plugins. how do they do that?

I am trying to move move my wp-content folder so added this code in wp-config.php just above require_once( ABSPATH . 'wp-settings.php' );

define('WP_CONTENT_DIR', dirname(__FILE__) . 'server/stuffs'); define('WP_CONTENT_URL', 'https://' . $_SERVER['HTTP_HOST'] . 'server/stuffs' );

But it causes Internal server error, when I trying to access my admin page

Thanks in Advance!!

added 34 characters in body
Source Link
Naveen
  • 1
  • 1
  • 3

While trying to move the wp-content to new folder, there is constant called WP_CONTENT_URL.

Why do we need this one? Can others access this url Does WP_CONTENT_DIR and WP_CONTENT_URL needs to be same? Bcoz

Bcoz there are several websites which can find my wordpress themes and plugins. how do they do that?

Thanks in Advance!!

While trying to move the wp-content to new folder, there is constant called WP_CONTENT_URL.

Why do we need this one? Can others access this url? Bcoz there are several websites which can find my wordpress themes and plugins. how do they do that?

Thanks in Advance!!

While trying to move the wp-content to new folder, there is constant called WP_CONTENT_URL.

Why do we need this one? Does WP_CONTENT_DIR and WP_CONTENT_URL needs to be same?

Bcoz there are several websites which can find my wordpress themes and plugins. how do they do that?

Thanks in Advance!!

Source Link
Naveen
  • 1
  • 1
  • 3

What is the purpose of WP_CONTENT_URL?

While trying to move the wp-content to new folder, there is constant called WP_CONTENT_URL.

Why do we need this one? Can others access this url? Bcoz there are several websites which can find my wordpress themes and plugins. how do they do that?

Thanks in Advance!!