Tuesday, 6 November 2012

RE: [dcphp-dev] siteurl coming twice in wordpress browser output

Add a slash to the front of the URL to make it relative to the site root.  Change the stylesheet link to:

<link rel="stylesheethref="/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 All

In my worldpress output page source link the highlighted part is coming twice into the link source. 

<link rel="stylesheethref="localhost/pbcoin/wp-content/themes/lion/html5-boilerplate/css/style.css" >

http://localhost/pbcoin/localhost/pbcoin/wp-content/themes/lion/html5-boilerplate/css/style.css

please 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 Advance
Ajay 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