PDA

View Full Version : change to a new domain



graysqwrl
Thu 25th Jan '07, 2:55pm
I want to change my domain for my forum, but I'm NOT moving servers. Do I have to update jelsoft somehow that I will now be using my license under a different domain name?

If so, where do I go to update the info?

Steve Machol
Thu 25th Jan '07, 2:58pm
Just update the forum URL in the Members Area.

Bob Isaac
Mon 19th Mar '07, 3:45pm
We are setting up a dedicated domain name for our forum on the same server also. We may also have a different IP for the forum.

Apart from config.php and the settings in Site Name / URL / Contact Details are there any others changes we need to do?

I intent to tarball the forum directory then move it to the new domain directory, and use the same database.

Does that cover it all?

Bob

Steve Machol
Mon 19th Mar '07, 8:59pm
Update the forum URL under License Options in the Members Area.

Bob Isaac
Wed 11th Apr '07, 1:21pm
Come across a problem with the move.

The current active forum is volvoclub.org.uk/forum and I am trying to set up the new one at volvoforums.org.uk (http://www.volvoforums.org.uk). It is on the same server but the new domain has a different IP.

I tar'd the volvoclub.org.uk/forum files over to the root of the new domain and copied the active db to a test db for now.

I have made the changes in /includes/config.php to reflect the test db and the new path.

However I cannot log in with either my admin nor regular username. I get the window that says Thank you for logging in, admin. but it does not log me in.

Any ideas please?


Bob

Steve Machol
Wed 11th Apr '07, 1:56pm
This is probably a cookie domain/path issue. To fix this, upload the tools.php script in the 'do_not_upload' folder of the vB zip file to your Admin CP directory and run it from your browser. Use this to reset the cookie domain and path back to the defaults. And then leave your cookie domain and path at the default settings. There is no reason to change these. If you need to specify a unique cookie, use the cookie prefix setting in config.php instead.

Bob Isaac
Sat 14th Apr '07, 7:02am
This morning I moved the forum to the new domain. So far there has only been one reported problem with one member.

He keeps getting logged out when moving from thread to thread, etc. I uploaded tools.php and reset the cookie setting to 'blank', and the member has cleared his browser cookies and cache.

What other reason could there be?

Bob

Steve Machol
Sat 14th Apr '07, 2:21pm
Try logging in as this user to see if you have the same problem. If you don't, then the cause is somewhere on their end. It's impossible to know exactly what it is but some possibilities are: browsers, browser settings, Internet and security settings, ISP and/or cache issues, firewalls, ad-blockers, spyware, proxies and any other application that affects Internet content.

Bob Isaac
Sun 15th Apr '07, 5:25am
Thanks, it appears to be a problem his end. Strange how it happened following the move.

Bob

Bob Isaac
Mon 16th Apr '07, 5:09pm
There are many links in posts that no longer work as they point to the old URL, such as
http://www.volvoclub.org.uk/forum/showthread.php?t=28858

www.volvoclub.org.uk/forum/showthread.php (http://www.volvoclub.org.uk/forum/showthread.php)? needs to be changed to www.volvoforums.org.uk/showthread.php (http://www.volvoforums.org.uk/showthread.php)?

Is there a way to do a mass find/replace.

Bob

Steve Machol
Mon 16th Apr '07, 5:40pm
You can run a query like this:

UPDATE post SET pagetext = REPLACE(pagetext, 'original_string', 'replacment_string');

Bob Isaac
Mon 16th Apr '07, 5:51pm
Thanks, I'll try it on a test db first.

Bob

Bob Isaac
Tue 17th Apr '07, 5:49am
What is the best way to redirect people from olddomain/forum/ to newdomain/

Using <meta http-equiv="refresh"> means having several files such as index.php, showthread.php, etc, with the original names all with this. Is there a single 'catch-all' way?

Bob

Bob Isaac
Tue 17th Apr '07, 6:00am
Would this work OK? This in www.volvoclub.org.uk/forum/.htaccess (http://www.volvoclub.org.uk/forum/.htaccess)

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/(.*)$ http://www.volvoforums.org.uk/$1 [R=301,L]
</IfModule>

Although I have submitted new sitemaps to Google and Yahoo, my concern is Google is passing all the ranking weight and Pagerank vote but at some point they may start devaluing the ranking weight and Pagerank vote that is passed.

Bob

Bob Isaac
Tue 17th Apr '07, 11:35am
You can run a query like this:

UPDATE post SET pagetext = REPLACE(pagetext, 'original_string', 'replacment_string');

I ran this
UPDATE vb_post SET pagetext = REPLACE(pagetext, 'www.volvoclub.org.uk/forum/', 'www.volvoforums.org.uk/'); and it replaced about 1400 cases but in the first thread I checked there was still a post with
e.g. http://www.volvoclub.org.uk/forum/sh...ad.php?t=16438 (http://www.volvoclub.org.uk/forum/showthread.php?t=16438)

Bob

Bob Isaac
Tue 17th Apr '07, 12:26pm
This has not fully worked, even though 1487 instances were reported and some did change.
See http://www.volvoforums.org.uk/showthread.php?t=22637 post #2.


Bob

peterska2
Fri 20th Apr '07, 7:16pm
The easiest way to do this is to set up a replacement variable for www.volvoclub.org.uk/forum to www.volvoforums.org.uk

To set up a replacement variable, go to

AdminCP > Styles & Templates > Replacement Variable Manager > Add New Replacement Variable

Enter the search text in the first box and the replacement text in the second box.

Note: This is a per style option, so you will need to do this for all your styles. However, it is inherited from parent styles to child styles.