Welcome, Guest. Please login or register.
Did you miss your activation email?
February 12, 2012, 03:11:10 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
149651 Posts in 21100 Topics by 7539 Members
Latest Member: ionline
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: 'www's disappeared  (Read 526 times)
naturalp

Offline Offline

Posts: 25


« on: May 10, 2009, 08: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: 560


« Reply #1 on: May 10, 2009, 08: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, 09:00:06 AM by Hans » Logged

Hans - Nijmegen - The Netherlands
naturalp

Offline Offline

Posts: 25


« Reply #2 on: May 10, 2009, 12: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: 560


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

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

Hans - Nijmegen - The Netherlands
naturalp

Offline Offline

Posts: 25


« Reply #4 on: May 10, 2009, 03: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.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!