During the wordpress installation, customers set the Site URL as http://www.domainName/wordpress. But in the configuration file (or wordpress folder) it will be "WordPress". Due to this customer can't login wordpress admin using http://www.domaName/WordPress/wp-login.php.
Fix: In that case you need to modify the wordpress database table entry.
Use the word press database and the following update:
select * from wp_options where option_name="siteurl"G;
update wp_options set option_value="http://www.domainName/WordPress" where option_name="siteurl";
Note: Replace the domainName by corresponding domain name. The wordpress prefix wp_ will change a
ccording to the situation.
No comments:
Post a Comment