FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


url problem...solve it





adeee
Hello guyz...

i am using recently worldpress theme...

in the theme there are file .txt include this code.
Code:

<!--intro start-->

<a href="www.domainname.com"><img src="<?php bloginfo('template_directory');?>/images/leaderboard.jpg" alt="Simple Ad"></a>
<!--Intro End-->



this is for ad displaying on theme..

it is not origonal...

so my question is when i refresh the page.... and take the arrow on the Ad then the url is shown like this..

Code:
http://localhost/blog/www.domainname.com


and i want to change it like this

Code:
http://www.domainname.com


Please tell me......help me to solve this problem...

Thanxs

adeee
rvec
just change "www.domainname.com" in your file to "http://www.domainname.com".
adeee
Thanxsss

it works..
Related topics
url problem
Difference between PHP and HTML docs
What would it be like to die?
Internet Explorer problem.
Concert industry anyone else in it?
Locking threads? enough already!
web photoalbum - showing corrupted images
Not receiving email from Hotmail
Rate it - New PHP site...
http://www.wallbase.frih.net/ @ WallBase
Lego
namecheap url problem
URL problem
50+50 Frih$ . AHCI driver problem. Solve and get 100 Frih$.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.