I would like to ask for help with this problem. I have two places where I have the same WP.
1) Test site - own domain, hosting and DB - here is stored database, so siteurl is here, example: test.com and everything in wordpress is using this domain
2) Localhost development - Problem: I want to use same database from test site, but url in .htaccess will be different same as in the DB.
Is there any possibility to use database from test site on localhost in order to maintain everything function correctly? I would like to create posts on test site, not on localhost. Localhost is only for webdesign development.
Thanks a lot.