Images won't show in WordPress Website - wordpress

I just uploaded my very first WordPress website and somehow i can't see the images on the website even though i can see the images in the media gallery from the dashboard http://rama.ly/

Wordpress store the full image url in database. When your website was in localhost. The url on an image was like http://localhost/rama/wp-content/uploads/2016/04/3000-x-i-dont-know.png
You moved your site to live domain but you have not changed localhost to rama.ly in your database.
Now you can install this plugin https://wordpress.org/plugins/better-search-replace/ and replace all localhost to rama.ly that will fix the broken images.
Also for moving wordpress sites you can use very easy to use plugins like duplicator / backupbuddy. those plugin really makes the migration easier.

Related

Some Images not showing on after migrate wordpress site to AWS EC2

After migrate wordpress site to AWS bitnami some images are not display and others are showing without any issue. Missing images are also in wp-content folder. I inspect missing element and get image url of that image, url also working fine. But image renderd size showing 0 x 0 px. Issue is not displaying on view. I tried different browsers but result is same.
I used to All-In-One WP Migration plugin for import and export wordpress site.
Could some one help me how to fix this.
Thanks in Advance

Including a wordpress blog as a subfolder

So I have a weird problem here, I have created a website with HTML, CSS, and JavaScript but I have it as a PHP file so I can interact with a Wordpress blog I have also created. I have the WordPress blog in a folder inside my website eg. mywebsite/blog. Now while developing on localhost, everything works pretty fine but when I finally hosted it on a live server, the blog seems to load without the CSS; here's a link to the blog https://www.dexafxacademy.com/blog. At this point, I am lost as this is my first time, including Wordpress as a subfolder, so I don't have an idea of what the problem could be. Note that this works well in my localhost.
Thanks for providing a link to your site!
Using the Web Inspector in Chrome, I see that the problem is likely in your WordPress settings.
WP is attempting to load all your assets from https://dexafxacademy/blog
The correct URL would be https://dexafxacademy.com/blog
In the WordPress admin of your production site (not local), head to Settings > General and make sure your WordPress Address and Site Address fields have the correct URL containing .com.

Few Featured Images are not Showing after Migrating to Wordpress From Blogger

I successfully migrated from Blogger to wordpress by using blogger importer plugin
my new site where i upload my database has new domain name
Problem is.. Some of the feature images are showing but rest of all
is not showing..
It may happen that Blogger Importer Plugin skipped importing those images.
To fix this problem you can use Cache Images by Matt Mullenweg.
Install this plugin and Go to Tools > Cache Remote Images.
Click Scan.
Now you should see a list of images that are hot-linked from different servers.
Hit the Cache from this domain button and Cache Images plugin will start importing images from those hot-linked domains.

How to migrate only wordpress theme from localhost to live server

I am currently working on a project, actually we an online site, we are thinking of revamping this, on this online site we have many blogs already,
We have purchased a theme also and doing many customization on localhost.
How is this possible to update the theme with customization and pages on online server from localhost without affecting the blog posts ??
OK these are the steps that i do for putting site from local to live.
First move full wordpress site including all wp-admin,wp-content,wp-includes and files to you live server
then export you local server database
and this is the trick, open the .sql in a text editor like dreamweaver then replace all links like http://localhost/site to http://www.livesite.com
and now move or import this db to live server and apply settings in wp-config.php.
it always works for me.

Wordpress upload from localhost to server

I uploaded my wordpress site from my Local host to a folder off my main domain (http://example.com/folder) using this tutorial http://www.webdesignerwall.com/tutorials/exporting-and-importing-wordpress/
(im working on a mac)
Everything went ok - admin panel is fine homepage is fine etc - only any page apart from the homepage redirects to this (http://example.com/folder/pagename) except instead of showing the content from that page it shows the unstyled information from the index page of my main root (http://example.com/)
What can I do to get this working?
Thanks
Do a general search with phpMyAdmin in your database for localhost URLs. And see How to Find and Replace Text in WordPress MySQL Database using SQL When Changing Domains » My Digital Life and Search RegEx « WordPress Plugins for grepping through posts and pages.
Better yet, use interconnectit.com WordPress Serialized PHP Search Replace Tool
And check your theme files for hardcoded links (as opposed to links using Template Tags/bloginfo « WordPress Codex
) to style sheets and pages.
Reset permalinks in Dashboard/Settings/Permalinks.
Check:
wp-admin > Settings > Wordpress address and Blog address
to include "folder"
to get this working ... delete all the posts/pages - go to ur local wordpress blog and export it.
login to ur web blog and import.
that would be an alternative solution to working with the database and as far as i know exporting/importing content works good in wp :)

Resources