transfer wordpress from subdomain to main domain - wordpress

i want to transfer a wordpress website in the same server from sub domain http://karanautomobiles.com/mobile to main domain http://doctormobile.co.in/...
i have the server of godaddy
previously i tried this
my wordpress website was under the link subdomain but after doing all things i wanted to shift this site to main domain/ i simply move all the files from mobile folder to main domain.. and in the database under wp_options table replace that url to main domain and also did search n replace on wp_posts table to url main domain but nothing happened please tell me how to proceed

Follow these additional steps:
1. Administration > Settings > General
2. change url here.
3. In site address (URL): change the address
4. Click Save Changes.
Let me know what happened?

Related

Add sites in subdomain and not under wordpress multisite subdomain

I'm confused, I have a miltisite wordpress installation but also another site managing the customer areas.
So I have the site on the main domain www.domaine.com and i installed the wordpress multisite in a subdomain: sites.domain.com
So far everything is fine, but when I want to create a site, wordpress requires me to be subject to the subdomain like this: other.site.domain.com
I tried to modify the .htaccess and wp-config.php but when I go back to the site management it redirects me to www.domaine.com without my being able to access the wordpress multisite management...
How can I create sites with addresses under the domain and not under the subdomain like this:
other.domain.com and not like this other.site.domain.com
Thanks
It's ok, I can't access for two reasons.
One my wildcard is set on other folder than wp installation (blank page on subsite create)
Two I need to set address of new site for replace domain.com/other to other.domain.com
And now I can access to website and subsite.
Thank!
Thank you for your answer, I just tested but it does not react correctly.
When I put the configuration of DOMAIN_CURRENT_SITE on domaine.com I can no longer access the settings of the multisite network, I am redirected to the purchase site which is on the domain.
Another thing, if I therefore create a site in a subdirectory and not in a subdomain with the SUBDOMAIN_INSTALL configuration false, when I type test.domaine.com a blank page appears as if there was no site or if I Type site.domain.com/test/ it works.
I cleared the caches everywhere and tried again but nothing happened.
In case I expressed myself badly,
www.domain.com = The commercial site of the company
site.domain.com = Multisite management and sample site
other1.domain.com = Customer site created from site.domain.com
thanks again

Wordpress and temporary access url

I hope everybody is well.
I have to set up a new Wordpress site, but this is the first time I need to setup the website "before" the domain name is registered.
I have webspace on shared webhosting and I can setup the Wordpress site using a temporary subdomain for my shared hosting, but this will mean setting up the Wordpress site using the temporary access url instead of the proper domain name that will be done next week.
If I setup the Wordpress site using the temporary url, once the domain name is registered, is simply changing the website address in the Wordpress General settings adequate or will I need to update the database too?
Is there a plugin that will do the above?
Thanks in advance if anyone can assist.
AH
You can proceed and start setting up your WordPress site to start designing, ones you've completed and domain name is registered like you've said, you can:
Backup your File Manager files to a local storage Highlight the content, right click, and click compress then download.
Navigate to the root folder of the now newly registered domain(public_html), and upload the files you downloaded above.
Go to the wp-config.php file, highlight and select edit.
Just before a line with this words /* That’s all, stop editing! Happy blogging. */
Add the lines below then save and close.
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
example.com is the new domain.
Now go back to your WordPress site to update the links. Yes, their is a plugin to update links, a lot of them but search for 'Velvet Blues Update URLs' using the plugins-> Add new.
After installing and activating the plugin,go to Tools -> Update urls, enter your old (subdomain) and new (root domain) URLs and in Step 2, check all options except Update All GUIDs.
Click the Update URLs Now button to proceed.
Check out under FaQs of your hosting provider if they've indicated a method on how users can move sites from subdomain to main domain.

Wordpress redirect to another link

At first i develop a wordpress site in my sub-domain http://organicbeautycare.wp.digmark.info/. Than i move all file in my main domain http://organicbeautycare.ml/. Now i delete my sub-domain in my cpanel. Now the problem is when i go to my main domain it's redirect me http://organicbeautycare.wp.digmark.info/in this url.
What should i do now? I tried many time it's. I edit my detabase site name also but not working.
Export your database, Replace all the existence of old domain name with new domain name in the database & import again.
You need to save your permalinks again from wordpress admin. Also, in some cases you might need to set default menu & theme logo again

Wordpress redirection loop

Where can I change manually the website url that is in Settings>General
in wordpress panel?
I have an issue.
I had one wordpress website in the url
79.170.40.53/theffashioneditor.com/test1/
and i wanted to transfer it to
tfeditor.com/test1/
So i packed the files from first domain server
and unpacked them to the second domain server
also did with the DB. Changed the wp-config.php with the new DB user pass and database.
Then when i tried to go to the "tfeditor.com/test1/"
it redirected me to the previous server.
I went to the previous wp admin panel and changed the HOME and URL to the new domain name "tfeditor.com"
and now im in a redirect loop whenever i want to go to tfeditor.com/test1/wp-admin it takes me to the previous domain with this path
http://79.170.40.53/theffashioneditor.com/test1/wp-login.php?redirect_to=http%3A%2F%2Fwww.tfeditor.com%2Ftest1%2Fwp-admin%2F&reauth=1
I login with my username and then it takes me to
http://79.170.40.53/theffashioneditor.com/test1/79.170.40.53/theffashioneditor.com/test1/wp-admin/
Someone can help me with this please?
As I wrote here.
Simple checklist for wordpress migration is:
edit database table wp-options and options siteurl and home there
edit wp-config.php (DB_NAME, DB_USER, DB_PASSWORD a DB_HOST)
use this replace script to replace all other occurences of absolute paths for relative path, it is enough to replace your old site name http://yoursite.com with an "/"

Wordpress Multisite: Mixing IPs, domains and URL Proxies

Our company is trying to transition to WordPress Multisite but we have several issues working against us at the moment. We host WP outside our server environment (we use Amazon for our WP sites) so we actually have to use an URL proxy to our Amazon servers. The other issue is that we needed to install Multisite in the root of the folder so the domain is http://100.10.20.30/foldername but we can't proxy that to http://www.domain.com/foldername because that is a live site that we're not moving to WP any time soon. So, of course, the problem we're running in to is that the IP is showing up not only in the source code but in Google now as well (which we don't want).
Does anyone know of anything we can do to keep the IP out of the source code/Google? I was thinking about rewrite rules in the htaccess file but didn't want to do anything until I had some better ideas.
Also, I can't use the domain mapping plugin that everyone seems to suggest for this type of issue because our sites aren't hosted in the root of our server (a prerequisite for the plugin).
So to break it down, this is what we need:
Multisite Parent Blog <-- This has to be the IP address
Multisite child blogs <-- Domain name but when we set the actual proxied domain name in the settings we get a 404 error because it's not looking in the right place. It's looking for an actual folder on our internal servers.
Thanks!
Found the solution myself. Posted below:
In the Multisite dashboard, click on "All Sites" then administer the specific site.
Under the "Path" field, you'll need to deselect the "Update siteurl and home as well."
Save changes.
Click on "Settings" tab.
Change the URL in the following fields: "SiteURL" and "Home"
Save changes.
When all is said and done, the IP is showing in the "Info" tab but it changes the URL in the source code to your domain.

Resources