开发者

installing wordpress on IIS using web platform installer

I have installed wordpress on my IIS server using web plaform 开发者_运维百科intaller, everything is working fine when i am working on localhost.

when when i am trying to browse from external or another pc, the links are stayed http://localhost/page.php, which should be http://myserver/page.php

even the styling is not applied because of that.

how do I change the Path and make it work?? Thanks


You will have saved in the database that your site url was http://localhost. To access it from everywhere, I'd use your IP address instead, that way you should be able to see it on your local and external machines.

Do a quick export of your db, open in a text editor.

Find/ replace 'localhost' and change it to whatever your computer's IP is.

Import your changed sql file. Should be all good :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜