Bobcares Logo
Search Phone User Profile Emergency Contact
Bobcares Logo
Search Phone User Profile Emergency Contact
Emergency Contact Client Portal
SOLUTIONS
Product Engineering
MVP Build
MVP to Scale
Product Maintenance
Digital Transformation
Process Digitization & Automation
Systems Integration & Workflow Orchestration
Data Enablement & Decision Support
Application & Platform Modernization
Transformation Execution
AI Services
AI Readiness & Use-Case Discovery
AI Integration & Application Enablement
Intelligent Automation & AI Workflows
Infrastructure Management & Optimization
Always-On Infrastructure Management
Proactive Monitoring & Incident Prevention
Cloud Cost Control & Optimization (FinOps)
Outsourced IT & End-User Support
Managed Infrastructure Execution Support
DevOps & Automation Services
CI/CD & Release Automation
Infrastructure as Code & Platform Standardization
Reliability Engineering & Observability
DevSecOps Enablement
Cybersecurity
Security Assessment & Risk Posture
Threat Monitoring & Incident Response
Infrastructure & Cloud Security Hardening
Vulnerability Assessment & Penetration Testing (VAPT)
Backup, Disaster Recovery & BCP

Temporary URL setup in cPanel/WHM servers

by Visakh S | Oct 9, 2014 | cPanel, Server Administration, WordPress | 0 comments

Please Note: This article is part of our historical archive. Because it was published a while ago, some of the information, links, or context may now be outdated.

“My WordPress is broke after migration.”
“My WordPress links are not working.”
“I cant login to admin page!”
“My theme and stylesheet is all messed up!”
“WordPress site images are missing.”

If you are a cPanel/WHM webhost, you would recognize these support requests usually follow a WordPress site migration, a domain change or a new WordPress setup in a temporary URL.

Bobcares help desk support services routinely help web masters setup WordPress sites with minimal downtime. Below are a few common issues we’ve seen that cause WordPress site links to be broken.

Incorrect SITE URL

The configuration variable WP_SITEURL tells WordPress where the WordPress core files are located. We’ve seen that in the following situations the Site URL setting would be different from the actual WordPress path.

  1. When changing the status of an account from sub-domain to main domain or vice versa.
  2. When migrating a new site from development server to live server.
  3. When changing the domain name. When the primary reference URL changes, 
  4. When enabling SSL as the default mode. The Site URL by default would be using “http://”.
  5. When auto script installers like Softaculous uses primary domain name while installing WordPress on a temporary URL.
  6. When a temporary URL referenced through IP is made live.
  7. When transitioning the site from a sub-folder to document root folder or vice versa.

All the above situations cause a wrong domain name to be put in the Site URL path. This will cause broken links, redirects to old sites, redirect loops, broken images, broken themes and inability to login to WordPress. To fix it, either the database can be updated, or the WordPress configuration file can be updated. We usually edit the wp-config.php configuration file located in the WordPress root folder. Just make the following change to update Site URL.

Change
 define('WP_SITEURL', 'http://old-domain-path.com/wordpress');
 To
 define('WP_SITEURL', 'http://new-domain-path.com/wordpress');

Incorrect Blog URL

WP_HOME is the configuration setting that tells WordPress what the address bar URL should be. All the above situations that warrant a change in Site URL necessitate a change in Blog URL settings as well. Incorrect Blog URL settings result in broken WordPress login page, redirect loops, redirects to old sites, broken links and broken images. Since the admin page would be in-accessible, we resolve this issue by updating the wp-config.php configuration file as shown below:

Change
 define('WP_HOME', 'http://old-domain-path.com/wordpress');
 To
 define('WP_HOME', 'http://new-domain-path.com/wordpress');

Missing WordPress/Theme/Plugin files

Themes and plugins can affect how the entire site functions. We’ve seen that in the following situations, critical files of themes, plugins or WordPress core files do get missed out, which causes the entire site to break.

  1. Incomplete files upload/transfer – When uploading or transferring large sites, sessions sometimes break, and when a re-upload is attempted, critical files could go missing. Based on a comparative listing of source and destination, we get the list of missing files, which would then be used to update the site.
  2. Selective backup restores – Web masters sometimes try to selectively restore directories to roll back changes they have made to the site. This could result in old versions of files to be uploaded, or critical files to go entirely missing. We are usually able to restore such files from our weekly or monthly backup archives.
  3. Website intrusion – As we’ve covered earlier, stolen passwords and vulnerable WordPress versions are popular ways for hackers to take control of websites. In their attempt to inject malware, sometimes critical files get deleted. We are usually able to restore a safe website from daily backups.
  4. Aggressive anti-malware – Some servers set their anti-malware programs at “paranoid” setting, and this could cause valid theme or plugin files to be quarantined as malware. Malware logs show recent quarantines, and we white-list md5 signatures of files in popular WordPress themes and plugins to avoid such issues.

Incorrect permissions

As a rule, WordPress directories should have 755 permissions and files should have 644 permissions. When setting up a WordPress site with various themes and plugins, web masters are known to miss out on the required directory and file permissions. We quickly fix these issues by finding such directories through a find command and feeding that list into a chmod command.

Improper permalinks updates

Some web masters secure their .htaccess by write-protecting it, but WordPress requires that .htaccess be write-able by the web server when changing permalinks settings. When .htaccess is write protected, the site URLs would have changed, but the proper re-direction would not be present in the .htaccess file, causing the site to be broken. A WordPress site with custom permalinks setup should look like the following:

<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteBase /
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteRule . /index.php [L]
 </IfModule>

The above are the most common causes for broken links, broken themes, or broken login interfaces in WordPress websites, and we keep adding to the list as WordPress keeps evolving. In our help desk support services, we rely on systematic troubleshooting, that enables us to quickly and accurately resolve any WordPress issue reported by web masters.

Looking for a better help desk support experience for your customers? Check out our Help Desk support features below:

Take me there!

Related posts:

    1. How to resolve WordPress “missing images” and “missing files” errors in a cPanel/WHM server
    2. How to resolve WordPress “missing images” and “missing files” errors in a DirectAdmin server
    3. How to resolve WordPress “missing images” and “missing files” errors in a Virtualmin/Webmin server
    4. How to resolve WordPress “missing images” and “missing files” errors in a Parallels Plesk Linux server

Recent Posts

  • How to Achieve ISO Compliance in Cloud Hosting
  • Managed IT Services Cost and Pricing Guide for 2026
  • AWS CloudWatch: Monitoring, Alerts, and Best Practices
  • How to Reduce Cloud Bills: 11 Practical Ways
  • Hybrid Cloud Management: Best Practices and Tools

Categories

  • Advanced Vulnerability
  • AI Automation
  • AI Services
  • AI Support
  • AIOps
  • Amazon Web Services (AWS)
  • Apache
  • API Integration
  • Application Development
  • Azure
  • Business Process Management
  • Business Process Reengineering
  • Cloud Cost Optimization
  • Cloud Management
  • Cloud-Native Application
  • Cloudflare
  • cPanel
  • cPanel migration
  • Cyberpanel
  • DDoS
  • Development Service
  • DevOps
  • DevOps Consulting
  • DevSecOps
  • Digital Transformation
  • DigitalOcean
  • DirectAdmin
  • Docker
  • Drupal
  • Ecommerce
  • Feedback Management Systems
  • Filezilla
  • FTP
  • Full-Stack Product Development
  • Google cloud platform
  • HAProxy
  • Headless CMS Integration
  • Hosting Support
  • Hybrid Cloud Management
  • IIS
  • Infrastructure Management & Optimization
  • Kubernetes
  • KVM
  • Laravel
  • Latest
  • Legacy Application Modernization
  • Linode
  • Litespeed
  • LXC/LXD
  • Magento
  • Managed cloud services
  • Managed IT Services
  • Microservices Architecture
  • Mobile App Development
  • MongoDB
  • Moodle
  • MySQL
  • NFS
  • Nginx
  • OnApp
  • Outsourced Support
  • OVH
  • ovirt
  • Performance Optimization & Monitoring
  • pfsense
  • Plesk
  • PostgreSQL
  • PowerDNS
  • Product Engineering
  • Proxmox
  • RedHat
  • Redis
  • SaaS Development
  • Sendmail
  • Server Administration
  • Server Management
  • Software Development
  • Software Testing
  • SQLServer
  • Technical Support
  • UI/UX
  • Virtualizor
  • VMware
  • VPN
  • Vulnerability Scanning
  • Vultr
  • Web Development
  • Windows
  • WordPress
  • WordPress Hosting
  • WordPressHA

Subscribe to our newsletter

Footer newsletter

Email inquiry@bobcares.com | Phone 1-800-383-5193

Solutions

  • Product Engineering
  • Digital Transformation
  • AI Services
  • Infrastructure Management & Optimization
  • DevOps & Automation Services
  • Cybersecurity

Services

  • Managed IT Services
  • Cloud Modernization Services
  • Custom Software Development Services
  • DevOps services
  • Business Process Management Services

Insights

  • Case Studies
  • Blog

Company

  • About Us
  • Our Partners
  • Careers
  • CSR
Product Engineering +
Web Development MVP to Scale Builds Microservices Architecture Agile & Dev Team Augmentation Mobile Apps Ecommerce UI/UX Design QA & Test Automation
Digital Transformation +
Legacy Modernization Workflow Automation Data-Driven Dashboards CRM / ERP Integration Business Process Re-engineering
AI Services +
AI & Machine Learning AIOps Intelligent Automation Business Intelligence & Analytics AI Installation & Compute
Infrastructure Management +
Cloud Setup Cloud Migration Managed Cloud Services Server & Hosting Cost Optimization Performance Optimization Outsourced Support
DevOps & Automation Services +
CI/CD Setup Kubernetes & Docker Infrastructure as Code Cloud-Native Migration DevSecOps
Cybersecurity & Compliance Services +
Security Hardening VAPT Incident Response Backup & DR

© 2026 Bobcares. All Rights Reserved.

  • Cookie Policy
  • |
  • GDPR
  • |
  • Privacy Policy
  • |
  • Terms of Service
  • LinkedIn
  • YouTube
  • Instagram
  • Facebook

Preview of the new Bobcares experience
NEW UPDATE
See What’s New
at Bobcares

Discover a faster, clearer view of our services and expertise.


Explore the New Experience
Arrow Right