Wordpress Transfer issue - wordpress

I have this website created with wordpress on http://schoolcms.webfreaks.cu.cc/
It is working perfectly fine on this host but when I try to transfer it any other other host (even localhost) it gives me layout issues like this: http://consciousnesstree.com/sharadashram/
Am I doing something wrong or the website transfer creating some issues?

This is the issue of css which is not properly adding in your localhost . Also one more thing I mentioned you , Steps when any Wordpress site moves to another domain or localhost , which recovers almost all minor issuses :
Change home_url , site_url and some times permalink in your database 'wp_options' table.
If database name has been changed then you have to change some parameters like database name , host , user and password in wp_config.php.
Also make sure if any url was given in previous domain written in hard coded then you have to change too manually.
I hope it helps you .
For any further assistance feel free to revert me.

I also have got that issue and solve that using duplicator plugin. I think that is the easiest way to fix your problem. You can download and see how it works in here

Related

WordPress website not working with domain name but IP address

http://sidparmar.ca/portfolio/ This is my portfolio website and an only home page is working with the domain name. Every link is broken unless replaced by IP of my VPS which is 64.20.53.42.
So usually it should work like sidparmar.ca/portfolio/contact/ (give me an error "The requested URL /portfolio/resume/ was not found on this server.")
but currently, it is only working if I type 64.20.53.42/portfolio/contact/ as URL.
Please let me know if you have any suggestions/advice or pointer that I should look into. Any help is appreciated.
Has your site been like this since you installed Wordpress? If so, then where did you install wordpress (i.e. what directory)? It looks like you did not install it in the web root directory of your web server. Also, when you installed Wordpress, are you sure you specified the correct URL of your website?
My suggestion based on the limited information you provided and the minor amount of custom content of your website is to simply delete your database and files, create a new database, and re-installation Wordpress following exactly the correct instructions. Your VPS host may have an outlined process for you.
Alternatively, if this is a new issue, do you think you caused it? If so, what did you do? If not, you should probably contact your VPS host to see if you or they need to make an update in your DNS settings.
Found the answer by myself! Yeah!
I just added "ServerAlias www.domainname.ca" to my apache2 conf file (000-default.conf) which you can probably find at /etc/apache2/sites-available directory in your VPS.
Not sure why this worked or what exactly caused the problem but I am sure that it happened because of Yoast SEO plugin.

wordpress move to localhost missing css

I'm trying to move a wordpress/buddypress web site to my local pc.
I created a virtual host with the exact same host name, copy the code and DB.
It works but every time I change the C:\Windows\System32\drivers\etc\hosts file to see the live original site, chrome miss-behave and get stuck.
So I tried to change the site domain on my local pc - I search&replace the code & db export from the site domain to my local domain (e.g. mydomain.com -> mydomainlocal.com), and I reinstall the DB.
The site is running but it seems to be missing some stuff - specifically design stuff, e.g. css is different, and logo display the site name instead of the logo.
It seems like the new domain name triggers a different configuration of the site, or a different theme.
Can someone please explain how to properly move a wordpress site localy with a local domain name?
I read some posts about this issue and it seems I was doing it right, I actually don't understand why the site looks different if I changed all reference both in the code and DB.
I'd suggest the problem lies with the fact you've performed a search and replace on the database.
WordPress serializes some data and by running a search and replace on it you'll have changed the lengths therefore breaking the serialization. Often things like theme options are stored in that way and will appear to reset when broken.
In order to update the URL you'll need a more advanced tool like: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Further information: https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs
First You must change domain name in database wp-options table
where option_name is suteurl and home
If not help, see in wordpress admin panel theme settings, some
themes have setting and in setting those can have url setting
In browser , in source you can find errors, and in errors you can see
not correct urls
I was able to solve it answer thanks to Nathan Dawson answer, here are the actual steps I did.
I switch back to the original DB (in wp-config.php),
setup the local host of the original domain mydomain.com (NOTE that I didn't delete the settings of the new local host - mydomainlocal.com)
In mydomain.com/wp-admin/options-general.php I changed the WordPress Address (URL) and Site Address (URL) to the new domain mydomainlocal.com
click save
After saving this settings the site redirects to the new domain immediately, but since I kept the setting of the new domain it worked, and the problem is solved.
EDIT - a quick and simple solution is simply change "siteurl" and "home" in the database table "wp_options" (through phpMyAdmin or similar)

Wordpress - Migrate site with BackWPup to local environment. Url issue

I am using the plugin BackWPup to migrate my site, to a local environment for testing.
My problem is the url's. They point back to the site online and not my site locally.
I am using xampp and phpmyadmin.
This is my first migration. The database is connected and everything seems to work, except for the url's. Where can i change the url's? Do i need to change it in the database. If so which table?
Thanks in advance
I fixed my problem.
I followed these tutorial.
https://www.sitepoint.com/how-to-migrate-a-wordpress-site-to-a-new-domain-and-hosting/
https://codex.wordpress.org/Changing_The_Site_URL
After you done this, remember to go directly to.
www.yoursite.com/wp-admin
Check your permanent links
Hope this helps someone else.

Nothing works past the index/main page. Am I missing anything?

I am currently migrating my website that was hosted on GoDaddy to an Amazon Linux instance. Everything has worked so far using elastic IP that I allocated, but I haven't been able to access other pages using the GoDaddy domain I transferred from my original website.
I have tried to change the site address/URL structure in the Wordpress settings, but I almost broke my website (TWICE!). Should I be changing one of the .htaccess files instead of the native Wordpress setting?
My elastic/public EC2 instance IP is: 52.26.232.168
The domain I would like to point to the IP is: artrantsbyaj.com.
Any help is greatly appreciated.
NOTE: I do not yet have a high enough reputation to post images yet, I apologize.
Try to refresh your permalinks:
Go to the permalink settings and save them (do not change anything, only click on save to refresh your permalink structure).
Test it and let me know if you have any problem.
Regards.

Migrating wordpress 3.0.1 from one server to another

Here's what I wanted to dot, what I've done, and... the (poor) result:
I wanted to: migrate my personal Website from one server to another one, and only change the IP on my DNS. So:
I changed the IP on my DNS. Ok. Everything's fine (it's been 7 days now)
I dump my Wordpress 3.0.1 database from server A
I copied recursively the full directory of my personal Website to the server B
on server B: I've created my utf8 wordpress database then re-injected the SQL dump (from A)
I've created the good user with the right permissions on the database B
And now:
Everything works fine... Well Err... only the main page! See http://olivierpons.fr/ then click on a topic.
I can't even log in! Do you know where I should look or what I am missing?
Thanks a lot!
Olivier
Check if you included the .htaccess file. It's easy to forget those "hidden" files
Has your domain name changed? Your articles seem to link to oliverpons.com, rather than oliverpons.fr. If you've changed the domain name, you'll probably want to change the "siteurl" and "home" values in the wp_options table. See this Codex article for more info. Also, as windyjonas says, check your .htaccess.
Bear in mind that this isn't really a programming-related question; you may be better off asking in other places.
Okay I still don't know where the problem was, but here's what I did:
I exported all the articles from my
old webserver A into a file XML_A
I created manually a new database on B
I launched Wordpress on B
I created all what's needed on B,
I imported all from the file XML_A
It works now but I'm pretty convinced this is not the right way to do this...
And I finally found the right answer an the right place (in case this might help someone):
http://codex.wordpress.org/Moving_WordPress
Try this method as well if it works for you.
http://www.sayopenweb.com/migrating-wordpress-from-one-domain-to-another-domain/
especially if your URL or domain is changed.
I had the same issue and figured a custom way of migrating it. follow the link.

Resources