Page 1 of 1

Help with problem in the address bar.

Posted: Wed Mar 10, 2010 10:56 am
by rigy73
Hey guys i am having a problem with my script,
the index page loads just fine but when i click on any other function
like search something goes wrong. The page that should open up sud be

Code: Select all

http://www.domain.com/search.php
but this page tries to load

Code: Select all

http://www.domain.com/www.domain.com/search.php
can anybody tell me what is the error in my script.
Here is the website

Code: Select all

http://www.megastuffs.com

Re: Help with problem in the address bar.

Posted: Wed Mar 10, 2010 1:25 pm
by AbraCadaver
In your hrefs, you either need to put the full URL with http:// or remove the http://www.megastuffs.com/.

So either:

http://www.megastuffs.com/search.php

or

search.php