moving one blog to a subdomain

Discussion Of All Legal Topics Is Fine Anything Goes. Be Respectful of Others. No Personal Information or Attacks.
All Traffic, Link, Banner, Push Notification and Advertising, Offers & Requests Here,.
Domains & Websites For Sale and Requests Here.
Keep One thread per person & No More Than 1 Weekly Bump.
Post Reply
Maya
Verified Member
Verified Member
Posts: 85
Joined: March 31st, 2019, 5:47 pm

moving one blog to a subdomain

#1

Post by Maya » September 28th, 2020, 11:07 am

hi I'm confused if this can be done, my blog is on the root level of my domain, thing is I want to put a main site on there and have the blog be /some-domain/blog/ how can this be done.

thank you for reading and your time.




User avatar
bestfreeporn
Verified Member
Verified Member
Posts: 2308
Joined: February 20th, 2018, 6:34 pm
Referrals: 1

#2

Post by bestfreeporn » September 29th, 2020, 7:37 am

It's a minute edit of wp-config.php

add these 2 lines

Code: Select all

define( 'WP_HOME', 'https://www.some-domain/blog/' );
define( 'WP_SITEURL', 'https://www.some-domain/blog/');




Colmike7
Banned
Banned
Posts: 1670
Joined: May 23rd, 2018, 12:21 pm
Title: (>^-^)b

#3

Post by Colmike7 » September 29th, 2020, 9:56 am

bestfreeporn wrote: ↑
September 29th, 2020, 7:37 am
It's a minute edit of wp-config.php

add these 2 lines

Code: Select all

define( 'WP_HOME', 'https://www.some-domain/blog/' );
define( 'WP_SITEURL', 'https://www.some-domain/blog/');
I think you missed a few steps..




Maya
Verified Member
Verified Member
Posts: 85
Joined: March 31st, 2019, 5:47 pm

#4

Post by Maya » September 29th, 2020, 10:17 am

thank you bestfreeporn
what is wrong colmike7?




Garry2000
Verified Member
Verified Member
Posts: 231
Joined: May 25th, 2019, 6:21 pm

#5

Post by Garry2000 » October 2nd, 2020, 8:03 am

you have to update the database name, user name, password too on the same file. Then it should all be fine.




User avatar
TheButcher
Administrator
Administrator
Posts: 17530
Joined: February 2nd, 2018, 11:48 am
Title: I like weekends
Referrals: 1
Contact:

#6

Post by TheButcher » October 3rd, 2020, 11:21 am

Garry2000 wrote: ↑
October 2nd, 2020, 8:03 am
you have to update the database name, user name, password too on the same file. Then it should all be fine.
this and what bestfreeporn posted should work

User avatar
bill
Verified Member
Verified Member
Posts: 8259
Joined: February 3rd, 2018, 3:36 pm

#7

Post by bill » October 3rd, 2020, 11:43 am

you might also need to get a SSL for the sub-domain

some sub-domains need their own SSL

Maya
Verified Member
Verified Member
Posts: 85
Joined: March 31st, 2019, 5:47 pm

#8

Post by Maya » October 4th, 2020, 2:18 pm

Thank you for all the help, blog has been moved successfully.




User avatar
cimage
Verified Member
Verified Member
Posts: 1594
Joined: June 3rd, 2018, 2:36 pm
Title: living the good life

#9

Post by cimage » October 7th, 2020, 3:04 pm

Maya wrote: ↑
October 4th, 2020, 2:18 pm
Thank you for all the help, blog has been moved successfully.
well done now you'll be able to move your blogs with the experience you gained.
Stop looking for reps if they don't care why waste your time and traffic at their program, fuck that.
~ cimage 2024

User avatar
vblogger
Verified Member
Verified Member
Posts: 1935
Joined: February 17th, 2018, 2:48 pm

#10

Post by vblogger » October 9th, 2020, 12:11 pm

I suppose I am too late to this party to have helped, glad it's sorted out.




Slim
Verified Member
Verified Member
Posts: 435
Joined: September 26th, 2018, 3:02 am

#11

Post by Slim » October 11th, 2020, 8:39 am

Maya wrote: ↑
September 28th, 2020, 11:07 am
hi I'm confused if this can be done, my blog is on the root level of my domain, thing is I want to put a main site on there and have the blog be /some-domain/blog/ how can this be done.

thank you for reading and your time.
Why change the domain and lose any seo juice, start a new blog :!:
Some people can be Dumb and Dumber

urbanlegend
Verified Member
Verified Member
Posts: 1471
Joined: March 23rd, 2018, 10:13 am

#12

Post by urbanlegend » October 13th, 2020, 7:39 pm

Slim wrote: ↑
October 11th, 2020, 8:39 am
Maya wrote: ↑
September 28th, 2020, 11:07 am
hi I'm confused if this can be done, my blog is on the root level of my domain, thing is I want to put a main site on there and have the blog be /some-domain/blog/ how can this be done.

thank you for reading and your time.
Why change the domain and lose any seo juice, start a new blog :!:
smart guy




User avatar
shoopa
Verified Member
Verified Member
Posts: 1851
Joined: February 26th, 2018, 7:32 pm

#13

Post by shoopa » October 18th, 2020, 7:07 am

Ther are times you just need to change the domain name,it has happened to me a few times over the years.




moving one blog to a subdomain

Post Reply