| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 9039|Reply: 12
Collapse the left

How to Change Domain

[Copy link]

 Turkey

Post time: 2014-02-06 01:50
| Show all posts |Read mode
Hello
I want change mtkdestek.tk to droidim.tk how can ı do?
How can ı change my domain to other domain?

 United States

Post time: 2014-02-06 05:24
| Show all posts
Make sure you also set the url in base settings under global.

 India

Post time: 2014-02-06 04:10
| Show all posts
You can set a redirect. I think you will need a 301 redirect.

 Turkey

 Author| Post time: 2014-02-11 17:19
| Show all posts
Guys ı changed but ı have problem with images.Look droidim.tk forum some images not loaded because pic source old domain how can ı fix it?

 Russia

Post time: 2014-02-11 18:12
| Show all posts
1) Stop your forum.
2) Make a dump of your database
3) Edit the SQL dump file. Replace all old referenceses to a new domain.
4) Restore your database from the edited dump file.
5) Restore access to your forum.

 Turkey

 Author| Post time: 2014-02-11 18:24
| Show all posts
Changed all mtkdestek.tk  word to droidim.tk on sql file and trying import but ı got error
  1. SQL query:

  2. --
  3. -- Dumping data for table `pre_common_admincp_cmenu`
  4. --
  5. INSERT INTO  `pre_common_admincp_cmenu` (  `id` ,  `title` ,  `url` ,  `sort` ,  `displayorder` ,  `clicks` ,  `uid` ,  `dateline` )
  6. VALUES ( 1,  'Önbeleği temizle', 'admin.php%3Faction%3Dtools%26operation%3Dupdatecache%26step%3D3%26type%3Ddata_tpl_blockclass', 1, 0, 1, 1, 1389524962 ) ;


  7. MySQL said: Documentation

  8. #1062 - Duplicate entry '1' for key 'PRIMARY'
Copy the Code
I do wrong?

 Russia

Post time: 2014-02-11 18:57
| Show all posts
You are wrong.
You must create a dump with DROP TABLE instructions!

Insert in your dump the DROP instructions before EVERY table:
DROP TABLE IF EXISTS `PRE_TABLE_NAME`;
CREATE TABLE `PRE_TABLE_NAME` (
....
)  TYPE=MyISAM;

 India

 Author| Post time: 2014-02-11 19:30
| Show all posts
Hmm ı dindt understand ı am noobly on mysql ıts easy job or hard? I search but cannot understand

 Russia

Post time: 2014-02-11 19:51
| Show all posts
It is easy job.

1) Find the next "create table" line in your dump.
i.e.
CREATE TABLE `pre_common_admincp_cmenu`

2) Insert before this line:
DROP TABLE IF EXIST `pre_common_admincp_cmenu`;
The name must be the same as in CREATE TABLE !!!

go to 1) until finished.

 Turkey

 Author| Post time: 2014-02-11 19:56 From the mobile phone
| Show all posts
Okey ı think ı  understand ı try it tomorrow thanks for reply vot
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-11-23 03:18 GMT+3 , Processed in 0.093489 sec., 9 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list