I’m using the latest wordpress version, I installed it on another machine in my network on Apache and PHP5.
Then I bought a domain, I noted that the wordpress points to css and images on the local server (for ex: http://192.168.1.33/wp-content/themes/twentyten/style.css) so the visitor who use my domain cannot show my website normally.
Then I changed the address from the control panel in wordpress to my domain, but I can’t enter it again because I can’t see my domain like any others because I’m in the same network so the domain returned the router homepage!
I don’t know PHP, so I opened mysql and modified site_url and home from wp_options table, I changed their values to “/” to be relative URL, but it caused some problems in the css and js files for login.php, and css files for top admin bar.
My domain is: http://www.darelnadwa.com/
if I put “www.darelnadwa.com” in the wordpress administrator settings, I’ll see the blog as a plain HTML without CSS and Images, but the visitor will see it normally.
If I put “192.168.1.33” in the wordpress administrator settings, I’ll see the blog normally with CSS and Images, but the visitor will see it as a plain HTML.
I can’t visit http://www.darelnadwa.com unless I used a proxy, so I’m using the machine IP in my network.
How can I solve this problem without using proxy for surfing my website on my network?
Try and revert all your changes and add these lines at the top of your
wp-config.phpfile