i try to run a wordpress site on local machine and everything is ok but when i brows my site using tor browser page wont load completely an when i click on a link ,[![enter image description here][2]][2] url change to http://localhost/site what shod i do
3 Answers
tor browse uses noscript in default and wordpress require js so that is where it break. On second-hand wordpress is quite vulnerable so if you don't take caution you get pwned and your ip will be leaked.
-
there is any why to disable js wordpress? othere CMS are same?– kiritoCommented Apr 5, 2018 at 20:45
This can solve your problem:
- Install "Local" tool from https://localwp.com/
- In WordPress settings set WordPress Address (URL) to: http://youronionwebsite.onion
- In WordPress settings set Site Address (URL) to: http://youronionwebsite.onion
- In Local tool set Site domain and SSL to: http://youronionwebsite.onion
I think that problem is in webserver software, because all like XAMMP or WAMP running on Apache. Local works on Nginx and there works onion site on Tor from localhost perfectly!
The problem you're experiencing is not a Wordpress-specific one, it's a general problem for web applications. You have to set your requested host name to the onion one to comply with HTTP 1.1 or 2.0 standard. To access your web application locally use your `hosts' file to pinpoint the webserver IP, i.e. 127.0.0.1, to the onion name to avoid this mess
localhost
rather than[whatever].onion
, so it's likely linking to resources at "localhost" for it's css, images, etc which won't work. This has absolutely nothing to do with Tor, it's bad configuration or your wordpress on your part.