wordpress and hardcoded domain names in URL

I just installed WordPress, and one thing I discovered is that site URL appears to be hardcoded in all the generated HTML.

For example, I see things like:

Read More
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="http://www.mywebserver.com/wp-    content/themes/twentyeleven/style.css" />
<link rel="pingback" href="http://www.mywebserver.com/xmlrpc.php" />

Is there a way to tell WordPress to strip out the domain name in the generated URLs? For example, I would prefer:

<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="stylesheet" type="text/css" media="all" href="/wp-content/themes/twentyeleven/style.css" />
<link rel="pingback" href="/xmlrpc.php" />

Related posts

Leave a Reply

1 comment