Forums / Basic Configuration / Missing the www from homepage url

Missing the www from homepage url

Locked

Views: 1,419

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
11 Oct 2010, 6:21 PM
#1
pedro_aa avatar

pedro_aa

New Zenner

Join Date:
Oct 2010
Posts:
5
Plugin Contributions:
0

Missing the www from homepage url

Hello there,

I've created a store at http://www.selosfilatelia.com but when I get inside the categories or even link to the logo, the main page url changes to http://selosfilatelia.com and the www disappears.

Why does this happen? How can I keep the www on all pages?

Thank you,
Pedro

11 Oct 2010, 6:32 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Missing the www from homepage url

Post the top 20 lines of your /includes/configure.php file

Zen-Venom Get Bitten

12 Oct 2010, 3:07 PM
#3
pedro_aa avatar

pedro_aa

New Zenner

Join Date:
Oct 2010
Posts:
5
Plugin Contributions:
0

Re: Missing the www from homepage url

Hi Cobra, thanks for the fast reply!
The first lines of the Configure.php are:

// Define the webserver and path parameters
// HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
// HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
define('HTTP_SERVER', 'http://selosfilatelia.com');
define('HTTPS_SERVER', 'https://selosfilatelia.com');

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'false');

// NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
// * DIR_WS_* = Webserver directories (virtual/URL)
// these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');

12 Oct 2010, 3:16 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Missing the www from homepage url

Add the www to these paths and you should be good.

define('HTTP_SERVER', 'http://selosfilatelia.com');
define('HTTPS_SERVER', 'https://selosfilatelia.com');

12 Oct 2010, 4:11 PM
#5
pedro_aa avatar

pedro_aa

New Zenner

Join Date:
Oct 2010
Posts:
5
Plugin Contributions:
0

Re: Missing the www from homepage url

Hi again,

I tried to edit the file but when I upload it via FTP I get the "553 Permission denied" error. Any hints?

Thanks,
Pedro

12 Oct 2010, 4:15 PM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Missing the www from homepage url

Are you sure it's 553 ? That's an email error code.

Check the permissions on that file on the server.

12 Oct 2010, 10:08 PM
#7
pedro_aa avatar

pedro_aa

New Zenner

Join Date:
Oct 2010
Posts:
5
Plugin Contributions:
0

Re: Missing the www from homepage url

Perfect results!
I edited the permissions and then solved the problem.
Thanks so much!

16 Oct 2010, 11:18 PM
#8
samar777 avatar

samar777

Zen Follower

Join Date:
Nov 2009
Location:
Chicago, IL.
Posts:
202
Plugin Contributions:
0

Re: Missing the www from homepage url

pedro_aa:

Perfect results!
I edited the permissions and then solved the problem.
Thanks so much!

dont forget to change the permissions back.

Automation is Godliness