- Posts: 16
- Thank you received: 1
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question change forum to work with new domainname on same server
16 years 1 month ago - 16 years 1 month ago #44128
by lastdown
change forum to work with new domainname on same server was created by lastdown
I have a forum running on a server where we don't want users on right now. We have created a few topics on that and now we want to bring it to the live envirionment.
Example.
dev. server: dev.domain.com
live serever: www.domain.com
Before we go to live I wanted to test if everything works. I have created a dns record called test.domain.com that points to the same ip as dev.domain.com
If I then browse to test.domain.com al my links in my forum still keep on pointing to dev.domain.com. However all my joomla article links are fine.
How can i fix this?
Example.
dev. server: dev.domain.com
live serever: www.domain.com
Before we go to live I wanted to test if everything works. I have created a dns record called test.domain.com that points to the same ip as dev.domain.com
If I then browse to test.domain.com al my links in my forum still keep on pointing to dev.domain.com. However all my joomla article links are fine.
How can i fix this?
Last edit: 16 years 1 month ago by lastdown.
Please Log in or Create an account to join the conversation.
16 years 4 weeks ago #44129
by Cerberus
Replied by Cerberus on topic Re: change forum to work with new domainname on same server
Thats because the links for the site are stored in the sql DB to change then you would have to edit the DB and change them 
***** ALWAYS BACKUP YOUR DATABASE BEFORE MAKING ANY CHANGES TO IT *****
***** ALWAYS BACKUP YOUR DATABASE BEFORE MAKING ANY CHANGES TO IT *****
Please Log in or Create an account to join the conversation.
16 years 4 weeks ago #44132
by lastdown
Replied by lastdown on topic Re: change forum to work with new domainname on same server
OW i don't like that at all. Stange that joomla can handle this and kunena not.
anyway is there a script out there that can do this? like replace dev.domain.com by test.domain.com to see if it works as expected.
anyway is there a script out there that can do this? like replace dev.domain.com by test.domain.com to see if it works as expected.
Please Log in or Create an account to join the conversation.
16 years 4 weeks ago #44135
by Cerberus
Replied by Cerberus on topic Re: change forum to work with new domainname on same server
nope and its cause of the user set urls the hardcoded one in kunena do change auto
Please Log in or Create an account to join the conversation.
16 years 4 weeks ago #44152
by lastdown
Replied by lastdown on topic Re: change forum to work with new domainname on same server
it's standard kunena. If you select a picture, click in the img button and submit it will put the complete address in the message. So you can indeed not change the name of your website without all links getting broken.
so export table: jos_fb_messages_text
search and replace dev.domain.com by test.domain.com
empty table: jos_fb_messages_text
import the altered contents back into jos_fb_messages_text
and that should be it.
so export table: jos_fb_messages_text
search and replace dev.domain.com by test.domain.com
empty table: jos_fb_messages_text
import the altered contents back into jos_fb_messages_text
and that should be it.
Please Log in or Create an account to join the conversation.
16 years 4 weeks ago #44155
by Cerberus
Replied by Cerberus on topic Re: change forum to work with new domainname on same server
and that wat i said 3 post ago that the db would have to be edited LOLOLOL
Please Log in or Create an account to join the conversation.
Time to create page: 0.292 seconds