• i recently took over a wordpress site that is a sub dormain of an eCommerce site.

    i have installed it on my local wamp and i now wish to log into the wordpress dashboard.

    the problem is that the once i log in to wordpress it redirects me back to the old site.

    i am now trying to work out where the redirect functionality might be located.

    i have already changed the base url address in the table wp_options.

    i also tried changing the wp-config.php file with the new url:

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

    i would appreciate any ideas on where the redirect functionality might be located.

Viewing 3 replies - 1 through 3 (of 3 total)
  • hello, i think you are getting redirect to old live wordpress website.
    the solution is go to locallocalhost/phpmyadmin and open database of your website.
    # then click on wp_options table.
    #and Change the siteurl and home.

    change siteurl and home url


    Now redirection problem will be solve.

    Thread Starter paulkendal123

    (@paulkendal123)

    hi Lalitpanwar.

    i have tried that. but its still redirecting me.

    so there is somewhere else in the system that is still redirecting me.

    There could be a script inside your functions.php file. Have you checked for a redirection script? Also make sure that no plugin is installed something like 301 Redirect. As well as making sure there’s no htaccess file installed in the directory your storing the site locally.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘i am redirected to another site on succesful login’ is closed to new replies.