How to redirect this:
www.sub.example.com
:
www.example2.com
How is this done - 301? .Htaccess? Can someone point me in the right direction please? My host is NearlyFreeSpeech, and the domain I want to redirect is a rather large site with a static IP address.
There are several ways to do this:
Redirect
RedirectPermanent
ProxyPass
, , . Apache, .htaccess .
Wikipedia HTTP 3xx,, - .
-
RedirectPermanent / http://www.example2.com
RedirectPermanent 301 www.example2.com, apache .htaccess. mod_alias .
.htaccess
mod_alias
.htaccess virtualhost apache.
Source: https://habr.com/ru/post/1779132/More articles:Class question - help for beginners - phpDrag and drop list items? - wpfelement.style displays incorrect information - javascriptPolynomial time algorithm - algorithmSuggest CodeIgniter CMS for webapp - codeigniterStacktrace client web client - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1779134/ess-ess-request-a-process-defaults-to-s&usg=ALkJrhjxDtg5Lfwklk2Sqlg3Y39d1xNaigTruncate #inspect output in irb (ruby) - ruby | fooobar.comPHP Is it possible to create a video (any format) from a list of images using PHP? - phpHow to determine the maximum value in Objective-C? - objective-cAll Articles