• Resolved hellopeople123

    (@hellopeople123)


    Hi,

    I’m not sure what I did, but after I created a WP account here, I suddenly have a wp redirect when I try to log in in my admin console. . It might have to do with my website in editing mode. I don’t know why it happened, all I know I can’t get into my website by logging into admin or by my ftp program (in cpanel as well.) I don’t know where to find the redirect code to get it out, It’s like my website has been hacked. I hope someone here can help me out. I’m not sure if I explained this problem well.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Creating an account on wp.org has nothing to do with your website. Where do you get redirected when you attempt to login?

    Also, it seems that your theme is trying to load assets from wp.org onto your site, which is wrong!

    frenchgen.com/:2837 Unsafe attempt to load URL https://www.ads-software.com/wp-content/themes/gambit2/assets/icons/genericons-neue.svg from frame with URL https://frenchgen.com/. Domains, protocols and ports must match.
    frenchgen.com/:2837 Unsafe attempt to load URL https://www.ads-software.com/wp-content/themes/gambit2/assets/icons/genericons-neue.svg from frame with URL https://frenchgen.com/. 

    Thread Starter hellopeople123

    (@hellopeople123)

    Hi Harish,

    Thank you for reaching out. When I log in, it takes me right to the WordPress website. Do you think reinstalling WP would solve the problem?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Oh, I see. What happens at https://frenchgen.com/wp-login.php I can see what happens at wp-admin. Did you set up any redirects?

    Thread Starter hellopeople123

    (@hellopeople123)

    Hi Steven,

    When I attempt to login from the admin.php option, it takes me to my WP account page

    https://profiles.www.ads-software.com/hellopeople123/

    When I try to login via wp-admin of website, the login page shows up as as a redirect WP log in, and once I log in, it redirects me to the front page of WP.

    What should I do about the other problem? Delete the theme?

    And, no, I did not set up the redirects! That is why it’s so puzzling.

    I want to save the extra css additions in the theme (found in the bottom of customizer) Is there to do that? I would hate to lose them. I backed up my site a couple of weeks ago, so it will not show the new css

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    With respect to the theme, ask here: https://www.ads-software.com/support/theme/gambit

    As for the redirect, have you talked to your host? How did you install WordPress? This would be a weird behavior for a hack.

    You have entered www.ads-software.com as your website URL in the backend settings. This is causing the redirect, and as a result the frontend is currently broken.

    Solution: you need to change the URL back to the correct domain.

    There are several ways to do this:

    a) You log into the database of your project (e.g. via phpmyadmin). Your hoster’s support can tell you how to do this. There you will find a table called “options” (with the prefix of your project in front of it, e.g. “wp_options”). There should be a data record with the option_name “siteurl”. You adjust its entry. You should then be able to log in to the backend immediately.

    b) Edit the wp-config.php file via FTP. Your hoster’s support can tell you how to connect via FTP. In the file, enter the following before the comment

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

    enter the following 2 lines:

    define( 'WP_HOME', 'https://frenchgen.com' );
    define( 'WP_SITEURL', 'https://frenchgen.com' );

    Save the file via FTP. You should then be able to log in again.

    If one of the two ways seems too difficult for you, please contact your hoster’s support if necessary.

    By the way, this information has nothing to do with the account here on www.ads-software.com. There is no connection whatsoever. You probably entered the wrong URL there in a careless moment instead of in the URL line of your browser.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    @threadi Brilliant!

    Thread Starter hellopeople123

    (@hellopeople123)

    Thank You threadi! I’ll start working on it!

    Thank you, Steven and Harish for your help! You guys answered so quickly!

    Thank you all!

    I

    Thread Starter hellopeople123

    (@hellopeople123)

    threadi, It Worked!! I was able to edit the admin.config myself with your stellar instructions

    Thank you so much!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Remove WP redirect’ is closed to new replies.