{"id":613,"date":"2010-11-02T09:59:15","date_gmt":"2010-11-02T14:59:15","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=613"},"modified":"2010-11-02T09:59:30","modified_gmt":"2010-11-02T14:59:30","slug":"redirect-websites","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2010\/11\/redirect-websites\/","title":{"rendered":"Redirect Websites"},"content":{"rendered":"<p>Redirect websites using Apache web server!<\/p>\n<p>On the server itself, you can edit the virtualhosts page:<br \/>\n<code>nano \/etc\/apache2\/sites-enabled\/000-default<\/code><\/p>\n<blockquote><p>&lt;VirtualHost *:80&gt;<br \/>\nServerName callmanager<br \/>\nServerAlias *callmanager<br \/>\nServerAlias callmanager*<br \/>\nRedirect permanent \/ https:\/\/iocm1\/<br \/>\n&lt;\/VirtualHost&gt;<\/p><\/blockquote>\n<p>Or on the webpage itself:<\/p>\n<blockquote><p>&lt;html&gt;<br \/>\n&lt;head&gt;<br \/>\n&lt;meta http-equiv=&#8221;Refresh&#8221; Content=&#8221;0; URL=http:\/\/redirecturl\/dir\/dir2\/&#8221;&gt;<br \/>\n&lt;\/head&gt;<br \/>\n&lt;body&gt;<br \/>\nLink to new page if browser does not support the redirection<br \/>\n&lt;\/body&gt;<br \/>\n&lt;\/html&gt;<\/p><\/blockquote>\n<p><a href=\"http:\/\/www.yolinux.com\/TUTORIALS\/ApacheRedirect.html\">http:\/\/www.yolinux.com\/TUTORIALS\/ApacheRedirect.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Redirect websites using Apache web server! On the server itself, you can edit the virtualhosts page: nano \/etc\/apache2\/sites-enabled\/000-default &lt;VirtualHost *:80&gt; ServerName callmanager ServerAlias *callmanager ServerAlias callmanager* Redirect permanent \/ https:\/\/iocm1\/ &lt;\/VirtualHost&gt; Or on the webpage itself: &lt;html&gt; &lt;head&gt; &lt;meta http-equiv=&#8221;Refresh&#8221; Content=&#8221;0; URL=http:\/\/redirecturl\/dir\/dir2\/&#8221;&gt; &lt;\/head&gt; &lt;body&gt; Link to new page if browser does not support the redirection &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2010\/11\/redirect-websites\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Redirect Websites<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-613","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/613","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=613"}],"version-history":[{"count":2,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/613\/revisions"}],"predecessor-version":[{"id":615,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/613\/revisions\/615"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=613"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=613"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=613"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}