Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
siteurl coming twice in wordpress browser output
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ajay Bramhe  
View profile  
 More options Nov 6 2012, 7:44 am
From: Ajay Bramhe <bra...@gmail.com>
Date: Tue, 6 Nov 2012 04:44:25 -0800 (PST)
Local: Tues, Nov 6 2012 7:44 am
Subject: 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-boi lerplate/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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Oscar  
View profile  
 More options Nov 6 2012, 9:54 am
From: Oscar <os...@oscarm.org>
Date: Tue, 06 Nov 2012 09:54:11 -0500
Local: Tues, Nov 6 2012 9:54 am
Subject: Re: [dcphp-dev] siteurl coming twice in wordpress browser output
can you put htpt:// in front of localhost?

On 11/06/2012 07:44 AM, Ajay Bramhe wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Wesley Cho  
View profile  
 More options Nov 6 2012, 9:57 am
From: Wesley Cho <wesley....@gmail.com>
Date: Tue, 6 Nov 2012 09:55:43 -0500
Local: Tues, Nov 6 2012 9:55 am
Subject: Re: [dcphp-dev] siteurl coming twice in wordpress browser output

Can you remove "localhost/pbcoin" from the href attribute?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
trout...@potomacaudio.com  
View profile  
 More options Nov 6 2012, 10:43 am
From: <trout...@potomacaudio.com>
Date: Tue, 06 Nov 2012 08:43:18 -0700
Local: Tues, Nov 6 2012 10:43 am
Subject: 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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Bloch  
View profile  
 More options Nov 6 2012, 11:20 am
From: John Bloch <johnpbl...@gmail.com>
Date: Tue, 6 Nov 2012 11:20:21 -0500
Local: Tues, Nov 6 2012 11:20 am
Subject: Re: [dcphp-dev] siteurl coming twice in wordpress browser output

It would be impossible for us to debug code we haven't seen. Show us the
PHP and maybe we can tell you why it's printing twice.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
TG  
View profile  
 More options Nov 6 2012, 5:54 pm
From: "TG" <tg-...@gryffyndevelopment.com>
Date: Tue, 06 Nov 2012 17:54:28 -0500
Local: Tues, Nov 6 2012 5:54 pm
Subject: 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 <bra...@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"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »