• Hi

    Back in the day when you were called ithemes there was a setting that allowed me to change the folder directory structure of the WordPress installation. With always one eye on security I thought this would be a good idea and there has never been any problem with this ever.

    However, i have run into an issue and from an initial bit of research, this file directory might be the issue. The issue Im experiencing and assume is being caused by the directory structure is when creating a staging site with softalicious in Cpanel. None of the plugins are installed on the staging site. Some research indicates this is the likely cause.

    It appears that the feature is no longer part of your plugin settings. In my case, I think I need to have the staging site set up as I want the live site to be up. Is there any methods to restore in the plugin, workarounds or possibly letting Softalicious know the directory structure when setting up the staging site?

    Any help much appreciated.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • chandelierrr

    (@shanedelierrr)

    Hi @nofski,

    Glad you reached out!

    Can you please confirm if you are referring to the old feature of Solid Security (formerly iThemes Security) called something like?change directory name from wp-content? If so, indeed this setting has since been removed due to compatibility issues. I believe it adds these two lines within the wp-config.php file:

    define( 'WP_CONTENT_DIR', 'FILE_PATH_TO_WPCONTENT' );
    define( 'WP_CONTENT_URL', 'URL_TO_WP_CONTENT' );

    If you remove these lines, does it help revert the behavior of the installation process to normal?

    Or are you looking to retain those configurations but encounter an issue where?plugins are not installed on the staging site?created using?Softaculous in cPanel? If this is the case, can you try to adjust the paths to reflect the actual staging URL? Something like this:

    define( 'WP_CONTENT_DIR', '/path-to-custom-content-folder' );
    define( 'WP_CONTENT_URL', 'https://yourstagingdomain.com/custom-content-folder' );

    Kindly note that Solid Security posts are located here.

    Hope this helps!

    Thread Starter nofski

    (@nofski)

    Hi,

    Ahh yes that seems to have worked. I might have like to have kept that structure for additional security but the need for the staging site has become too great now. cant keep making changes and errors to the live site now.

    Copying all files back to the wp content folder and then removing those two lines seems to have done the trick.

    I will see if the staging site sets up now and feed back to you.

    Thanks

    Thread Starter nofski

    (@nofski)

    looks like it worked. staging site up and running.

    cheers

    chandelierrr

    (@shanedelierrr)

    Hi @nofski,

    That’s very awesome to hear!

    If you enjoy Solid Security and appreciate our free support, we’d love to get a kind review from you here.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.