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]] url change to http://localhost/site what shod i do
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