Add a slash to the front of the URL to make it relative to the site root. Change the stylesheet link to:
<link rel="stylesheet" href="/localhost/pbcoin/wp-content/themes/lion/html5-boilerplate/css/style.css" >
I'm curious as to why "localhost/pbcoin" is even part of the URL. I would have expected that to be your site root, so that the link would be:
<link rel="stylesheet" href="/wp-content/themes/lion/html5-boilerplate/css/style.css">
Bob
-------- Original Message --------
Subject: [dcphp-dev] siteurl coming twice in wordpress browser output
From: Ajay Bramhe <bramhe@gmail.com>
Date: Tue, November 06, 2012 7:44 am
To: washington-dcphp-group@googlegroups.com
Dear AllIn my worldpress output page source link the highlighted part is coming twice into the link source.
<link rel="stylesheet" href="localhost/pbcoin/wp-content/themes/lion/html5-boilerplate/css/style.css" > http://localhost/pbcoin/localhost/pbcoin/wp-content/themes/lion/html5-boilerplate/css/style.cssplease suggest how can i correct it.---------------------------------------------------I tried with wp_options table .siteurl and home fields but it;s not working.please suggest if anything else i am missing.Thanks in AdvanceAjay Bramhe--
You received this message because you are subscribed to the Google
Group: "Washington, DC PHP Developers Group" - http://www.dcphp.net
To post, send email to washington-dcphp-group@googlegroups.com
To unsubscribe, send email to washington-dcphp-group+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/washington-dcphp-group?hl=en
0 comments:
Post a Comment