{"id":1290,"date":"2021-01-06T02:17:26","date_gmt":"2021-01-06T02:17:26","guid":{"rendered":"https:\/\/smotiv.com\/blog\/?p=1290"},"modified":"2021-01-07T06:54:06","modified_gmt":"2021-01-07T06:54:06","slug":"how-to-install-wordpress-in-a-subdirectory","status":"publish","type":"post","link":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/","title":{"rendered":"How to Install WordPress in a Subdirectory"},"content":{"rendered":"<p>Do you want to install WordPress in a subdirectory? Installing WordPress in a subdirectory allows you to run multiple WordPress instances under the same domain or even a subdomain name. In this article, we will show you how to install WordPress in a subdirectory without affecting the parent domain name.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1291\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/wpsubdirectoryinstall-og.png\" alt=\"\" width=\"550\" height=\"340\" \/><\/p>\n<p><strong>Subdomain vs Subdirectory? Which One is Better for SEO?<\/strong><br \/>\nNormally, you would want to start a WordPress website on its own domain name (for example, wpbeginner.com). However, sometimes you may want to create additional websites on the same domain name.<\/p>\n<p>This can be done by either installing WordPress in a subdomain (http:\/\/newebsite.example.com) or as a subdirectory (http:\/\/example.com\/newwebsite\/).<\/p>\n<p><strong>One question that we get asked is which one is better for SEO?<\/strong><\/p>\n<p>Search engines treat subdomains differently from root domain names and assign them rankings as a separate website.<\/p>\n<p>For instance, search Engines consider WPBeginner and our WPBeginner Videos website as two separate websites.<\/p>\n<p>On the other hand, sub-directories directly benefit from the domain authority of the root domain thus ranking higher in most cases.<\/p>\n<p>One way to create separate WordPress sites in both subdomain or subdirectory is by installing a WordPress multisite network.<\/p>\n<p>However, if you want to keep two websites managed separately, then you can install different instances of WordPress. You can also use WordPress site management tools to set up a single dashboard for managing your multiple WordPress installations.<\/p>\n<p><strong>Requirements for Installing WordPress in Subdirectory<\/strong><br \/>\nThere are no special requirements to install WordPress in a subdirectory. If you already have a WordPress website in the root domain name, then you are good to go.<\/p>\n<p>All top WordPress hosting companies make it very easy to install multiple WordPress websites using the same hosting account.<\/p>\n<p>For instance, if you are using Bluehost, you can add a new WordPress website from your hosting dashboard.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1292\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/bhcreatsite.png\" alt=\"\" width=\"550\" height=\"314\" \/><\/p>\n<p>However, please keep in mind that most shared hosting accounts have limited server resources. A sudden traffic spike on one of your websites will affect the performance and speed of all other websites on the same account.<\/p>\n<p>If you are just starting out, then you can do that on shared hosting. Keeping in mind that you\u2019ll need to upgrade to a managed WordPress hosting as your business grows.<\/p>\n<p>That being said, let\u2019s take a look at how to easily install WordPress in a subdirectory.<\/p>\n<p><strong>Step 1. Create a Subdirectory under The Root Domain Name<\/strong><br \/>\nFirst, you need to create a subdirectory or a folder under the main website. This is where you will install WordPress files.<\/p>\n<p>Connect to your WordPress hosting account using a FTP client or File Manager in cPanel.<\/p>\n<p>Once connected, go to the root folder of your website. Usually it is the \/public_html\/ folder. If you already have WordPress installed in the root folder, then you will see your WordPress files and folders there.<\/p>\n<p>Next, you need to right click and select \u2018Create new directory\u2019 from the menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1293\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/create-subdirectory.png\" alt=\"\" width=\"550\" height=\"264\" \/><\/p>\n<p>You need to be careful when choosing the name for your subdirectory. This will be part of your new WordPress site\u2019s URL and what your users will type in their browsers to reach this website.<\/p>\n<p>For example, if you name this directory travel-guides then your WordPress website\u2019s address will be:<\/p>\n<p>http:\/\/example.com\/travel-guides\/<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1295\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/newdirectory.png\" alt=\"\" width=\"550\" height=\"157\" \/><\/p>\n<p><strong>Step 2. Upload WordPress Files<\/strong><br \/>\nYour newly created subdirectory is empty at the moment. Let\u2019s change that by uploading WordPress files.<\/p>\n<p>First, you need to visit the WordPress.org website and click on the download button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1296\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/downloadwp.png\" alt=\"\" width=\"550\" height=\"334\" srcset=\"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/downloadwp.png 550w, https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/downloadwp-240x145.png 240w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>Your browser will now download the zip file containing the latest WordPress software to your computer.<\/p>\n<p>After downloading the file, you need to select and extract it. Mac users can double click the file to extract it and Windows users need to right-click and then select \u2018Extract All\u2019.<\/p>\n<p>After extracting the zip file, you will see the \u2018WordPress\u2019 folder containing all the WordPress files.<\/p>\n<p>Now let\u2019s upload these files to your new subdirectory.<\/p>\n<p>Connect to your website using an FTP client and go to the subdirectory you created in the first step.<\/p>\n<p>In the local files panel of your FTP client, go to the \u2018WordPress\u2019 folder you just extracted.<\/p>\n<p>Select all files inside the folder and then upload them to your new subdirectory.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1297\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/uploadfiles.jpg\" alt=\"\" width=\"550\" height=\"309\" \/><\/p>\n<p><strong>Step 3. Create a New Database<\/strong><br \/>\nWordPress stores all your content in a database. You need to create a new database to use with your new WordPress site installed in a subdirectory.<\/p>\n<p>First, you need to login to the cPanel dashboard of your WordPress hosting account. Click on \u2018MySQL Databases\u2019 under the databases section.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1298\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/mysqldb.png\" alt=\"\" width=\"550\" height=\"337\" \/><\/p>\n<p>Note: Your hosting dashboard may look different than the screenshot above. You simply need to locate the \u2018Databases\u2019 section.<\/p>\n<p>On the next screen, enter a name for your new database and then click on the \u2018Create Database\u2019 button to continue.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1299\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/dbname.png\" alt=\"\" width=\"550\" height=\"202\" \/><\/p>\n<p>Your cPanel dashboard will now create the new MySQL database. Click on the Go Back button to return to the Databases page.<\/p>\n<p>Next, you need to add a username and password for the database.<\/p>\n<p>Simply scroll down to the \u2018MySQL Users\u2019 section and provide a new username and password. Click on the \u2018Create User\u2019 button to continue.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1300\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/adddbuser.png\" alt=\"\" width=\"550\" height=\"288\" \/><\/p>\n<p>Next, you need to give this newly created user privileges to work on the database you created earlier.<\/p>\n<p>Scroll down to \u2018Add user to database\u2019 section. Select your MySQL username and then select your newly created database.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1301\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/addusetodb.png\" alt=\"\" width=\"550\" height=\"240\" \/><\/p>\n<p>Click on the Add button to continue.<\/p>\n<p>Cpanel will now grant the MySQL user full privileges on your newly created database.<\/p>\n<p><strong>Step 4. Install WordPress<\/strong><br \/>\nNow that everything is in place, you can go ahead and install WordPress. Simply visit the directory you created earlier in a web browser by typing the URL like this:<\/p>\n<p>http:\/\/example.com\/your-subdirectory-name\/<\/p>\n<p>This will bring up the WordPress installation wizard. First, you need to select the language for your WordPress website and click on the continue button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1302\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/continuewp.png\" alt=\"\" width=\"550\" height=\"325\" \/><\/p>\n<p>Next, you will be asked to provide your WordPress database name, database username, password, and host. Enter the database details and click on the submit button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1304\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/dbdetails.png\" alt=\"\" width=\"550\" height=\"334\" srcset=\"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/dbdetails.png 550w, https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/dbdetails-240x145.png 240w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/p>\n<p>WordPress will now connect to your database and you will see a success message like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1305\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/connectdb.png\" alt=\"\" width=\"550\" height=\"213\" \/><\/p>\n<p>Click on \u2018Run the install\u2019 button to continue.<\/p>\n<p>On the next screen, you will be asked to provide a title for your website and choose an admin username, password, and email address.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1306\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/wpwebsitedetails.png\" alt=\"\" width=\"550\" height=\"299\" \/><\/p>\n<p>After entering your website details, click on \u2018Run install\u2019 button to continue.<\/p>\n<p>WordPress will now set up your website and will show you a success message:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1307\" src=\"https:\/\/smotiv.com\/blog\/wp-content\/uploads\/2021\/01\/wpsuccess.png\" alt=\"\" width=\"550\" height=\"266\" \/><\/p>\n<p><strong>Step 5. Fix Permalinks<\/strong><br \/>\nIf you have a separate WordPress install in the root directory, then the .htaccess files of your subdirectory will cause conflict. This will result in 404 errors on your website.<\/p>\n<p>To solve this, you need to edit the .htaccess file in your subdirectory WordPress install. Replace the code inside your .htaccess file with the following code:<\/p>\n<p># BEGIN WordPress<br \/>\n&lt;IfModule mod_rewrite.c&gt;<br \/>\nRewriteEngine On<br \/>\nRewriteBase \/your-subdirectory\/<br \/>\nRewriteRule ^index.php$ &#8211; [L]<br \/>\nRewriteCond %{REQUEST_FILENAME} !-f<br \/>\nRewriteCond %{REQUEST_FILENAME} !-d<br \/>\nRewriteRule . \/your-subdirectory\/index.php [L]<br \/>\n&lt;\/IfModule&gt;<\/p>\n<p># END WordPress<\/p>\n<p>Don\u2019t forget to replace \/your-subdirectory\/ with your own subdirectory name.<\/p>\n<p>We hope this article helped you install WordPress in a subdirectory.<\/p>\n<div class=\"ddict_btn\" style=\"top: 6895px; left: 169.312px;\"><img decoding=\"async\" src=\"chrome-extension:\/\/bpggmmljdiliancllaapiggllnkbjocb\/logo\/16.png\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Do you want to install WordPress in a subdirectory? Installing WordPress in a subdirectory allows you to run multiple WordPress instances under the same domain or even a subdomain name. In this article, we will show you how to install WordPress in a subdirectory without affecting the parent domain name. Subdomain vs Subdirectory? Which One [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":1442,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1290","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install WordPress in a Subdirectory<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install WordPress in a Subdirectory\" \/>\n<meta property=\"og:description\" content=\"Do you want to install WordPress in a subdirectory? Installing WordPress in a subdirectory allows you to run multiple WordPress instances under the same domain or even a subdomain name. In this article, we will show you how to install WordPress in a subdirectory without affecting the parent domain name. Subdomain vs Subdirectory? Which One [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/\" \/>\n<meta property=\"og:site_name\" content=\"Wordpress Development\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-06T02:17:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-07T06:54:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/how-to-reinstall-wordpress.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"smotiv\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"smotiv\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/\"},\"author\":{\"name\":\"smotiv\",\"@id\":\"https:\/\/smo.vn\/blog\/#\/schema\/person\/c4411e934ad493996ca1e85bee7db261\"},\"headline\":\"How to Install WordPress in a Subdirectory\",\"datePublished\":\"2021-01-06T02:17:26+00:00\",\"dateModified\":\"2021-01-07T06:54:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/\"},\"wordCount\":1200,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/smo.vn\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/how-to-reinstall-wordpress.png\",\"articleSection\":[\"General\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/\",\"url\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/\",\"name\":\"How to Install WordPress in a Subdirectory\",\"isPartOf\":{\"@id\":\"https:\/\/smo.vn\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/how-to-reinstall-wordpress.png\",\"datePublished\":\"2021-01-06T02:17:26+00:00\",\"dateModified\":\"2021-01-07T06:54:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#primaryimage\",\"url\":\"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/how-to-reinstall-wordpress.png\",\"contentUrl\":\"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/how-to-reinstall-wordpress.png\",\"width\":1460,\"height\":730},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/smo.vn\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install WordPress in a Subdirectory\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/smo.vn\/blog\/#website\",\"url\":\"https:\/\/smo.vn\/blog\/\",\"name\":\"Wordpress Development\",\"description\":\"Vietnam Out Sourcing Services !\",\"publisher\":{\"@id\":\"https:\/\/smo.vn\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/smo.vn\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/smo.vn\/blog\/#organization\",\"name\":\"Wordpress Development\",\"url\":\"https:\/\/smo.vn\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/smo.vn\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2020\/12\/cropped-smo-logo-e1609398962174.png\",\"contentUrl\":\"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2020\/12\/cropped-smo-logo-e1609398962174.png\",\"width\":240,\"height\":240,\"caption\":\"Wordpress Development\"},\"image\":{\"@id\":\"https:\/\/smo.vn\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/smo.vn\/blog\/#\/schema\/person\/c4411e934ad493996ca1e85bee7db261\",\"name\":\"smotiv\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/smo.vn\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/75d6a7b9c28ad7e4baa61751537a2463daa1b7e8b0c07ab7671054bfe7c2b4bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/75d6a7b9c28ad7e4baa61751537a2463daa1b7e8b0c07ab7671054bfe7c2b4bd?s=96&d=mm&r=g\",\"caption\":\"smotiv\"},\"url\":\"https:\/\/smo.vn\/blog\/author\/smotiv\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install WordPress in a Subdirectory","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:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/","og_locale":"en_US","og_type":"article","og_title":"How to Install WordPress in a Subdirectory","og_description":"Do you want to install WordPress in a subdirectory? Installing WordPress in a subdirectory allows you to run multiple WordPress instances under the same domain or even a subdomain name. In this article, we will show you how to install WordPress in a subdirectory without affecting the parent domain name. Subdomain vs Subdirectory? Which One [&hellip;]","og_url":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/","og_site_name":"Wordpress Development","article_published_time":"2021-01-06T02:17:26+00:00","article_modified_time":"2021-01-07T06:54:06+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/how-to-reinstall-wordpress.png","type":"image\/png"}],"author":"smotiv","twitter_card":"summary_large_image","twitter_misc":{"Written by":"smotiv","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#article","isPartOf":{"@id":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/"},"author":{"name":"smotiv","@id":"https:\/\/smo.vn\/blog\/#\/schema\/person\/c4411e934ad493996ca1e85bee7db261"},"headline":"How to Install WordPress in a Subdirectory","datePublished":"2021-01-06T02:17:26+00:00","dateModified":"2021-01-07T06:54:06+00:00","mainEntityOfPage":{"@id":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/"},"wordCount":1200,"commentCount":0,"publisher":{"@id":"https:\/\/smo.vn\/blog\/#organization"},"image":{"@id":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#primaryimage"},"thumbnailUrl":"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/how-to-reinstall-wordpress.png","articleSection":["General"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/","url":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/","name":"How to Install WordPress in a Subdirectory","isPartOf":{"@id":"https:\/\/smo.vn\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#primaryimage"},"image":{"@id":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#primaryimage"},"thumbnailUrl":"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/how-to-reinstall-wordpress.png","datePublished":"2021-01-06T02:17:26+00:00","dateModified":"2021-01-07T06:54:06+00:00","breadcrumb":{"@id":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#primaryimage","url":"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/how-to-reinstall-wordpress.png","contentUrl":"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2021\/01\/how-to-reinstall-wordpress.png","width":1460,"height":730},{"@type":"BreadcrumbList","@id":"https:\/\/smo.vn\/blog\/how-to-install-wordpress-in-a-subdirectory\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/smo.vn\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install WordPress in a Subdirectory"}]},{"@type":"WebSite","@id":"https:\/\/smo.vn\/blog\/#website","url":"https:\/\/smo.vn\/blog\/","name":"Wordpress Development","description":"Vietnam Out Sourcing Services !","publisher":{"@id":"https:\/\/smo.vn\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/smo.vn\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/smo.vn\/blog\/#organization","name":"Wordpress Development","url":"https:\/\/smo.vn\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/smo.vn\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2020\/12\/cropped-smo-logo-e1609398962174.png","contentUrl":"https:\/\/smo.vn\/blog\/wp-content\/uploads\/2020\/12\/cropped-smo-logo-e1609398962174.png","width":240,"height":240,"caption":"Wordpress Development"},"image":{"@id":"https:\/\/smo.vn\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/smo.vn\/blog\/#\/schema\/person\/c4411e934ad493996ca1e85bee7db261","name":"smotiv","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/smo.vn\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/75d6a7b9c28ad7e4baa61751537a2463daa1b7e8b0c07ab7671054bfe7c2b4bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/75d6a7b9c28ad7e4baa61751537a2463daa1b7e8b0c07ab7671054bfe7c2b4bd?s=96&d=mm&r=g","caption":"smotiv"},"url":"https:\/\/smo.vn\/blog\/author\/smotiv\/"}]}},"_links":{"self":[{"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/posts\/1290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/comments?post=1290"}],"version-history":[{"count":1,"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/posts\/1290\/revisions"}],"predecessor-version":[{"id":1308,"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/posts\/1290\/revisions\/1308"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/media\/1442"}],"wp:attachment":[{"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/media?parent=1290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/categories?post=1290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smo.vn\/blog\/wp-json\/wp\/v2\/tags?post=1290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}