WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Can't access dashboard: getting SSL error message

[Resolved] Can't access dashboard: getting SSL error message

Viewing 15 replies - 1 through 15 (of 20 total)
  • keesiemeijer
    moderator

    @keesiemeijer

    Try setting the urls back with one of these methods:
    http://codex.wordpress.org/Changing_The_Site_URL

    catherinelloydevans
    Member

    @catherinelloydevans

    Ok, thank you.
    My file/coding skills are very shaky and I want to make sure I don’t do anything stupid – heeding the warnings of those who rightfully say ‘don’t change the code unless you know what you are doing!’ so, with that in mind:

    1) Do you think the errors occurred because I changed the URLs then? ie that needs to be fixed? Slightly worrying that this is in a tutorial for the plugin…!
    2) Pardon the basic level of my question, but in the tutorial you’ve linked to – where do I do this change to the wp-config.php file? In the CPanel of my host, yes?
    3) If I can’t then ever change that, as it says in the tutorial, will that affect my SEO rankings? ie, if the site URL has /wp after it?

    Thanks so much for your prompt reply, I’ll wait to hear back before I make any changes, just to be on the safe side.

    Catherine 🙂

    keesiemeijer
    moderator

    @keesiemeijer

    1) Do you think the errors occurred because I changed the URLs then? ie that needs to be fixed?

    Yes.

    Slightly worrying that this is in a tutorial for the plugin…!

    For moving your WordPress install to the root of your domain try
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory.

    2) Pardon the basic level of my question, but in the tutorial you’ve linked to – where do I do this change to the wp-config.php file? In the CPanel of my host, yes?

    Yes, with the Cpanel file manager or by using FTP.

    3) If I can’t then ever change that, as it says in the tutorial, will that affect my SEO rankings? ie, if the site URL has /wp after it?

    I don’t think “wp” in the url will affect your SEO, but if you change your url (move your site) you need to re-direct the old urls with “wp” in them to their new location with a plugin or by editing your .htaccess file
    http://wordpress.org/extend/plugins/redirection/

    Do you have a link to the Yoast SEO plugin tutorial?

    catherinelloydevans
    Member

    @catherinelloydevans

    Thank you so much – that is great.
    Ok, so – when I add the pieces of code below to the wp-config.php file

    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);

    from the WP tutorial, I literally paste them to the bottom of the code in the file?
    ie this would be on lines 91 and 92 of the existing file – does that sound right?
    Obviously ensuring I use http://redkitecommunications.com instead of example.com

    A link to the tutorial: http://yoast.com/articles/wordpress-seo/#www-non-www

    catherinelloydevans
    Member

    @catherinelloydevans

    🙁
    I’ve tried adding that code to the file, but no change.

    I’m still getting an error 404 message when I try to log in using this login address
    http://redkitecommunications.com/wp/wp-admin/
    which is what I was using to access my site before…

    catherinelloydevans
    Member

    @catherinelloydevans

    🙁
    I’ve tried adding that code to the file, but no change. I changed it back just so I don’t do any other damage!

    I still got an error 404 message when I tried to log in using this login address
    http://redkitecommunications.com/wp/wp-admin/
    which is what I was using to access my site.

    There are two wp-config.php files in my directory. My primary domain is aruleoft (remember I said redkitecommunications is a subdomain)
    To break down the structure then, there are:

    home/aruleft
    – public_html
    – – wp-config.php

    and there is also

    home/aruleft
    – www
    – – wp-config.php

    where I’ve used – to show the hierarchy (sorry, not sure of the correct ways of writing these things down!)

    Both public_html and www have folders entitled cgi-bin, redkitecommunications, wp-admin, wp-content and wp-includes before then listing lots of php and other files.

    So I’m not sure which to edit?

    keesiemeijer
    moderator

    @keesiemeijer

    Did you put this in your wp-config.php?

    define('WP_HOME','http://redkitecommunications.com/wp');
    define('WP_SITEURL','http://redkitecommunications.com/wp');

    put it just before:

    /* That's all, stop editing! Happy blogging. */

    catherinelloydevans
    Member

    @catherinelloydevans

    Ok, thank you, I’ve made that change to the wp_config.php file.

    I’ve just attempted to log in using
    http://redkitecommunications.com/wp/wp-admin/

    but no joy….

    I’ve checked all the various domains (ie when I open my File Manager it gives lots of options of which directory to open – home, www, public_html etc etc) and all wp_config.php files related to redkite now contain that change.

    Any ideas?
    And thank you so much for taking the time to help me with this, I very much appreciate your efforts.

    keesiemeijer
    moderator

    @keesiemeijer

    My site will appear as ‘under construction’ at http://www.redkitecommunications.com because I installed a plugin to show that while I build it ready for launch.

    What plugin are you using?

    try:

    resetting the plugins folder by using FTP or whatever file management application your host provides. Sometimes, an apparently inactive plugin can still cause problems.

    – switching to the default theme by renaming your current theme’s folder in wp-content/themes using FTP or whatever file management application your host provides.

    catherinelloydevans
    Member

    @catherinelloydevans

    Ok, tried the resetting the plugins folder using the renaming method.
    No joy ;-(

    I’ll try your advice of switching to the default theme. I think I’m using twentyeleven at the moment – what should I rename the twentyeleven folder to??

    I notice on the same tutorial as the resetting plugins post, there is this advice (pasted below). Do you think I should be pursuing this?? I think in this case I need the help of my host! That sounds like something I could easily mess up…

    “How to fix 404 error when using Pretty Permalinks?

    If an error 404 occurs when using the Pretty Permalink choices such as Day and Name in Administration > Settings > Permalinks it could be a result of the mod_rewrite module not being activated/installed. The solution is to activate mod_rewrite for the Apache web-server. Check the apache\conf\httpd.conf file for the line `# LoadModule rewrite_module modules/mod_rewrite.so and delete the # in front of the line. Then stop Apache and start it again. Note: you may have to ask your host to activate mod_rewrite. ”

    keesiemeijer
    moderator

    @keesiemeijer

    Don’t rename twentyeleven, it is the default theme.

    WordPress still thinks the site is in: http://redkitecommunications.com/ (without the wp) so I think you’re not editing the correct wp-config.php. Remove the lines from your wp-config.php and try it with the functions.php method: http://codex.wordpress.org/Changing_The_Site_URL#Edit_functions.php

    mod_rewrite is activated If pretty permalinks worked before.

    What does http://www.communications.com/ have to do with all this?

    catherinelloydevans
    Member

    @catherinelloydevans

    Ok, I’ll try that.

    Not sure what you mean –
    What does http://www.communications.com/ have to do with all this?

    If I wrote that it’s a typo – meant to be redkitecommunications.

    catherinelloydevans
    Member

    @catherinelloydevans

    No joy with the functions.php edit either!

    I’ll doublecheck the wp-config.php files – when I checked, the changes had been made to all the wp-config.php files I could find (remember I mentioned those files exist under both www and public_html.

    But I’ll doublecheck again!

    catherinelloydevans
    Member

    @catherinelloydevans

    I’M IN!

    My eyes are nearly falling out from scouring every file in my File Manager, and looking in every domain I could find. When I go to File Manager it asks which domain I want and there are several different roots, ie aruloft/redkitecommunications, redkitecommunications and aruleoft etc
    So I went through everything with a fine-tooth comb.

    And at last, I’m back in!

    Not a mistake I’ll be making again, and I think I may uninstall that Yoast plugin now, too, in case I accidentally do anything else that dramatically affects my site.

    I’m so grateful to you for your patience, thank you very much indeed. 🙂

    keesiemeijer
    moderator

    @keesiemeijer

    You’re welcome. I’m glad you got it resolved 🙂

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Resolved] Can't access dashboard: getting SSL error message’ is closed to new replies.