Sathiswarar Karunakarn
New Pleskian
Hi, i've installed wp on my domain and everything worked fine. But i did some custom coding for security purposes and it broke the wp instance every time, I change the wp-content folder and uploads folder then used the following code in wp-config:
define ('WP_CONTENT_FOLDERNAME', 'content');
define ('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME);
define ('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . '/');
define ('WP_CONTENT_URL', WP_SITEURL . WP_CONTENT_FOLDERNAME);
define ('UPLOADS', 'content/images');
Maybe I shouldnt do this because it affects the core of Plesk? Is there anything else i can do?
define ('WP_CONTENT_FOLDERNAME', 'content');
define ('WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME);
define ('WP_SITEURL', 'https://' . $_SERVER['HTTP_HOST'] . '/');
define ('WP_CONTENT_URL', WP_SITEURL . WP_CONTENT_FOLDERNAME);
define ('UPLOADS', 'content/images');
Maybe I shouldnt do this because it affects the core of Plesk? Is there anything else i can do?