You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you first use woocommerce on clearnet and then attempt to use TOR, then the layout is messed up because woocommerce saved options home and siteurl in database during the install.
This website shows manual steps to edit this those values.
A better idea, is to modify wp-config.php and add:
We should check $_SERVER['HTTP_X_FORWARDED_PROTO'] instead of REQUEST_SCHEME though.
This has the advantage to make woocommerce works at same time on clearnet and Tor.
We should probably do this automatically in the docker-entrypoint.sh.
The text was updated successfully, but these errors were encountered:
@dennisreimann to make this work with Tor adding above config will make the theme work again but the problem is with wordpress unlike most other CMSs it hardcodes the whole URL to images and links. So the full URL is hardcoded in the db linking to images and internal links. So it would still be broken if site get's setup over clearnet but also available over Tor (or the other way around). If you start with Tor and go Tor only you can rewrite all urls with wp cli, wp search-replace 'https://clearnet-domain.tld' 'http://tor-domain.onion'.
If you first use woocommerce on clearnet and then attempt to use TOR, then the layout is messed up because woocommerce saved options
home
andsiteurl
in database during the install.This website shows manual steps to edit this those values.
A better idea, is to modify wp-config.php and add:
We should check
$_SERVER['HTTP_X_FORWARDED_PROTO']
instead ofREQUEST_SCHEME
though.This has the advantage to make woocommerce works at same time on clearnet and Tor.
We should probably do this automatically in the
docker-entrypoint.sh
.The text was updated successfully, but these errors were encountered: