1
skyangelo
change of domain name without changing the host
  • 2010/6/20 12:31

  • skyangelo

  • Just popping in

  • Posts: 79

  • Since: 2005/4/9 1


I would like to change my domain name (from .eu to .com) without changing the host location.
I would like to know what I have to modify within the Xoops 2.4.3 installation... (e.g. mainfile.php etc.).
It seems that the protector module does not work properly after changing the domain name.
Thanks for your help.

2
bjuti
Re: change of domain name without changing the host
  • 2010/6/20 13:35

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


You don't need to install Xoops again, just change mainfile.php, delete caches and remove or change all non-relative url's and paths in database with new domain or the relative one.

3
ghia
Re: change of domain name without changing the host
  • 2010/6/20 14:11

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Check also the (theme) files, which are modified by you and can contain links to the old domain (eg menu).

4
Peekay
Re: change of domain name without changing the host
  • 2010/6/20 15:27

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Unless things have changed, images added to articles from Xoops image manager using the DHTML editor will have absolute URLs, e.g.

http://www.example.com/uploads/img454b9.gif


If the site is relocated or the domain name changes you can perform a search and replace in PHPMyAdmin. There are several tutorials like this one on the web.

To be honest, this is a really frustrating thing about Xoops if you develop sites locally, because the image path will be 'localhost', not the target domain. I have to perform a search and replace on the SQL before uploading every site.

I would much prefer it if the editor used XOOPS_URL instead to create a relative link.



A thread is for life. Not just for Christmas.

5
skyangelo
Re: change of domain name without changing the host
  • 2010/6/23 17:47

  • skyangelo

  • Just popping in

  • Posts: 79

  • Since: 2005/4/9 1


Thanks a lot.
I'll check my SQL database.

Login

Who's Online

179 user(s) are online (122 user(s) are browsing Support Forums)


Members: 0


Guests: 179


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits