1
sunsnapper
Do I need www. in the url for my web site?

What if I don't want to require www. in my URL?

http://www.brilliantenergy.com/about/ does work.
Though, if I remove the www, I go back to getting the blank page: http://brilliantenergy.com/about/

I'm sure I can track down the cause... it's just interesting. This happens even if not using mod_rewrite:
http://brilliantenergy.com/modules/wfchannel/

The home page is the only place that seems to tolerate this:
http://brilliantenergy.com/
works fine.

I suspect if I edit mainfile.php to make 'XOOPS_URL'
brilliantenergy.com instead of http://www.brilliantenergy.com it might work. Hopefully, it doesn't create a new problem.

(You may also be interested in this thread:
Apache mod_rewrite )

2
chapi
Re: Do I need www. in the url for my web site?
  • 2003/11/5 15:05

  • chapi

  • Theme Designer

  • Posts: 611

  • Since: 2002/1/22


http://www.chapi.de/v4/modules/guestbook/ works fine.


http://chapi.de/v4/modules/guestbook/ results in a white page.

So I also think this is caused by the XOOPS_URL in mainfile.php as you mentioned, but have no time to check it at the moment.

3
sunsnapper
Re: Do I need www. in the url for my web site?

As predicted, changing XOOPS_URL to brilliantenergy.com allows it to work without the www. However, one get's the problem in reverse.

I think I will go without the www for XOOPS_URL in mainfile.php and then see if I can create an alias for www in my DNS. (Actually, I just checked the DNS and it appears there is already an A record for *.domain.com, so I guess that's not going to be enough. For the time being, I guess I'll add www back to my XOOPS_URL .)

I'm happy to hear other suggestions.

4
ajaxbr
Re: Do I need www. in the url for my web site?
  • 2003/11/25 23:59

  • ajaxbr

  • Quite a regular

  • Posts: 276

  • Since: 2003/10/25


Bumpty boo.
Any workaround available? I'd say this is pretty bad for production sites.

5
mariuss
Re: Do I need www. in the url for my web site?
  • 2003/11/26 0:32

  • mariuss

  • Just popping in

  • Posts: 99

  • Since: 2002/9/6 5


You could configure XOOPS to work with brilliantenergy.com and then configure your web server to redirect http://www.brilliantenergy.com to brilliantenergy.com.

Depending on the theme you use it may be possible to work with both URLs (without a redirect), but I doubt. Since XOOPS needs to know your site's URL it only makes sense that you cannot use two different URLs, right?

Marius

6
chrisz
Re: Do I need www. in the url for my web site?
  • 2003/11/26 1:06

  • chrisz

  • Just popping in

  • Posts: 44

  • Since: 2003/7/9 1


I can access my site either through smartautomation.com or http://www.smartautomation.com and XOOPS doesn't seem to care. If I just type smartautomation.com I'm automatically sent to http://www.smartautomation.com.

Good luck!
Chris

Login

Who's Online

367 user(s) are online (142 user(s) are browsing Support Forums)


Members: 0


Guests: 367


more...

Donat-O-Meter

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

Latest GitHub Commits