S
S
shobique2015-08-23 05:58:14
PHP
shobique, 2015-08-23 05:58:14

How to redirect from RU domain to COM domain with CNC?

There are two domains:
1 in the COM zone
2 in the RU zone Mod_rewrite
must be configured to redirect users from RU to COM.
RewriteEngine on
Redirect 301 http://site.ru/ http://site.com/
RewriteRule ^([a-z0-9_-]*)/?([a-z0-9_-]*)?/?( [a-z0-9_-]*)?:?([a-z0-9_-]*)?:?([a-z0-9_-]*)?/?([a-z0-9_-] *) ? / ?
$ /index.php?url1=$1&url2=$2&url3=$3&url4=$4&url5=$5&url6=$6 //site.com/index.php?url1=&url2=&url3=&url4=&...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Konkin, 2015-08-23
@konnn

lmgtfy.com/?q=%D1%80%D0%B5%D0%B4%D0%B8%D1%80%D0%B5...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question