config - Wordpress site copy just redirects to live site -
i having issues live site made copy , migrated manually. using standard sql query:
update wp_options set option_value = replace(option_value, 'http://www.oldurl', 'http://www.newurl') option_name = 'home' or option_name = 'siteurl'; update wp_posts set guid = replace(guid, 'http://www.oldurl','http://www.newurl'); update wp_posts set post_content = replace(post_content, 'http://www.oldurl', 'http://www.newurl'); update wp_postmeta set meta_value = replace(meta_value,'http://www.oldurl','http://www.newurl');
but when enter url site forwards actual live site. if go text link can see behavior: http://www.testrachryracing2.com.php53-25.ord1-1.websitetestlink.com/
why happening? don't see redirects in config file.
edit: contents of .htaccess: rewriteengine on rewritebase / rewriterule ^index\.php$ - [l] # add trailing slash /wp-admin rewriterule ^([_0-9a-za-z-]+/)?wp-admin$ $1wp-admin/ [r=301,l] rewritecond %{request_filename} -f [or] rewritecond %{request_filename} -d rewriterule ^ - [l] rewriterule ^([_0-9a-za-z-]+/)?(wp-(content|admin|includes).*) $2 [l] rewriterule ^([_0-9a-za-z-]+/)?(.*\.php)$ $2 [l] rewriterule . index.php [l]
Comments
Post a Comment