Premises access?

Hello!
Ask for advice from experts.
For the experiments with the website, decided on a local server (openserver) to run your production site, that would not break the current working site...
My hoster sent me a separate backup file (archive) from the database and the archive files of the site.
In openserver I created a folder called it site.ru
Imported the DB data from the production site
In WP-config, changed the password and login.
When running openserver go to site.ru open, the page (namely site.ru), but when switching to other menu items, automatically get to a working website.
What need to improve? What would? if locally, then under the local name opened all the links?
When you try to log into the admin panel, just go to the working site...
June 27th 19 at 15:15
4 answers
June 27th 19 at 15:17
Install on the working site duplicator, to make it a dump. Then it will deploy on the local.
June 27th 19 at 15:19
open the database with a text editor and replace everywhere the domain of the site site.ru
or, you can read more about it in Google. for example, here is dimox.name/moving-the-site-on-new-domain
You can read about a serialized arrays and to understand that this path is wrong. - Webster_Hean commented on June 27th 19 at 15:22
: and then the arrays?... - kasandra.Hackett commented on June 27th 19 at 15:25
: despite the fact that they kept the settings, plugins etc. And not just settings. - Webster_Hean commented on June 27th 19 at 15:28
and where does the settings for themes and plugins? - kasandra.Hackett commented on June 27th 19 at 15:31
: as for me, you as an ordinary shopkeeper trying to "sell" his decision using the far-fetched problems - kasandra.Hackett commented on June 27th 19 at 15:34
: ?? sick? and I to free gourmet duplicator?
And if you have no knowledge and desire to receive them, and even look in the database - who is to blame? - Webster_Hean commented on June 27th 19 at 15:37
: you from that category of people who thinks that it is easier to tell a beginner one solution that will fit in most situations, what to say more - that will fit everywhere, but more time-consuming, and even argue that it is better to use what is, than to understand how it works actually. From the category of people who are afraid to share knowledge when they have to appear, from the category of people who regard themselves as too cool. Category programmers who instead of having to write code yourself, 20 positions, download the plugin, on ten thousand lines. - kasandra.Hackett commented on June 27th 19 at 15:40
: I'm out of the discharge, which helps. Free and correct solutions.
But you can not listen, do not learn and do as they want.
Cheers. - Webster_Hean commented on June 27th 19 at 15:43
: um... how would rights. and then the arrays? you will not break the search and replace, or sql query. why the extra plugin, if you can move your website without it? - Rosendo_Hess commented on June 27th 19 at 15:46
:
you will not break the search and replace, or sql query.

But when moving they need to FIX it. Because they (where and if available) the physical PATH and DOMAIN. This is done by this plugin or others or script. - Webster_Hean commented on June 27th 19 at 15:49
if the plugin stores the physical path - this plugin place in the bin - kasandra.Hackett commented on June 27th 19 at 15:52
: tyt you are right, though ignorant. Only the plugin is irrelevant :)
As far as there should be... frameless to think that the plugin from the repo can "keep" the way of all users :). - Webster_Hean commented on June 27th 19 at 15:55
: calm your Lebid and talk like normal people - kasandra.Hackett commented on June 27th 19 at 15:58
:
But when moving they need to FIX it. Because they (where and if available) the physical PATH and DOMAIN. This is done

HANDS, man hands.. this is done in 2 seconds. without a single plugin - Rosendo_Hess commented on June 27th 19 at 16:01
:
this is done in 2 seconds

81616fes-960.jpg

But you do with your hands :) Just don't confuse serializevalue data in the database with the economy in shorts :) - Webster_Hean commented on June 27th 19 at 16:04
: I said that? I said that if the plugin after installation recorded in a physical way, which was at the time of installation, this plugin place in the bin - kasandra.Hackett commented on June 27th 19 at 16:07
: there are both. Maybe when the thread will learn something. MB pearl I knowingly scattered. - Webster_Hean commented on June 27th 19 at 16:10
: yeah man, for a constructive dialogue apparently, you're not able to all you good - kasandra.Hackett commented on June 27th 19 at 16:13
: 1. there is not a forum, and FAQ service.
2. I gave plenty of information to not knowing, but not the muddle, was able to use it and be liberated.
3. Specific questions I have definite answers (and komenty to answer Noizefan zzz - proof). And dull debaters let them draw it themselves. :) - Webster_Hean commented on June 27th 19 at 16:16
: granted. in his reply. what do you think of my answer got into silly speculation that manual editing as it will break the database? - Rosendo_Hess commented on June 27th 19 at 16:19
June 27th 19 at 15:21
Guys above I'm?
hosts file> 127.0.0.1 site.ru
this will help if site.ru the same name as the production site, and judging by the description of the problem it is not

in this case, you just need to replace in the database for all occurrences of the name of the work site on site.ru like offers - Webster_Hean commented on June 27th 19 at 15:24
: if the change in Notepad, address - does not change the path and will fall serializevalue arrays. What can go wrong settings of the plugins, themes. widgets and there will be other problems. Need to migrate from POM. these I plugin. - kasandra.Hackett commented on June 27th 19 at 15:27
: duplicator MultiSite support only in the Pro version. In General, always replace the address with Notepad and there were no problems, I don't know - Webster_Hean commented on June 27th 19 at 15:30
: 1) TC asks about MultiSite? Or on free?
2) saw No problems - it does not mean that they are not. Especially on MultiSite. Cm logs. But a lot depends on the theme and plugins. - kasandra.Hackett commented on June 27th 19 at 15:33
: Anything can happen, then suddenly MultiSite connect. + people will come into question and will be useful to know how about a free solution and MultiSite.

In General, I realized for ordinary sites will begin using the duplicator, thank you. It does seem more convenient.

But still, how to be when you migrate MultiSite? Are there any good free solutions similar to the duplicator, to avoid problems and errors after the migration? - kasandra.Hackett commented on June 27th 19 at 15:36
: fill in the original dump (not ruled notebooks!!!) and then a script to change the path (important!) and then only the domain. But PTS carefully and accurately. - Webster_Hean commented on June 27th 19 at 15:39
: how about replacing the addresses in phpmyadmin?
https://truemisha.ru/blog/wordpress/sql-queries-do... - kasandra.Hackett commented on June 27th 19 at 15:42
: can't do that. It does not fix the serialized data. - Webster_Hean commented on June 27th 19 at 15:45
June 27th 19 at 15:23
Maybe you have all the links spelled out like <a href="http://ваш-сайт.ru/страница-сайта"></a>?

Find more questions by tags Domain names marketWeb DevelopmentCMSWordPress