Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8859195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:59:47+00:00 2026-06-14T14:59:47+00:00

Okay, so I have a client that is insisting that I install WordPress on

  • 0

Okay, so I have a client that is insisting that I install WordPress on their in-house server that is running Windows Server 2003 SP2.

What I’ve done so far is installed mySQL, PHP, and WordPress into the publicly accessible directory (ie. http://www.domain.com brings up the website).

Obviously, if I’m on the server and navigate to http://localhost it brings up the working WordPress site, but what I’m trying to do is change it so that when you navigate to http://domain.com it will bring up the site correctly. Currently if you do this, it will bring up the site without any styling or images, because instead of the paths pointing to http://domain.com/page it points to http://localhost/page

Please help me, I’ve searched everywhere for a solution, but I can’t find anything about keeping it on your own server, just moving to another server.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:59:49+00:00Added an answer on June 14, 2026 at 2:59 pm

    You have to search/replace in the rest of the database to change all URLs for posts, URLs in content and in meta. Use these queries in phpmyadmin (except for the first one if you have manually changed the site URLs or did so in admin):

    UPDATE wp_options SET option_value = replace(option_value, 'http://www.olddomain.com/', 'http://www.newdomain.com/') WHERE option_name = 'home' OR option_name = 'siteurl';
    
    UPDATE wp_posts SET guid = replace(guid, 'http://www.olddomain.com/','http://www.newdomain.com/');
    
    UPDATE wp_posts SET post_content = replace(post_content, 'http://www.olddomain.com/', 'http://www.newdomain.com/');
    
    UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://www.olddomain.com/', 'http://www.newdomain.com/');
    

    Edit 10/21/16

    It’s much better to use this PHP script to change URLs, as it correctly handles serialized data in the database; the SQL queries above will break serialized data, and you may loose theme and widget options. See https://interconnectit.com/products/search-and-replace-for-wordpress-databases/

    And then also look for hardcoded URLs in style sheets and the theme’s functions.php file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a socket server that listens and accepts connections from client, which works
Okay, the situation is as following: I have one client that has 2 settings:
Okay lets say I have a basic demographic content type (Client) that I am
In my scenario, I have a server running which waits for a client to
Okay I have a large CRUD app that uses tabs with Forms embedded in
Okay, so I have a client who wants to output all information for a
I have a client application that connects to a web service over https. I
I have two packages client and server: the client package contains an interface I_object:
I have a URL that is like the following: http://www.example.com/client/project/subdirectory/value/ I would like like
QUESTION: Is it okay to have shortcut identifiers in a table so that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.