11
vagelis
Re: http:// is NOT http://www.
  • 2004/9/25 13:46

  • vagelis

  • Just popping in

  • Posts: 79

  • Since: 2004/9/5 5


If my domain is : www.cna.gr

The parked site is : www.diavlosfm.gr


Please write here how can I edit your advise?

Thanks

12
peterr
Re: http:// is NOT http://www.
  • 2004/9/25 14:08

  • peterr

  • Just can't stay away

  • Posts: 518

  • Since: 2004/8/5 9


Hi,

It's late at night and so I'm maybe not thinking straight, but I don't have this problem on my XOOPS site (still being built).

The domains I use are always setup at the registrar with the correct zone file for the DNS side of things, so that it doesn't matter if I usehttp://www.example.com orhttp://example.com

Try these:

http://www.jehoshua.net/modules/mylinks/

http://jehoshua.net/modules/mylinks/

????

Peter

13
-Page
Re: http:// is NOT http://www.
  • 2004/9/25 17:23

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


This was the ticket for me too! - and SOO easy!

Quote:
$whathost=$_SERVER["HTTP_HOST"];
if($whathost != "www.aviary.info")
{
header("HTTP/1.1 301 Moved Permanently");
header("Location:http://www.aviary.info".$_SERVER["REQUEST_URI"]);
exit();
}


- You bad Chad!!~


14
ChadK
Re: http:// is NOT http://www.
  • 2004/10/1 18:15

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Vagelis use this then:
Quote:
$whathost=$_SERVER["HTTP_HOST"];
if($whathost != "www.cna.gr")
{
header("HTTP/1.1 301 Moved Permanently");
header("Location:http://www.cna.gr".$_SERVER["REQUEST_URI"]);
exit();
}


It's also important to realize you can edit your .htaccess file to do this in your .htaccess:
Redirect permanent /http://www.cna.gr/

UN PARK your domain first and put it on it's on account if you can. This is better anyway as it's not going to cause Google to be pissed at you where-as if you just park a bunch of domains on your main domain google will get wise and omit stuff from your results.


15
ap1239
Re: http:// is NOT http://www.
  • 2004/10/27 22:43

  • ap1239

  • Just popping in

  • Posts: 9

  • Since: 2004/10/27


Which of

Benoit's changes

are still needed for v2.07 to get XOOPS to display (www.site.org) on both extranet and intranet; my server is sitting on a DMZ. Are any of these changes going into v2.09?

What is the reason the website text appears, but without graphics.

Alan

Login

Who's Online

243 user(s) are online (165 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits