• Shopping Cart Shopping Cart
    0Shopping Cart
  • 1 Day® Website
  • 1 Day® Branding
  • 1 Day® Brandstorm
  • 1 Day® Startup
  • 1 Day® SEO
  • 1 Day® Social
  • 1 Day® Website
  • 1 Day® Branding
  • 1 Day® Brandstorm
  • 1 Day® Startup
  • 1 Day® Strategy
  • 1 Day® SEO
  • WordPress
    • WordPress Web Design
    • WordPress Training
    • WordPress Website Maintenance & Support
    • What is WordPress?
  • Reviews
  • Resources ▾
    • Blog
    • Website Preparation Guide
    • 25 Elements of a Magnetic Brand
    • How to Name Your Startup
    • A Startup’s Guide to Hiring a Web Design Company
    • Video Tutorials & Resources
  • Free Tools ▾
    • Google Font Finder Tool
    • Brand Core Values Exercise
    • Brand Voice Interactive Exercise
    • Brand Archetype Quiz
  • Portfolio
  • About Us ▾
    • Our Team
    • Past Clients
    • Press
    • Passion Projects
    • Get 1 Day Certified
  • Logo Store
  • Contact
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
Bizzy Bizzy Blog
Content Planning for Your WordPress Website

Adding a Subdomain for a Page on Your WordPress Website

October 24, 2014/in Website Design, WordPress How To's & Tricks /by Candy Phelps

Do you want to have a page on your WordPress website with it’s own subdomain? You’ve come to the right place. Here is a video tutorial showing you how to accomplish just that. This video is for professional web designers and not the faint of heart!

Wondering what is a domain name? 

You might use this to create landing pages or demo pages on your website. Click here to download the file (you will need to unzip the file before uploading) or copy the code below:
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/


/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/


$_GET['page_id']=4323;

define(‘WP_USE_THEMES’, true);

/** Loads the WordPress Environment and Template */
require(‘../wp-blog-header.php’);

How to add a subdomain to a WordPress page instructions:

If you prefer to read the How-To instead of watching the video, here are the steps:

  1. Create your page on your WordPress site by logging into your Dashboard and going to Pages>Add New.
  2. Type in a title and add content to your page. Then, click “Publish.”
  3. Log into your hosting account and navigate to Subdomains. Depending on your host, it might be under Domains or Hosting. Use your host’s search or help section, if you can’t find it.
  4. Add a subdomain that points to a subdirectory. HINT: Only use lower case letters and numbers for both the subdomain name and subdirectory.
  5. Now, go to the File Manager on your hosting account, and click on the subdirectory that was created when you added the subdomain.
  6. Copy the code above for the file called index.php. Open Notepad or any text editor and paste the code into it.
  7. Type in the ID of your new page in the file where it says: $_GET[‘page_id’]=4323; Note: You need to replace the number shown in bold with the ID of your new page. You can find the ID of your page by hovering over the Edit button while editing your page. Look in the lower left corner of your screen to see the URL, which includes post=ID.
  8. Save the file on your computer with file name as index.php. You may need to select a different file type, so you don’t accidentally save the file as index.php.txt.
  9. Back in the File Manager on your hosting account, make sure you are in the subdirectory which the subdomain points to and click Upload. Browse to the file you saved on your computer and upload it to the subdirectory.

 

Read more about the WordPress platform and why it’s the best.

Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Vk
  • Share on Reddit
  • Share by Mail
Search Search

Recent Posts

  • Unleashing Creativity: DIY Your Social Media and Marketing with Adobe Express
  • Some of our Fave Website Projects of 2023
  • The Cinderella of SEO: Optimizing Your Website for Your Business Name
  • Case Study: Underground Self-Defense WordPress Website Design
  • What Is a Domain Name and Everything Else You Need to Know

Categories

Topics

1 Day Branding 1 Day Website blogging branding business branding business websites content management systems content marketing design ecommerce Enfold enfold theme free icons friday freebie Google Google Analytics graphic design Grow Your SEO how-to icon design icons marketing networking rebranding responsive web design search engine optimization SEO small business websites social media tutorial web design Website Content website design website development website planning website redesign websites Wix wordpress wordpress how to wordpress plugins WordPress security WordPress training wordpress tutorial YouTube

Let’s Get Bizzy

© Copyright 2025 Bizzy Bizzy | All Rights Reserved

Email

info@bizzybizzycreative.com

Madison, WI

2002 Atwood Ave | Unit 211

Contact Us

LGBTQIA flagBlack Lives Matter flag

Newsletter Sign Up
Link to: Social Media Profile Specifications Link to: Social Media Profile Specifications Social Media Profile SpecificationsSocial Media Blog Link to: How Can I Tell if My Website is Affected by POODLE? Link to: How Can I Tell if My Website is Affected by POODLE? SecurityHow Can I Tell if My Website is Affected by POODLE?
Scroll to top Scroll to top Scroll to top