{"id":853,"date":"2023-07-03T13:42:42","date_gmt":"2023-07-03T13:42:42","guid":{"rendered":"https:\/\/www.copahost.com\/blog\/?p=853"},"modified":"2024-10-31T14:41:55","modified_gmt":"2024-10-31T14:41:55","slug":"how-to-redirect-a-url-to-another-url","status":"publish","type":"post","link":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/","title":{"rendered":"How to redirect a URL to another URL: 4 methods"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">URL redirection is widely used for several reasons. There are many tools that help us make a simple and effective URL redirect. In this article, we will show some examples. If you wish to redirect the whole domain (any folder and page on it), then we recommend <a href=\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-domain\/\">this article<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For SEO purposes, we always recommend using 301 Redirects (Permanent).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_69_1 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#What_is_an_URL_Redirect\" title=\"What is an URL Redirect\">What is an URL Redirect<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#Method_1_Redirect_URL_using_cPanel\" title=\"Method 1: Redirect URL using cPanel\">Method 1: Redirect URL using cPanel<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#Method_2_Redirect_via_HTML_Meta_tag\" title=\"Method 2: Redirect via HTML Meta tag\">Method 2: Redirect via HTML Meta tag<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#Method_3_Redirect_URL_using_PHP\" title=\"Method 3: Redirect URL using PHP\">Method 3: Redirect URL using PHP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#Method_4_Redirect_URL_using_htaccess\" title=\"Method 4: Redirect URL using .htaccess\">Method 4: Redirect URL using .htaccess<\/a><\/li><\/ul><\/nav><\/div>\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_an_URL_Redirect\"><\/span>What is an URL Redirect<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">That means that when the visitor comes into the source (old)\u00a0<a href=\"https:\/\/www.copahost.com\/blog\/url\/\">URL<\/a>,\u00a0it will be transferred automatically to the destination (new) URL.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are basically two types of redirection: temporary (302) and permanent (301). Google values much more pages with permanent ones (301 Redirects), as per <a href=\"https:\/\/support.google.com\/webmasters\/answer\/93633?hl=en\" target=\"_blank\" rel=\"noopener noreferrer\">Matt Cuts<\/a>. As a conclusion, we recommend using 301 Redirects whenever possible. Make sure you place the correct destination URL. Otherwise, you can lead to a <a href=\"https:\/\/www.copahost.com\/blog\/create-custom-404-error-page-htaccess\/\">404 error page<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_1_Redirect_URL_using_cPanel\"><\/span>Method 1: Redirect URL using cPanel<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">By this method, you need access to your <a href=\"https:\/\/www.copahost.com\/blog\/free-cpanel-alternatives-centos-web-panel\/\">cPanel control panel<\/a>. This is maybe the easiest and fastest method.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Firstly, access your cPanel control panel. Scroll down and find the <strong>Domains &#8211; Redirects<\/strong> icon, as shown in the photo. Then, click on it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"805\" height=\"312\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg\" alt=\"\" class=\"wp-image-854\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Then, we will explain how to configure the URL redirect in this screen. Firstly, we recommend keeping the field&nbsp;<strong>Type<\/strong> as Permanent (301).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Afterward, select the <a href=\"https:\/\/www.copahost.com\/blog\/what-is-a-domain-name\/\">domain name<\/a> you wish to redirect to outside. For instance, http:\/\/mysamplewebsite.com\/specificpage.html&nbsp;is our <strong>source URL<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Under <strong>Redirects to<\/strong>, place the details of the destination URL. For example, we will redirect to http:\/\/www.anotherwebsite.com\/.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click <strong>Add<\/strong>, and the URL redirect is done! The source URL will redirect to another URL.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"763\" height=\"581\" src=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url2.jpg\" alt=\"How to redirect a URL\" class=\"wp-image-855\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_2_Redirect_via_HTML_Meta_tag\"><\/span>Method 2: Redirect via HTML Meta tag<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This is the solution&nbsp;about how to redirect a URL when you have <a href=\"https:\/\/www.copahost.com\/blog\/ftp-online-cpanel-web-ftp-client\/\">FTP<\/a> (or similar) access to your site. You just need access to edit the <a href=\"https:\/\/www.copahost.com\/blog\/html-file-hosting\/\">HTML files<\/a> of the source URL you wish to redirect. Simply edit the specific source HTML file, and add this line to your &lt;head&gt; section.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;meta http-equiv=\"refresh\" content=\"2;url=http:\/\/www.anotherwebsite.com\/\" \/&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">For&nbsp;example, here&#8217;s how the HTML will look like:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;html&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\"refresh\" content=\"2;url=http:\/\/www.anotherwebsite.com\" \/&gt;\n&lt;title&gt;Old page&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\nThis is the old page that will redirect to the new one\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Learn meta tags in HTML in only 14 minutes.\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/Kvfw8EfecNo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_3_Redirect_URL_using_PHP\"><\/span>Method 3: Redirect URL using PHP<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Now, by this method, you need <a href=\"https:\/\/www.copahost.com\/blog\/ftp-online-cpanel-web-ftp-client\/\">FTP access<\/a> to edit files in your server as well. We will create a <a href=\"https:\/\/www.copahost.com\/blog\/php-upload-multiple-files\/\">PHP file<\/a> named old.php. Here&#8217;s how this file will look like:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php\nheader(\"Location: http:\/\/www.mynewwebsite.com\/blog\/\"); \n?&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This way, whenever we access this specific PHP file, the user will be redirected to our destination site.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We can also use a more complete PHP file, specifying that this is a 301 redirect (permanent). In this&nbsp;case, the PHP file would look like:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php\nheader(\"HTTP\/1.1 301 Moved Permanently\"); \nheader(\"Location: http:\/\/www.mynewwebsite.com\/blog\/\"); \n?&gt;<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_4_Redirect_URL_using_htaccess\"><\/span>Method 4: Redirect URL using .htaccess<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This method consists in editing a file called .htaccess&nbsp;in your server and placing a specific line to make the URL redirection. Please note that the filename .htaccess&nbsp;really contains one &#8220;.&#8221; on its beginning!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This method requires <a href=\"https:\/\/www.copahost.com\/blog\/ftp-online-cpanel-web-ftp-client\/\">FTP<\/a> access to the server so that you can upload files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now, edit locally the .htaccess file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can <a href=\"https:\/\/www.copahost.com\/blog\/cheap-web-hosting-plans\/\">choose one of the following code options<\/a>. We will explain each one:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">First alternative, redirect a specific page called \/sourcepage.html to another URL:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Redirect 301 \/sourcepage.html http:\/\/www.mynewdomain.com\/\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Second alternative, redirect the whole domain to another URL:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Redirect 301 \/ http:\/\/www.mynewdomain.com\/\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">And last, redirect one file to another file, locally, in the same domain:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Redirect 301 \/old\/path\/oldpage.html http:\/\/www.currentdomain.com\/new\/path\/newpage.html<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>URL redirection is widely used for several reasons. There are many tools that help us make a simple and effective URL redirect. In this article, we will show some examples. If you wish to redirect the whole domain (any folder and page on it), then we recommend this article. For SEO purposes, we always recommend [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[126],"tags":[],"class_list":["post-853","post","type-post","status-publish","format-standard","hentry","category-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to redirect a URL to another URL: 4 methods - Copahost<\/title>\n<meta name=\"description\" content=\"This article shows how to how to redirect a URL to another URL. How to redirect a domain name using the cPanel control panel. Works with any website.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to redirect a URL to another URL: 4 methods - Copahost\" \/>\n<meta property=\"og:description\" content=\"This article shows how to how to redirect a URL to another URL. How to redirect a domain name using the cPanel control panel. Works with any website.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/\" \/>\n<meta property=\"og:site_name\" content=\"Copahost\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-03T13:42:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-31T14:41:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg\" \/>\n<meta name=\"author\" content=\"Gustavo Gallas\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gustavo Gallas\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/\"},\"author\":{\"name\":\"Gustavo Gallas\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246\"},\"headline\":\"How to redirect a URL to another URL: 4 methods\",\"datePublished\":\"2023-07-03T13:42:42+00:00\",\"dateModified\":\"2024-10-31T14:41:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/\"},\"wordCount\":544,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg\",\"articleSection\":[\"Hosting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/\",\"name\":\"How to redirect a URL to another URL: 4 methods - Copahost\",\"isPartOf\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg\",\"datePublished\":\"2023-07-03T13:42:42+00:00\",\"dateModified\":\"2024-10-31T14:41:55+00:00\",\"description\":\"This article shows how to how to redirect a URL to another URL. How to redirect a domain name using the cPanel control panel. Works with any website.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#primaryimage\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg\",\"width\":805,\"height\":312},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.copahost.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to redirect a URL to another URL: 4 methods\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#website\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"name\":\"Copahost\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.copahost.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#organization\",\"name\":\"Copahost\",\"url\":\"https:\/\/www.copahost.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"contentUrl\":\"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png\",\"width\":223,\"height\":40,\"caption\":\"Copahost\"},\"image\":{\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246\",\"name\":\"Gustavo Gallas\",\"description\":\"Graduated in Computing at PUC-Rio, Brazil. Specialized in IT, networking, systems administration and human and organizational development\u200b. Also have brewing skills.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/gustavo-gallas-107926196\/\"],\"url\":\"https:\/\/www.copahost.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to redirect a URL to another URL: 4 methods - Copahost","description":"This article shows how to how to redirect a URL to another URL. How to redirect a domain name using the cPanel control panel. Works with any website.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/","og_locale":"en_US","og_type":"article","og_title":"How to redirect a URL to another URL: 4 methods - Copahost","og_description":"This article shows how to how to redirect a URL to another URL. How to redirect a domain name using the cPanel control panel. Works with any website.","og_url":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/","og_site_name":"Copahost","article_published_time":"2023-07-03T13:42:42+00:00","article_modified_time":"2024-10-31T14:41:55+00:00","og_image":[{"url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg"}],"author":"Gustavo Gallas","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Gustavo Gallas","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#article","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/"},"author":{"name":"Gustavo Gallas","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246"},"headline":"How to redirect a URL to another URL: 4 methods","datePublished":"2023-07-03T13:42:42+00:00","dateModified":"2024-10-31T14:41:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/"},"wordCount":544,"commentCount":0,"publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg","articleSection":["Hosting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/","url":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/","name":"How to redirect a URL to another URL: 4 methods - Copahost","isPartOf":{"@id":"https:\/\/www.copahost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#primaryimage"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#primaryimage"},"thumbnailUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg","datePublished":"2023-07-03T13:42:42+00:00","dateModified":"2024-10-31T14:41:55+00:00","description":"This article shows how to how to redirect a URL to another URL. How to redirect a domain name using the cPanel control panel. Works with any website.","breadcrumb":{"@id":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#primaryimage","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2019\/02\/blog-redirect-url-to-another-url1.jpg","width":805,"height":312},{"@type":"BreadcrumbList","@id":"https:\/\/www.copahost.com\/blog\/how-to-redirect-a-url-to-another-url\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.copahost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to redirect a URL to another URL: 4 methods"}]},{"@type":"WebSite","@id":"https:\/\/www.copahost.com\/blog\/#website","url":"https:\/\/www.copahost.com\/blog\/","name":"Copahost","description":"","publisher":{"@id":"https:\/\/www.copahost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.copahost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.copahost.com\/blog\/#organization","name":"Copahost","url":"https:\/\/www.copahost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","contentUrl":"https:\/\/www.copahost.com\/blog\/wp-content\/uploads\/2016\/03\/copahostlogo.png","width":223,"height":40,"caption":"Copahost"},"image":{"@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.copahost.com\/blog\/#\/schema\/person\/386b3f1f79299d43f4ceb33d26428246","name":"Gustavo Gallas","description":"Graduated in Computing at PUC-Rio, Brazil. Specialized in IT, networking, systems administration and human and organizational development\u200b. Also have brewing skills.","sameAs":["https:\/\/www.linkedin.com\/in\/gustavo-gallas-107926196\/"],"url":"https:\/\/www.copahost.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/comments?post=853"}],"version-history":[{"count":15,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/853\/revisions"}],"predecessor-version":[{"id":4117,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/posts\/853\/revisions\/4117"}],"wp:attachment":[{"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/media?parent=853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/categories?post=853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.copahost.com\/blog\/wp-json\/wp\/v2\/tags?post=853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}