subdomain navigation links how to change default link address

[ad_1]

I've got a WordPress site hosted on a subdomain on InMotion hosting. When I create an About page the link is subdomain.com.maindomain.com/about. How do I change that link to subdomain.com/about? I've checked the code and I do not see where to change the link address. I am using 2024 theme.

[ad_2]
2 Comments
  1. The link cannot be subdomain.com because that’s not a subdomain. If is it directly to the left of the ”.com” (or .net, .io, or any other TLD) it is a domain, and needs to be registered/purchased.

    A subdomain is anything to the left of the second dot (from the right) in a web address. It hangs off the domain and so you can create as many as you want.

    To do what want you need to register “subdomain” and then in the DNS settings point to your site with either an A record if you have an IP address or a CNAME record pointing to maindomain.com.

  2. If the url is generating itself incorrectly then that likely means it’s wrong in the Settings, though I’m confused how the site would even be working correctly if that were the case.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer