Possible solutions of your questions

  hosting
<< Previous       Webmaster

Question: Hello.I need to write a rule for mod_rewrite to convert the links.I moved the site from one domain to another. With mirovaya-eda.ru on recept.useron.ru and now the website at type mirovaya-eda.ru/zalivnoe-iz-ryby/ throws a 404 error because the domain folder there is no file, then there are people coming from the search engines at the old address get a 404 error.For this I need to write a rule that would from old address mirovaya-eda.ru/zalivnoe-iz-ryby/ and http://mirovaya-eda.ru/category/myasnye-blyuda/ was forwarding to the new address type http://recepty.useron.ru/category/myasnye-blyuda/ and http://recepty.useron.ru/solyanka-sbornaya/Напишите me please this rule. And website http://sovety-dlya-vas.ru - old domain, http://sovety.useron.ru -new.
Answer:

Good day.

i.e. You need when you log on to the website < / span>mirovaya-eda.ru display the content of the website useron.ru?

Question: No. What the user moving from the search engines the old links got a new. For example http://mirovaya-eda.ru/solyanka-sbornaya/ http://recepty.useron.ru/solyanka-sbornaya/Сейчас they are going for old references see 404 error.
Answer:

http://mirovaya-eda.ru/solyanka-sbornaya/
please Check now.

Question: Everything works. Thank you.
Answer:


OK

Question: I`m sorry. Accidentally deleted code .htaccess in mirovaya-eda.ru)))Postavte please nazat.
Question: All day with that mess around, already tired.Would be better if you code I wrote and point out which code in which folder should lie. It is clear that file .htaccess
Answer:

please Read:

http://old.webasyst.ru/support/help/htaccess-redirects.html

Redirection from one domain to another

RewriteEngine On
RewriteCond %{HTTP_HOST} domain1.ru
RewriteRule (.*) http://domain2.ru/$1 [R=301,L]

<< Previous