G
G
Grafnet2014-07-06 12:17:49
Domain name market
Grafnet, 2014-07-06 12:17:49

How to link two domains to a wordpress site?

From what I understand, wordpress links to posts using the domain that is listed in the "WordPress Address (URL)" and "Site Address (URL)" of the site's admin panel. Those. the question is not how to link several domains to one hosting, but how to make links like "domain_one.ru/?page_id=58", "domain_two.ru/?page_id=58" work. Now links are formed in the form domain_one.ru/?page_id=58 because it is domain_one.ru that is written in "WordPress Address (URL)" and "Site Address (URL)", and more addresses cannot be specified.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Borisovich, 2014-07-07
@Grafnet

The press links in the database are absolute. no matter how you tie them - they are absolute.
By the way, why the hell do you need two domains? do you need one engine?

I
Igor It doesn't matter, 2014-07-06
@HellFir-e

remove the link to your domain both there and there, then when visiting from any domain, href links like "/?page_id=58" will be interpreted by any browser (I'm not a pro, I don't know how to write correctly) as the domain where you are + link t .e. domain.ru/?page_id=58

O
Oleg Voitenko, 2014-07-07
@OliverV

on the second domain, insert the site as a frame, but some antiviruses will swear. in general, your idea is meaningless and even harmful, since search engines will ban your sites for copy-paste.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question