Tuesday 6 November 2012

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

Check and see if there's a <base> tag set in the <head> block. It tells
the browser to prepend the href given to all relative URLs.

More info:
http://www.w3schools.com/tags/tag_base.asp

I think you can set that somewhere in the standard Wordpress settings, but
it could also be set in a plugin or maybe in header.php of the theme.

-TG

----- Original Message -----
From: Ajay Bramhe <bramhe@gmail.com>
To: washington-dcphp-group@googlegroups.com
Date: Tue, 6 Nov 2012 04:44:25 -0800 (PST)
Subject: [dcphp-dev] siteurl coming twice in wordpress browser output

> Dear All
>
> In 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.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