Welcome, Guest. Please login or register.
July 29, 2010, 07:21:45 PM

Login with username, password and session length
Search:     Advanced search
WB 2.8.1 released!
Download and additional information are available here .
119281 Posts in 17081 Topics by 9086 Members
Latest Member: Emiliano
* Home Help Search Login Register
+  WebsiteBaker Community Forum
|-+  English
| |-+  Help & Support (Moderators: Argos, BerndJM)
| | |-+  'www's disappeared
Pages: [1] Go Down Print
Author Topic: 'www's disappeared  (Read 355 times)
naturalp

Offline Offline

Posts: 23


« on: May 10, 2009, 09:38:59 AM »

I think I'm going bonkers.  All the wwws have disappeared from my urls - is this wb or something else? - has anyone any idea why this might happen - its fine but if someone wants to cut and paste the url it doesn't work of course in emails! the site is http://www.merrylegsfalabellas.com - just pick any menu and see - they've all gone!
Logged
Hans

Offline Offline

Posts: 503


« Reply #1 on: May 10, 2009, 09:58:24 AM »

Hi naturalp
please take a look in index.php (in the root of the WB install)
There you see
Code:
define('WB_URL', 'http://yoursitename.nl');
I asume
Change this with
Code:
define('WB_URL', 'http://www.yoursitenaam.nl');
Do the same with
Code:
define('ADMIN_URL', 'http://yoursitename.nl/admin');
Change with:
Code:
define('ADMIN_URL', 'http://www.yoursitename.nl/admin');
Save
I think this should work, but make a copy of index.php (and your site) first just in case!!
Hans

EDIT: I meant config.php not index.php!
« Last Edit: May 10, 2009, 10:00:06 AM by Hans » Logged

Hans - Nijmegen - The Netherlands
naturalp

Offline Offline

Posts: 23


« Reply #2 on: May 10, 2009, 01:39:28 PM »

Thanks for taking the time but my index.php has no define statements - I've attached it for you. 

I can fix the prob if I change my .htaccess file to say the folling;
# Example .htaccess wich allows to parse .html as php
AddType application/x-httpd-php .html
AddType text/x-component .htc
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^merrylegsfalabellas.com [nc]
rewriterule ^(.*)$ http://www.merrylegsfalabellas.com/$1 [r=301,nc]

but then it won't let me login unless I change it back to ;
# Example .htaccess wich allows to parse .html as php
AddType application/x-httpd-php .html
AddType text/x-component .htc

HELP
Logged
Hans

Offline Offline

Posts: 503


« Reply #3 on: May 10, 2009, 03:15:51 PM »

Mind my EDIT! You have to edit config.php
Hans
Logged

Hans - Nijmegen - The Netherlands
naturalp

Offline Offline

Posts: 23


« Reply #4 on: May 10, 2009, 04:43:11 PM »

That's fab - thank you I'd never have found it and it must have been there forever!
Logged
Pages: [1] Go Up Print 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
-->