What's new

Web [HELP] Copying Website Template

Cheers

Cheers

Enthusiast
Messages
98
Reaction score
19
Points
55
Sin$
0
Hi would anyone know how I can copy my websites template to another website host/builder?
 
Red

Red

Newbie
VIP
Retired
Scaling the Mountain Mythical Veteran MotM
Messages
15,366
Solutions
3
Reaction score
10,426
Points
2,300
Sin$
7
You could use python to get the source code


Code:
import urllib2

url = 'http://kankurosucks.com' # write the url here

usock = urllib2.urlopen(url)
data = usock.read()
usock.close()

print data
 
Scuxy

Scuxy

C:\Users\Scuxy
Services
Messages
204
Reaction score
126
Points
230
Sin$
7
There is a firefox add on which you can copy the PHP or just google phpmyadmin
 
Cheers

Cheers

Enthusiast
Messages
98
Reaction score
19
Points
55
Sin$
0
You could use python to get the source code


Code:
import urllib2

url = 'http://kankurosucks.com' # write the url here

usock = urllib2.urlopen(url)
data = usock.read()
usock.close()

print data
will this copy the whole site? Will it function the same and include the pictures and graphics?
 
Chris7S

Chris7S

Nerd by definition, programmer by trade
Grammar Nazi Chatty Kathy Seasoned Veteran
Messages
1,506
Reaction score
490
Points
515
Sin$
7
will this copy the whole site? Will it function the same and include the pictures and graphics?
If you want to ensure an entire website transfer, open your websites directory within your server via FTP and copy the contents of either the 'public_html' or 'www' folder depending on which your current host provides. This will ensure the file paths within the code used is still pointing in the right direction. You can also just dump your database and upload the entire database on your new server/hosting website if needed. I hope this helps and good luck migrating over!
 
Top Bottom
Login
Register