{"id":1010,"date":"2006-04-22T06:33:00","date_gmt":"2006-04-21T23:33:00","guid":{"rendered":"http:\/\/www.gis2me.com\/geospatial\/?p=1010"},"modified":"2025-04-22T06:34:41","modified_gmt":"2025-04-21T23:34:41","slug":"html-code-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-url-redirect","status":"publish","type":"post","link":"http:\/\/www.gis2me.com\/geospatial\/?p=1010","title":{"rendered":"HTML Code \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a URL Redirect"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\"><strong>\u0e41\u0e19\u0e27\u0e17\u0e32\u0e07\u0e41\u0e25\u0e30\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19 HTML Code \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e40\u0e2a\u0e49\u0e19\u0e17\u0e32\u0e07 (URL Redirect) \u0e1a\u0e19 Web Server<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0e1a\u0e17\u0e04\u0e31\u0e14\u0e22\u0e48\u0e2d<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e40\u0e2a\u0e49\u0e19\u0e17\u0e32\u0e07 (Redirect) \u0e1a\u0e19 Web Server \u0e40\u0e1b\u0e47\u0e19\u0e40\u0e17\u0e04\u0e19\u0e34\u0e04\u0e1e\u0e37\u0e49\u0e19\u0e10\u0e32\u0e19\u0e17\u0e35\u0e48\u0e2a\u0e33\u0e04\u0e31\u0e0d\u0e43\u0e19\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e42\u0e14\u0e22\u0e40\u0e09\u0e1e\u0e32\u0e30\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e1c\u0e39\u0e49\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e15\u0e33\u0e41\u0e2b\u0e19\u0e48\u0e07\u0e2d\u0e37\u0e48\u0e19\u0e02\u0e2d\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e2b\u0e23\u0e37\u0e2d\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e43\u0e2b\u0e21\u0e48\u0e42\u0e14\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34 \u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e40\u0e2a\u0e49\u0e19\u0e17\u0e32\u0e07\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e17\u0e33\u0e44\u0e14\u0e49\u0e2b\u0e25\u0e32\u0e22\u0e27\u0e34\u0e18\u0e35 \u0e40\u0e0a\u0e48\u0e19 \u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49 HTML <code>&lt;meta&gt;<\/code> tag, JavaScript, HTML <code>&lt;frameset&gt;<\/code> \u0e2b\u0e23\u0e37\u0e2d\u0e20\u0e32\u0e29\u0e32\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c \u0e40\u0e0a\u0e48\u0e19 PHP \u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e08\u0e30\u0e19\u0e33\u0e40\u0e2a\u0e19\u0e2d\u0e41\u0e19\u0e27\u0e17\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e04\u0e49\u0e14 HTML \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23 Redirect \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a\u0e41\u0e25\u0e30\u0e02\u0e49\u0e2d\u0e41\u0e19\u0e30\u0e19\u0e33\u0e43\u0e19\u0e01\u0e32\u0e23\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e43\u0e0a\u0e49\u0e40\u0e17\u0e04\u0e19\u0e34\u0e04\u0e43\u0e2b\u0e49\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e21\u0e01\u0e31\u0e1a\u0e1a\u0e23\u0e34\u0e1a\u0e17<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>1. \u0e1a\u0e17\u0e19\u0e33<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e43\u0e19 Web Server \u0e42\u0e14\u0e22\u0e17\u0e31\u0e48\u0e27\u0e44\u0e1b\u0e08\u0e30\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49\u0e21\u0e35 \u201cDocument Root\u201d \u0e0b\u0e36\u0e48\u0e07\u0e40\u0e1b\u0e47\u0e19\u0e42\u0e1f\u0e25\u0e40\u0e14\u0e2d\u0e23\u0e4c\u0e2b\u0e25\u0e31\u0e01\u0e17\u0e35\u0e48\u0e1a\u0e23\u0e23\u0e08\u0e38\u0e44\u0e1f\u0e25\u0e4c\u0e2b\u0e19\u0e49\u0e32\u0e41\u0e23\u0e01 \u0e40\u0e0a\u0e48\u0e19 <code>index.html<\/code>, <code>index.php<\/code> \u0e2b\u0e23\u0e37\u0e2d <code>default.html<\/code> \u0e2d\u0e22\u0e48\u0e32\u0e07\u0e44\u0e23\u0e01\u0e47\u0e15\u0e32\u0e21 \u0e43\u0e19\u0e1a\u0e32\u0e07\u0e2a\u0e16\u0e32\u0e19\u0e01\u0e32\u0e23\u0e13\u0e4c \u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e2d\u0e32\u0e08\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e2b\u0e49\u0e1a\u0e23\u0e34\u0e01\u0e32\u0e23 \u0e2b\u0e23\u0e37\u0e2d\u0e2d\u0e32\u0e08\u0e15\u0e49\u0e2d\u0e07\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e40\u0e2a\u0e49\u0e19\u0e17\u0e32\u0e07\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e44\u0e1b\u0e22\u0e31\u0e07 URL \u0e2d\u0e37\u0e48\u0e19\u0e0a\u0e31\u0e48\u0e27\u0e04\u0e23\u0e32\u0e27 \u0e40\u0e0a\u0e48\u0e19 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e01\u0e32\u0e23\u0e1a\u0e33\u0e23\u0e38\u0e07\u0e23\u0e31\u0e01\u0e29\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e2b\u0e23\u0e37\u0e2d\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e42\u0e14\u0e40\u0e21\u0e19<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2. \u0e40\u0e17\u0e04\u0e19\u0e34\u0e04\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e40\u0e2a\u0e49\u0e19\u0e17\u0e32\u0e07 (Redirect Techniques)<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2.1 \u0e01\u0e32\u0e23 Redirect \u0e14\u0e49\u0e27\u0e22 HTML Meta Tag<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e2b\u0e25\u0e31\u0e01\u0e01\u0e32\u0e23<\/strong><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e43\u0e0a\u0e49 <code>&lt;meta&gt;<\/code> tag \u0e23\u0e48\u0e27\u0e21\u0e01\u0e31\u0e1a <code>http-equiv=\"Refresh\"<\/code> \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e40\u0e27\u0e47\u0e1a\u0e40\u0e1a\u0e23\u0e32\u0e27\u0e4c\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e42\u0e14\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e27\u0e25\u0e32\u0e17\u0e35\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e17\u0e35\u0e48 1: Redirect \u0e17\u0e31\u0e19\u0e17\u0e35<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">htmlCopyEdit<code>&lt;html&gt;\n&lt;head&gt;\n  &lt;meta http-equiv=\"Refresh\" content=\"0;URL=http:\/\/www.yourdomainname.com\"&gt;\n&lt;\/head&gt;\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e17\u0e35\u0e48 2: Redirect \u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01 5 \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">htmlCopyEdit<code>&lt;html&gt;\n&lt;head&gt;\n  &lt;meta http-equiv=\"Refresh\" content=\"5;URL=http:\/\/www.yourdomainname.com\"&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n  &lt;center&gt;\n    \u0e04\u0e38\u0e13\u0e01\u0e33\u0e25\u0e31\u0e07\u0e40\u0e02\u0e49\u0e32\u0e2a\u0e39\u0e48\u0e40\u0e27\u0e47\u0e1a\u0e40\u0e1e\u0e08\u0e43\u0e2b\u0e21\u0e48&lt;br&gt;\n    &lt;a href=\"http:\/\/www.yourdomainname.com\"&gt;www.yourdomainname.com&lt;\/a&gt;\n  &lt;\/center&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e02\u0e49\u0e2d\u0e14\u0e35<\/strong>:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e07\u0e48\u0e32\u0e22<\/li>\n\n\n\n<li>\u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 JavaScript \u0e2b\u0e23\u0e37\u0e2d\u0e20\u0e32\u0e29\u0e32\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e02\u0e49\u0e2d\u0e08\u0e33\u0e01\u0e31\u0e14<\/strong>:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07 URL \u0e43\u0e19 Address Bar<\/li>\n\n\n\n<li>\u0e01\u0e32\u0e23\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21\u0e1e\u0e24\u0e15\u0e34\u0e01\u0e23\u0e23\u0e21\u0e43\u0e19\u0e23\u0e30\u0e14\u0e31\u0e1a\u0e0b\u0e31\u0e1a\u0e0b\u0e49\u0e2d\u0e19\u0e17\u0e33\u0e44\u0e14\u0e49\u0e22\u0e32\u0e01<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2.2 \u0e01\u0e32\u0e23 Redirect \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 <code>&lt;frameset&gt;<\/code><\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e27\u0e31\u0e15\u0e16\u0e38\u0e1b\u0e23\u0e30\u0e2a\u0e07\u0e04\u0e4c<\/strong>: \u0e1b\u0e34\u0e14\u0e1a\u0e31\u0e07 URL \u0e17\u0e35\u0e48\u0e41\u0e17\u0e49\u0e08\u0e23\u0e34\u0e07<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">htmlCopyEdit<code>&lt;html&gt;\n&lt;head&gt;&lt;title&gt;Redirect Page&lt;\/title&gt;&lt;\/head&gt;\n&lt;frameset cols=\"*\"&gt;\n  &lt;frame src=\"http:\/\/www.yourdomain.com\/yourname\"&gt;\n&lt;\/frameset&gt;\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e02\u0e49\u0e2d\u0e14\u0e35<\/strong>:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>URL \u0e1a\u0e19 Address Bar \u0e08\u0e30\u0e44\u0e21\u0e48\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19<\/li>\n\n\n\n<li>\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e01\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e17\u0e33 \u201cFrame-based Redirect\u201d<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e02\u0e49\u0e2d\u0e08\u0e33\u0e01\u0e31\u0e14<\/strong>:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>&lt;frameset><\/code> \u0e40\u0e1b\u0e47\u0e19\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e17\u0e35\u0e48\u0e25\u0e49\u0e32\u0e2a\u0e21\u0e31\u0e22 \u0e41\u0e25\u0e30\u0e44\u0e21\u0e48\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e43\u0e19 HTML5<\/li>\n\n\n\n<li>\u0e2a\u0e48\u0e07\u0e1c\u0e25\u0e15\u0e48\u0e2d\u0e01\u0e32\u0e23\u0e17\u0e33 SEO \u0e41\u0e25\u0e30 Accessibility<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2.3 \u0e01\u0e32\u0e23 Redirect \u0e14\u0e49\u0e27\u0e22 JavaScript<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e42\u0e04\u0e49\u0e14<\/strong>:<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">htmlCopyEdit<code>&lt;html&gt;\n&lt;head&gt;\n&lt;script language=\"javascript\"&gt;\n  var url = document.location.href;\n  if (url === \"http:\/\/www.firstdomainname.com\/\" || url === \"http:\/\/www.firstdomainname.com\") {\n    window.location = \"http:\/\/www.yourdomainname.com\/firstdomainname\";\n  } else if (url === \"http:\/\/www.seconddomainname.com\/\") {\n    window.location = \"http:\/\/www.yourdomainname.com\/seconddomainname\";\n  } else {\n    window.location = \"http:\/\/www.yourdomainname.com\/underconstruction.html\";\n  }\n&lt;\/script&gt;\n&lt;\/head&gt;\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e02\u0e49\u0e2d\u0e14\u0e35<\/strong>:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0e22\u0e37\u0e14\u0e2b\u0e22\u0e38\u0e48\u0e19\u0e2a\u0e39\u0e07 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e02\u0e35\u0e22\u0e19\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e0b\u0e31\u0e1a\u0e0b\u0e49\u0e2d\u0e19\u0e44\u0e14\u0e49<\/li>\n\n\n\n<li>\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49\u0e23\u0e48\u0e27\u0e21\u0e01\u0e31\u0e1a dynamic content \u0e44\u0e14\u0e49<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e02\u0e49\u0e2d\u0e08\u0e33\u0e01\u0e31\u0e14<\/strong>:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0e02\u0e36\u0e49\u0e19\u0e2d\u0e22\u0e39\u0e48\u0e01\u0e31\u0e1a\u0e27\u0e48\u0e32\u0e40\u0e1a\u0e23\u0e32\u0e27\u0e4c\u0e40\u0e0b\u0e2d\u0e23\u0e4c\u0e40\u0e1b\u0e34\u0e14 JavaScript \u0e2b\u0e23\u0e37\u0e2d\u0e44\u0e21\u0e48<\/li>\n\n\n\n<li>\u0e44\u0e21\u0e48\u0e41\u0e19\u0e30\u0e19\u0e33\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21\u0e1d\u0e31\u0e48\u0e07\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2.4 \u0e01\u0e32\u0e23 Redirect \u0e14\u0e49\u0e27\u0e22 JavaScript + Frameset<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e42\u0e04\u0e49\u0e14\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07<\/strong>:<\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">htmlCopyEdit<code>&lt;html&gt;\n&lt;script language=\"javascript\"&gt;\nvar url = document.location.href;\nif (url === \"http:\/\/www.firstdomainname.com\" || url === \"http:\/\/www.firstdomainname.com\/\") {\n  document.write(\"&lt;head&gt;&lt;title&gt;www.firstdomainname.com&lt;\/title&gt;&lt;\/head&gt;\");\n  document.write('&lt;frameset cols=\"*\"&gt;');\n  document.write('&lt;frame src=\"http:\/\/www.yourdomainname.com\/firstdomainname\"&gt;');\n  document.write(\"&lt;\/frameset&gt;\");\n} else {\n  document.write('&lt;frameset cols=\"*\"&gt;');\n  document.write('&lt;frame src=\"http:\/\/www.yourdomainname.com\/underconstruction.html\"&gt;');\n  document.write(\"&lt;\/frameset&gt;\");\n}\n&lt;\/script&gt;\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2.5 \u0e01\u0e32\u0e23 Redirect \u0e14\u0e49\u0e27\u0e22 PHP<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e42\u0e04\u0e49\u0e14 PHP \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e42\u0e14\u0e40\u0e21\u0e19<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-preformatted\">phpCopyEdit<code>&lt;?php\nswitch ($_SERVER['SERVER_NAME']) {\n  case \"www.firstdomainname.com\":\n    echo '&lt;frameset cols=\"*\"&gt;';\n    echo '&lt;frame src=\"http:\/\/www.yourdomainname.com\/firstdomainname\"&gt;';\n    echo \"&lt;\/frameset&gt;\";\n    break;\n  case \"www.seconddomainname.com\":\n    echo '&lt;frameset cols=\"*\"&gt;';\n    echo '&lt;frame src=\"http:\/\/www.yourdomainname.com\/seconddomainname\"&gt;';\n    echo \"&lt;\/frameset&gt;\";\n    break;\n  default:\n    echo '&lt;frameset cols=\"*\"&gt;';\n    echo '&lt;frame src=\"http:\/\/www.yourdomainname.com\/underconstruction.html\"&gt;';\n    echo \"&lt;\/frameset&gt;\";\n}\n?&gt;\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e02\u0e49\u0e2d\u0e14\u0e35<\/strong>:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01\u0e1d\u0e31\u0e48\u0e07\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c<\/li>\n\n\n\n<li>\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e27\u0e47\u0e1a\u0e17\u0e35\u0e48\u0e21\u0e35\u0e2b\u0e25\u0e32\u0e22\u0e42\u0e14\u0e40\u0e21\u0e19\u0e22\u0e48\u0e2d\u0e22 (multi-domain)<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u0e02\u0e49\u0e2d\u0e08\u0e33\u0e01\u0e31\u0e14<\/strong>:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49 Web Server \u0e17\u0e35\u0e48\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a PHP<\/li>\n\n\n\n<li>\u0e16\u0e49\u0e32\u0e44\u0e21\u0e48\u0e43\u0e0a\u0e49 <code>&lt;frameset><\/code> URL \u0e08\u0e30\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e44\u0e1b<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>3. \u0e02\u0e49\u0e2d\u0e40\u0e2a\u0e19\u0e2d\u0e41\u0e19\u0e30\u0e43\u0e19\u0e01\u0e32\u0e23\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e43\u0e0a\u0e49 Redirect<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23 Redirect<\/th><th>\u0e08\u0e38\u0e14\u0e41\u0e02\u0e47\u0e07<\/th><th>\u0e02\u0e49\u0e2d\u0e04\u0e27\u0e23\u0e23\u0e30\u0e27\u0e31\u0e07<\/th><\/tr><\/thead><tbody><tr><td>HTML Meta Tag<\/td><td>\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e07\u0e48\u0e32\u0e22 \u0e40\u0e2b\u0e21\u0e32\u0e30\u0e01\u0e31\u0e1a Redirect \u0e0a\u0e31\u0e48\u0e27\u0e04\u0e23\u0e32\u0e27<\/td><td>\u0e44\u0e21\u0e48\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e01\u0e31\u0e1a SEO<\/td><\/tr><tr><td>JavaScript<\/td><td>\u0e40\u0e02\u0e35\u0e22\u0e19\u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e44\u0e14\u0e49\u0e2b\u0e25\u0e32\u0e01\u0e2b\u0e25\u0e32\u0e22<\/td><td>\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e1b\u0e34\u0e14 JS \u0e08\u0e30\u0e44\u0e21\u0e48\u0e17\u0e33\u0e07\u0e32\u0e19<\/td><\/tr><tr><td>Frameset<\/td><td>\u0e1b\u0e01\u0e1b\u0e34\u0e14 URL \u0e08\u0e23\u0e34\u0e07\u0e44\u0e14\u0e49<\/td><td>\u0e44\u0e21\u0e48\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a\u0e43\u0e19 HTML5<\/td><\/tr><tr><td>PHP<\/td><td>\u0e04\u0e27\u0e1a\u0e04\u0e38\u0e21\u0e1d\u0e31\u0e48\u0e07\u0e40\u0e0b\u0e34\u0e23\u0e4c\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e44\u0e14\u0e49\u0e14\u0e35<\/td><td>\u0e15\u0e49\u0e2d\u0e07\u0e21\u0e35 Web Server \u0e17\u0e35\u0e48\u0e23\u0e2d\u0e07\u0e23\u0e31\u0e1a PHP<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>4. \u0e2a\u0e23\u0e38\u0e1b<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0e01\u0e32\u0e23 Redirect URL \u0e40\u0e1b\u0e47\u0e19\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e21\u0e37\u0e2d\u0e17\u0e35\u0e48\u0e08\u0e33\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e19\u0e31\u0e01\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e43\u0e19\u0e2b\u0e25\u0e32\u0e01\u0e2b\u0e25\u0e32\u0e22\u0e01\u0e23\u0e13\u0e35 \u0e40\u0e0a\u0e48\u0e19 \u0e01\u0e32\u0e23\u0e1a\u0e33\u0e23\u0e38\u0e07\u0e23\u0e31\u0e01\u0e29\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07 URL \u0e2b\u0e23\u0e37\u0e2d\u0e01\u0e32\u0e23\u0e04\u0e27\u0e1a\u0e23\u0e27\u0e21\u0e42\u0e14\u0e40\u0e21\u0e19 \u0e40\u0e17\u0e04\u0e19\u0e34\u0e04\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e44\u0e14\u0e49\u0e15\u0e32\u0e21\u0e04\u0e27\u0e32\u0e21\u0e40\u0e2b\u0e21\u0e32\u0e30\u0e2a\u0e21\u0e02\u0e2d\u0e07\u0e2a\u0e16\u0e32\u0e19\u0e01\u0e32\u0e23\u0e13\u0e4c \u0e42\u0e14\u0e22\u0e1e\u0e36\u0e07\u0e23\u0e30\u0e27\u0e31\u0e07\u0e1c\u0e25\u0e01\u0e23\u0e30\u0e17\u0e1a\u0e15\u0e48\u0e2d\u0e1b\u0e23\u0e30\u0e2a\u0e1a\u0e01\u0e32\u0e23\u0e13\u0e4c\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49 (UX), \u0e04\u0e27\u0e32\u0e21\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33 SEO \u0e41\u0e25\u0e30\u0e21\u0e32\u0e15\u0e23\u0e10\u0e32\u0e19\u0e02\u0e2d\u0e07 HTML5 \u0e17\u0e35\u0e48\u0e2d\u0e31\u0e1b\u0e40\u0e14\u0e15\u0e2d\u0e22\u0e39\u0e48\u0e40\u0e2a\u0e21\u0e2d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e41\u0e19\u0e27\u0e17\u0e32\u0e07\u0e41\u0e25\u0e30\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19 HTML Code \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e40\u0e2a\u0e49 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[5,18],"tags":[],"class_list":["post-1010","post","type-post","status-publish","format-standard","hentry","category-training","category-18"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.gis2me.com\/geospatial\/index.php?rest_route=\/wp\/v2\/posts\/1010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gis2me.com\/geospatial\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gis2me.com\/geospatial\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gis2me.com\/geospatial\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gis2me.com\/geospatial\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1010"}],"version-history":[{"count":1,"href":"http:\/\/www.gis2me.com\/geospatial\/index.php?rest_route=\/wp\/v2\/posts\/1010\/revisions"}],"predecessor-version":[{"id":1011,"href":"http:\/\/www.gis2me.com\/geospatial\/index.php?rest_route=\/wp\/v2\/posts\/1010\/revisions\/1011"}],"wp:attachment":[{"href":"http:\/\/www.gis2me.com\/geospatial\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gis2me.com\/geospatial\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1010"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gis2me.com\/geospatial\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}