Results 1 to 16 of 16
  1. #1
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default Need Help - WP Settings

    I messed up and changed my WordPress Address under the General Settings Tab to my main website url (xx.livecasinousa.com) when it should be xx.livecasinousa.com/blog

    Now when I try to log into my blog (WP) it is not working because it is redirecting to my website homepage. I have Wordpress installed in the /blog/ directory.

    I know I probably need to change this setting manually using Filezilla but I do not know what file I should be looking for. Can anyone help me out and let me know how I can change this setting back to what it should be without being able to log into Wordpress?

    Thanks!
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play See USAlegalcasinos.com to find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  2. #2
    allaboutthebets's Avatar
    allaboutthebets is offline Private Member
    Join Date
    February 2017
    Posts
    940
    Thanks
    905
    Thanked 420 Times in 304 Posts

    Default

    Quote Originally Posted by TravG View Post
    I messed up and changed my WordPress Address under the General Settings Tab to my main website url (xx.livecasinousa.com) when it should be xx.livecasinousa.com/blog

    Now when I try to log into my blog (WP) it is not working because it is redirecting to my website homepage. I have Wordpress installed in the /blog/ directory.

    I know I probably need to change this setting manually using Filezilla but I do not know what file I should be looking for. Can anyone help me out and let me know how I can change this setting back to what it should be without being able to log into Wordpress?

    Thanks!
    Can you do a restore from a previous version on your hosting?

  3. #3
    citizen42's Avatar
    citizen42 is offline Public Member
    Join Date
    September 2017
    Posts
    117
    Thanks
    21
    Thanked 72 Times in 43 Posts

    Default

    Code:
    define( 'WP_HOME', 'http://site.com' );
    define( 'WP_SITEURL', 'http://site.com' );
    Replace http://site.com in both instances with your actual URL (including https) and add these lines to your wp-config.php file in your website's root directory. These lines will overwrite the settings you set in dashboard and you should be able to access it.

    You can leave them there or remove after fixing the URLs in dashboard.

  4. The Following 3 Users Say Thank You to citizen42 For This Useful Post:

    fullbenefit (11 June 2020), Nenad (17 June 2020), TravG (10 June 2020)

  5. #4
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    Awesome! That worked - thanks!

    I was trying to get my blog to link to my homepage instead of the blog homepage when clicking the logo. Obviously I better just stick to what I know how to do! ha...
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play See USAlegalcasinos.com to find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  6. #5
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    New problem now. While the above did work, now I have noticed I cant login to my WordPress site. When I try to login through /wp-admin/ it just returns a blank page. It doesn't come up where I can enter my username and password.

    Anyone know a fix?
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play See USAlegalcasinos.com to find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  7. #6
    Malikbhai is offline Private Member
    Join Date
    September 2017
    Posts
    786
    Thanks
    204
    Thanked 378 Times in 247 Posts

  8. #7
    universal4's Avatar
    universal4 is offline Forum Administrator
    Join Date
    July 2003
    Location
    Courage is being scared to death...and saddling up anyway. John Wayne
    Posts
    34,042
    Thanks
    4,565
    Thanked 9,315 Times in 5,995 Posts

    Default

    Quote Originally Posted by TravG View Post
    New problem now. While the above did work, now I have noticed I cant login to my WordPress site. When I try to login through /wp-admin/ it just returns a blank page. It doesn't come up where I can enter my username and password.

    Anyone know a fix?
    Before doing ANYTHING, get a complete database dump, using phpmyadmin or cpanel tools.

    Get rid of the config redirect and change the root in the database.

    Possibly by removing the redirect in the config, you can log back in to the admin, change the root in settings (back to the way it was previously), and save it.

    At this point I would suggest ANOTHER backup of the database.

    Once you have a backup of each "state" you could then try a plugin such as 'wp migrate db" to move wordpress home references to the /blog folder.

    I have just last week taken a wp install that was in the /wp/ folder and changed the root in the database to the root web folder, then moved the entire contents of the wp folder into the root, then added the plugin I mentioned to look for additional instances that might need changed.

    Be careful not to change all instances, since references to wp-content etc are needed

    It also could be that your current admin login still has the /blog/wp-admin/ associated with it since you originally changed that in the wp settings.

    Rick
    Universal4

  9. The Following 2 Users Say Thank You to universal4 For This Useful Post:

    Cash Bonus (14 June 2020), Nenad (17 June 2020)

  10. #8
    citizen42's Avatar
    citizen42 is offline Public Member
    Join Date
    September 2017
    Posts
    117
    Thanks
    21
    Thanked 72 Times in 43 Posts

    Default

    Make sure you don't have any unnecessary/wrong/missing characters in wp-config.php
    For example, ‘ instead of ', “ instead of " or a missing semicolon at the the of a line.

    If it returns a blank page for /wp-admin/, it's most likely something like that.


    Quote Originally Posted by TravG View Post
    New problem now. While the above did work, now I have noticed I cant login to my WordPress site. When I try to login through /wp-admin/ it just returns a blank page. It doesn't come up where I can enter my username and password.

    Anyone know a fix?
    affkraft.com → WordPress Themes & Plugins for Sports, Casino and Forex Affiliates
    tablrr.app → Centralized Listing Management and Automated Sync for Affiliate Marketers

  11. The Following 2 Users Say Thank You to citizen42 For This Useful Post:

    Nenad (17 June 2020), universal4 (15 June 2020)

  12. #9
    ddm
    ddm is offline Former Member
    Join Date
    July 2006
    Posts
    1,118
    Thanks
    418
    Thanked 470 Times in 287 Posts

    Default

    just use phpmyadmin - look in your wp_options table.. the error will be apparent.. maybe pastebin it and link here .. we can have a look

  13. #10
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    Quote Originally Posted by ddm View Post
    just use phpmyadmin - look in your wp_options table.. the error will be apparent.. maybe pastebin it and link here .. we can have a look
    I cant get the screenshot to post, but for siteurl it is livecasinousa.com/ and for home it is livecasinousa.com/blog/

    Should they both be livecasinousa.com/blog/ since that is where I have WP installed?
    Last edited by TravG; 15 June 2020 at 10:39 pm.
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play See USAlegalcasinos.com to find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  14. #11
    universal4's Avatar
    universal4 is offline Forum Administrator
    Join Date
    July 2003
    Location
    Courage is being scared to death...and saddling up anyway. John Wayne
    Posts
    34,042
    Thanks
    4,565
    Thanked 9,315 Times in 5,995 Posts

    Default

    Travis please see my PM, I have a partial solution listed there.

    Rick
    Universal4

  15. The Following User Says Thank You to universal4 For This Useful Post:

    TravG (17 June 2020)

  16. #12
    citizen42's Avatar
    citizen42 is offline Public Member
    Join Date
    September 2017
    Posts
    117
    Thanks
    21
    Thanked 72 Times in 43 Posts

    Default

    In case it hasn't yet been fixed - yes, they should both be the same and remove the trailing slash, just livecasinousa.com/blog

    Quote Originally Posted by TravG View Post
    I cant get the screenshot to post, but for siteurl it is livecasinousa.com/ and for home it is livecasinousa.com/blog/

    Should they both be livecasinousa.com/blog/ since that is where I have WP installed?
    affkraft.com → WordPress Themes & Plugins for Sports, Casino and Forex Affiliates
    tablrr.app → Centralized Listing Management and Automated Sync for Affiliate Marketers

  17. The Following User Says Thank You to citizen42 For This Useful Post:

    TravG (17 June 2020)

  18. #13
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    This is finally working properly again. Thanks to everyone who lended a hand!
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play See USAlegalcasinos.com to find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  19. The Following User Says Thank You to TravG For This Useful Post:

    ddm (17 June 2020)

  20. #14
    universal4's Avatar
    universal4 is offline Forum Administrator
    Join Date
    July 2003
    Location
    Courage is being scared to death...and saddling up anyway. John Wayne
    Posts
    34,042
    Thanks
    4,565
    Thanked 9,315 Times in 5,995 Posts

    Default

    Way to go everyone who chimed in here and helped him by PM.

    That is the beauty of the GPWA, when a member needs some help, folks step up.

    Side note Travis, if you haven't gotten a backup of the database now that got things rolling the the way you want, contact me if needed, happen to help you do that and see that you can get a handle it doing it yourself regularly after any big changes.

    If you want a plugin for doing it, we had a thread here that last 4 to 6 weeks or so where it was discussed and a few were recommended. (topic might have been either backup or migration, but some of the plugins help with both)

    Rick
    Universal4

  21. The Following 3 Users Say Thank You to universal4 For This Useful Post:

    Cash Bonus (17 June 2020), ddm (17 June 2020), Nenad (17 June 2020)

  22. #15
    TravG's Avatar
    TravG is offline Private Member
    Join Date
    September 2008
    Posts
    2,069
    Thanks
    34
    Thanked 179 Times in 131 Posts

    Default

    Absolutely, that is why I love this place. People always wiling to help!

    And thanks Rick, I did backup my database, that is one of the few things I do know how to do......

    Thanks again everyone!
    Live Casino USA - the best USA live online casinos. Play USA online slots and other casino games like USA online blackjack. Play See USAlegalcasinos.com to find the best USA online casino. Want to play USA online poker? Find the best poker sites at 4DeucesPoker.com.

  23. The Following 2 Users Say Thank You to TravG For This Useful Post:

    Cash Bonus (17 June 2020), ddm (17 June 2020)

  24. #16
    Nenad is offline Public Member
    Join Date
    June 2019
    Posts
    546
    Thanks
    311
    Thanked 155 Times in 128 Posts

    Default

    Thanks everyone, now I know how to solve some problems that I have as well. This is really great community.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •