{"id":19751,"date":"2014-04-04T18:01:59","date_gmt":"2014-04-04T10:01:59","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=19751"},"modified":"2025-04-04T00:06:25","modified_gmt":"2025-04-03T16:06:25","slug":"symlink-alias-folder","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/","title":{"rendered":"Optimize Web Development with Symbolic Links and Apache Alias"},"content":{"rendered":"<p>Today, many web developers work <strong>remotely<\/strong>. We have access to numerous collaboration tools and <a href=\"https:\/\/www.hongkiat.com\/blog\/file-sharing-tools\/\">file-sharing applications<\/a> like <a href=\"https:\/\/www.hongkiat.com\/blog\/dropbox-tools\/\">Dropbox<\/a>. However, a common issue arises when the web documents you save are not accessible through a <code>localhost<\/code> address in your browser because they are outside the Apache Server <code>DocumentRoot<\/code>.<\/p>\n<p>To resolve this, you could change the <code>DocumentRoot<\/code> path to point to the Dropbox folder. Although this can be done easily in <a href=\"https:\/\/www.hongkiat.com\/blog\/wordpress-multisite-with-mamp\/\">MAMP<\/a> using the GUI, you might need to <strong>switch the path<\/strong> frequently to <strong>access other websites stored in the original path<\/strong>, which is quite inefficient.<\/p>\n<p>A better option is to create a <strong>Symbolic Link (Symlink)<\/strong> and <strong>Apache Alias<\/strong>. These allow you to <strong>keep the original files in Dropbox while still accessing them through the <code>localhost<\/code> address<\/strong> in your browser \u2013 just as if the folder were in the Apache <code>DocumentRoot<\/code>. This post will guide you through the process.<\/p>\n<h2>Symlink in macOS<\/h2>\n<p>In macOS and other UNIX-based operating systems like Ubuntu, you can create a Symlink using Terminal with the following command:<\/p>\n<pre>\r\nln -s path\/to\/source path\/destination\/symlink\r\n<\/pre>\n<p>For example, if your website files are saved under the \u201cDropbox\/Sites\/project\u201d directory, use this command in Terminal to create a Symlink to that folder:<\/p>\n<pre>\r\nln -s Dropbox\/Sites\/project ~\/Sites\/project\r\n<\/pre>\n<p>Be sure to adjust the destination path as needed. If you are using MAMP, you can set the path to <code>Applications\/MAMP\/htdocs\/project<\/code> or <code>\/Library\/WebServer\/Documents<\/code> if you are using the built-in Apache from macOS.<\/p>\n<p>A key difference between a Symlink and a Shortcut or Alias Folder is that a Symlink is treated like the original file. It can be <strong>accessed through Terminal<\/strong> and <strong>added to any GUI application<\/strong>. For instance, in Sublime Text, you can add the Symlink as a <strong>Project<\/strong> instead of the original source \u2013 something you cannot do with a Shortcut or Alias folder.<\/p>\n<h2>Symlink in Windows<\/h2>\n<p>In Windows, you create a Symlink using the <code>mklink<\/code> command:<\/p>\n<pre>\r\nmklink \/d \"path\\destination\\symlink\" \"path\\to\\source\"\r\n<\/pre>\n<p>Open Command Prompt and enter this command to create a Symlink in the WAMPServer directory that points to the source in Dropbox:<\/p>\n<pre>\r\nmklink \/d \"c:\\wamp\\www\\project\" \"c:\\Users\\thoriq\\project\"\r\n<\/pre>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/symlink-alias-folder\/mklink-done.jpg\" alt=\"Creating Symlink in Windows Command Prompt\" width=\"500\" height=\"320\"><\/figure>\n<h2>Apache Alias in macOS<\/h2>\n<p>In addition to creating a Symlink, you can also use Apache Alias. Not to be confused with an Alias Folder, Apache Alias is a module in Apache for URL mapping that designates a specific path with an Alias. This allows you to access folders through the <code>localhost<\/code> address as if they were stored inside the Apache <code>DocumentRoot<\/code>.<\/p>\n<p>Before creating an Alias, ensure that the <code>mod_alias<\/code> module is enabled. In Terminal, navigate to <code>\/etc\/apache2<\/code> and open the <code>httpd.conf<\/code> file. Remove the hash sign at the beginning of the following line:<\/p>\n<pre>\r\nLoadModule alias_module libexec\/apache2\/mod_alias.so\r\n<\/pre>\n<p>Next, add the following line at the bottom of <code>httpd.conf<\/code> to ensure that the folder and configuration files in it are recognized:<\/p>\n<pre>\r\nInclude \/private\/etc\/apache2\/alias\/*.conf\r\n<\/pre>\n<p>In Terminal, type these commands to create the \u201calias\u201d folder and the \u201capp.conf\u201d file, where you will write the Alias configuration:<\/p>\n<pre>\r\nsudo mkdir \/etc\/apache2\/alias\r\nsudo touch \/etc\/apache2\/alias\/app.conf\r\n<\/pre>\n<p>To open the <code>app.conf<\/code> file in Sublime Text, use this command:<\/p>\n<pre>\r\nsudo subl \/etc\/apache2\/alias\/app.conf\r\n<\/pre>\n<p>An Apache Alias is specified like this:<\/p>\n<pre>\r\nAlias \/alias-name \"\/source\/of\/original\/folder\"\r\n<\/pre>\n<p>Here\u2019s a complete example that you can add to <code>app.conf<\/code>:<\/p>\n<pre>\r\nAlias \/app \"\/Users\/thoriq\/Dropbox\/app\"\r\n\r\n&lt;Directory \"\/Users\/thoriq\/Dropbox\/app\"&gt;\r\n    Options Indexes FollowSymLinks MultiViews\r\n    AllowOverride all\r\n    Order allow,deny\r\n    Allow from all\r\n&lt;\/Directory&gt;\r\n<\/pre>\n<p>Save the file and restart Apache. With this configuration, you should be able to access the <code>localhost\/app<\/code> address through your browser, even though the actual folder is in the Dropbox folder.<\/p>\n<h2>Apache Alias in Windows<\/h2>\n<p>If you\u2019re using Windows and WAMPServer, you can easily create an Apache Alias. Start by clicking the WAMPServer icon in the taskbar and navigating to the \u201cApache\/Alias directories\/Add an alias\u201d menu.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/symlink-alias-folder\/wampserver-creating-alias.jpg\" alt=\"Creating Apache Alias in WAMPServer\" width=\"500\" height=\"320\"><\/figure>\n<p>A window similar to the Windows Command Prompt will open. Enter the name of the alias. For example, if you name the alias \u201capp,\u201d it will be accessible at <code>localhost\/app<\/code> in your browser. Press <span class=\"key\">Enter<\/span> to confirm the alias name.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/symlink-alias-folder\/apache-alias-name.jpg\" alt=\"Confirming Alias Name in WAMPServer\" width=\"500\" height=\"150\"><\/figure>\n<p>Next, specify the source of the alias, such as <code>c:\/Users\/thoriq\/Dropbox\/Sites\/app<\/code>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/symlink-alias-folder\/apache-alias-source.jpg\" alt=\"Specifying Alias Source in WAMPServer\" width=\"500\" height=\"150\"><\/figure>\n<p>And that\u2019s it!<\/p>\n<h2>Conclusion<\/h2>\n<p>This post has demonstrated how to create Symbolic Links and Apache Aliases, which are helpful for <strong>accessing and managing folders<\/strong> outside the Apache <code>DocumentRoot<\/code>.<\/p>\n<h2>Further Reference<\/h2>\n<ul>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/docs.microsoft.com\/en-gb\/\">Mklink Command<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/httpd.apache.org\/docs\/2.2\/mod\/mod_alias.html\">Apache mod_alias<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.lifewire.com\/aliases-symbolic-links-hard-links-mac-2260189\">What Are Aliases, Symbolic Links, and Hard Links in macOS?<\/a><\/li>\n<li><a rel=\"nofollow noopener\" target=\"_blank\" href=\"http:\/\/superuser.com\/questions\/253935\/what-is-the-difference-between-symbolic-link-and-shortcut\">What is the Difference Between Symbolic Link and Shortcut?<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Today, many web developers work remotely. We have access to numerous collaboration tools and file-sharing applications like Dropbox. However, a common issue arises when the web documents you save are not accessible through a localhost address in your browser because they are outside the Apache Server DocumentRoot. To resolve this, you could change the DocumentRoot&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[352],"tags":[2987],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Optimize Web Development with Symbolic Links and Apache Alias - Hongkiat<\/title>\n<meta name=\"description\" content=\"Today, many web developers work remotely. We have access to numerous collaboration tools and file-sharing applications like Dropbox. However, a common\" \/>\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.hongkiat.com\/blog\/symlink-alias-folder\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Optimize Web Development with Symbolic Links and Apache Alias\" \/>\n<meta property=\"og:description\" content=\"Today, many web developers work remotely. We have access to numerous collaboration tools and file-sharing applications like Dropbox. However, a common\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2014-04-04T10:01:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-03T16:06:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/symlink-alias-folder\/mklink-done.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"Optimize Web Development with Symbolic Links and Apache Alias\",\"datePublished\":\"2014-04-04T10:01:59+00:00\",\"dateModified\":\"2025-04-03T16:06:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/\"},\"wordCount\":655,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/symlink-alias-folder\\\/mklink-done.jpg\",\"keywords\":[\"Apache\"],\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/\",\"name\":\"Optimize Web Development with Symbolic Links and Apache Alias - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/symlink-alias-folder\\\/mklink-done.jpg\",\"datePublished\":\"2014-04-04T10:01:59+00:00\",\"dateModified\":\"2025-04-03T16:06:25+00:00\",\"description\":\"Today, many web developers work remotely. We have access to numerous collaboration tools and file-sharing applications like Dropbox. However, a common\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/symlink-alias-folder\\\/mklink-done.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/symlink-alias-folder\\\/mklink-done.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/symlink-alias-folder\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Optimize Web Development with Symbolic Links and Apache Alias\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Optimize Web Development with Symbolic Links and Apache Alias - Hongkiat","description":"Today, many web developers work remotely. We have access to numerous collaboration tools and file-sharing applications like Dropbox. However, a common","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.hongkiat.com\/blog\/symlink-alias-folder\/","og_locale":"en_US","og_type":"article","og_title":"Optimize Web Development with Symbolic Links and Apache Alias","og_description":"Today, many web developers work remotely. We have access to numerous collaboration tools and file-sharing applications like Dropbox. However, a common","og_url":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2014-04-04T10:01:59+00:00","article_modified_time":"2025-04-03T16:06:25+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/symlink-alias-folder\/mklink-done.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"Optimize Web Development with Symbolic Links and Apache Alias","datePublished":"2014-04-04T10:01:59+00:00","dateModified":"2025-04-03T16:06:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/"},"wordCount":655,"commentCount":1,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/symlink-alias-folder\/mklink-done.jpg","keywords":["Apache"],"articleSection":["Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/","url":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/","name":"Optimize Web Development with Symbolic Links and Apache Alias - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/symlink-alias-folder\/mklink-done.jpg","datePublished":"2014-04-04T10:01:59+00:00","dateModified":"2025-04-03T16:06:25+00:00","description":"Today, many web developers work remotely. We have access to numerous collaboration tools and file-sharing applications like Dropbox. However, a common","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/symlink-alias-folder\/mklink-done.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/symlink-alias-folder\/mklink-done.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/symlink-alias-folder\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Optimize Web Development with Symbolic Links and Apache Alias"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-58z","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=19751"}],"version-history":[{"count":5,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19751\/revisions"}],"predecessor-version":[{"id":73484,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/19751\/revisions\/73484"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=19751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=19751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=19751"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=19751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}