Click here to Skip to main content
15,904,655 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I made a site in wordpress and run in localhost but after putting it on internet in free web hosting. The main website gets load but the links of the webpage still redirect to the localhost server. Where should i change to fix this?
Posted
Comments
Michel [mjbohn] 2-Dec-11 12:51pm    
So you can't access your admin page, right?

In case you can't access your admin page to set site URL, you have to manualy update table wp_options in your database. You can do it with a tool like PHPmyAdmin or use mysql on console.

This is the SQL statement to apply:

update wp_options set option_value='www.your-site.com' where option_name='siteurl';
 
Share this answer
 
i just had to change some settings in the settings part of wordpress.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900