• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue Main Domain is redirecting to Sub Domain

PackerlandWebsites

New Pleskian
A client wanted his website on his own hosting provider, which uses Plesk (I normally use cPanel). His hosting provider had me set up the website on a subdomain (ie. www.test.domain.com). They stated that once I was done, they would transfer it to the main domain. I built the website with WordPress. They transferred the website, and now when you go to the main domain, it redirects to the subdomain. Which, we want the website on the main domain. The hosting provider claims that WordPress is causing the issues, but for some reason that just doesn't make sense. I've logged into Plesk, and I can't find anything that indicates that there is a redirect on the domain. Any suggestions are greatly appreciated.
 
Well, the problem seems to be with your WordPress account which was earlier on sub-domain.
All you have to do some settings in WordPress account. These settings can be adjusted directly in the WordPress admin dashboard from Settings>> General >> Fill in your WordPress Address and Site Address and click Save.
or you can make these modifications to your wp-config.php file as well.
Edit wp-config.php file
----
define('WP_HOME','http://domain.com');
define('WP_SITEURL','http://domain.com');
----
 
This makes total sense. I'll keep this in mind for future endeavors. I ended up removing WP from the sub-domain, and installing new on the main domain. Thanks for the suggestion! :)
 
Back
Top