Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I once use Better WP Security to change "/wp-content" folder name to "/media", and now I'm moving my whole site from localhost to a web server.

I used WordPress Duplicator plugin. It worked fine. I can enter to Admin panel and the database is right.

However, "/media" isn't recognized (no plugins, themes, languages, etc) so I've realized I had to change in my new wp-config.php the part where the WP_CONTENT_URL and WP_CONTENT_DIR is set, but it still isn't recognized!

before:

define( 'WP_CONTENT_DIR', 'D:\wamp\www\fdp/media' );
define( 'WP_CONTENT_URL', 'http://localhost/fdp/media' );

now:

define( 'WP_CONTENT_DIR', '/home/b7000173/public_html/fdp/media' );
define( 'WP_CONTENT_URL', 'http://b7000173.ferozo.com/fdp/media' );

My root folder is /public_html (and it's a shared hosting). Wordpress is installed in /fdp folder.

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.