I've got some problemes with my WP.
I've got a distant web site and I need to modify it. So i copy it on a wamp server to work on local.
Problemes are coming ^^
First when i go into localhost/my_site/wp-admin and I log myself no css are loading, and workpress is new for me so it's a little bit difficult to doing that without css.
Second when i click on a link in my local web site I've got 2 time the url.
I mean : 127.0.0.1/my_site/127.0.0.1/my_site/mypageIneed.
And obviously that doesn't work.
EDIT
I fix the CSS problems
If you already downloaded database and all files from your cpanel and everything is settled up on your localhost including database import. Just search this plugin online and place it to your root directory "Search-Replace-DB-master" run it on your browser and change all the links ( Ex. www.xyz.com/ to localhost/newsite/ ) . Good Luck !!
Related
I recently set up a WAMP server using phpMyAdmin and am having issues displaying images pulled from my website hosted via Pantheon. I've got everything running fine, but the images will not display.
I've exported my website's database via Pantheon and imported with phpMyadmin and the theme loads correctly, but not any images. It's running on WordPress as well. I've tried to find specific examples of this happening, but I'm not sure what the deal is. Any information would be appreciated.
If i get it right you exported you wp site and imported it at a local machine ?
Have you checked / changed the site url in wp ?
If in wp the site url dont match the real url the links to the files can get broken ..
Look at our site code in browser and there you should find the image link to see what wp realy try to load.
Solved. Had to extract the contents of the .tar file into the "uploads" directory, twice. There was no explanation to do this in any of the documentation I could find, I didn't understand how .tar files work.
I'm facing a problem the last couple of days and I can't figure it out. We changed the hosting company and move our website (same domain name) to another hosting provider. After migration, images not loading, and I can see them broken in WordPress's Media Library.
I tried to change the permissions in the upload folder but that didn't worked. SSL is also working as expected. I disabled all the plugins and even changed the theme, but the problem still persists. I re-uploaded all the backup files again to make sure that I wasn't missing something, but the problem haven't been solved.
I also have the support team from the hosting provider that works on the website, but there's been 2 days now and they can't find a way to solve the issue.
In the browser's Search Console I do see the following errors: https://ibb.co/y0KCmHY
I've also checked the DNS settings in CloudFlare to make sure that I have setup everything correctly.
Any help will be much appreciated!
I am no wordpress expert but I think I would first check whether image files in your backup files are not damaged/corrupted.
I would check both your backup files and image files in your new hosting server
(download image files from your new hosting server via FTP)
Sorry I couldn't help you much except where to look at first which you might already know.
From the image that you've provided, what I can tell the status is 404 like you know which means your image is not found. Something wrong with all your image URL. You need to make sure the URL is correct for each image you have.
I've transferred my wordpress website from a shared hosting to a linux VPS.
Everything is working fine instead of one thing. I'm getting realy weird pages for editing posts/pages.
I'm not sure how to name it and can't find anything on google about it, so I hope someone here can send me in the right direction.
Screenshot
At a quick glance, looks like a browser caching issue. Try the following:
Clear browser cache/cookies etc. and restart the browser/PC
Check with a different browser
Depending on how you migrated (transferred) the site, it is possible that all files did not get transferred fully and/or the database did not get imported fully. If 1. and 2. above fail, delete everything from the VPS and try again.
I'm sure when you check the network tab or console in inspect element on chrome, you will receive a lot of 404 errors because it is not able to load the required files for some reason.
What you can try is to add define('CONCATENATE_SCRIPTS', false) into your wp-config.php file. What this does is load all the javascript files individually, instead of one concatenated file.
Question: Are you using the same domain on your VPS? Or are you accessing the site on your VPS through a different domain? If so, you might want to update your database to correspond with the domain you're testing with now. Because this can cause strange behavior as well.
I have a strange issue in my wordpress website. previously images are not loading automatically on website. but when I activated firebug all images loads in a flash. However this issue is resolved now but websites seems to be very slow it takes 2 minutes to load images. I am facing this issue after moving website on go daddy hosting.
Here is the link of the website that is hosted on godady
http://www.mobilemag.in
And my old server url is http://148.251.158.133/mobilemag-old/
Please can any one check and guide me how to optimize this.
Thanks
Images are not getting resolved in your new website . All the URLs are coming like this:
http://http//mobilemag.in//wp-content/uploads/2009/05/image_5413_largeimagefile-150x150.jpg
Please change Media URLs.
i have checked your site and found that you have the problem with the image path :
http://http//mobilemag.in//wp-content/uploads/2015/05/2014_bugatti_veyron_ettore_bugatti_legend_edition-1440x900-1.jpg (your current path which i have fetch from firebug)
it should be like : http://mobilemag.in/wp-content/uploads/2015/05/2014_bugatti_veyron_ettore_bugatti_legend_edition-1440x900-1.jpg
so do not pass the static path here. write me the code how you display the images there i will correct it out.
Try to upload DB again with wp migrate db
Following are some steps :
STEP 1 : Install wp migrate db in your local site then after activate plugin go to tools and select Migrate DB
STEP 2 : Set your link as per your choice.
STEP 3 : After saving database(after click on migrate button you will get database in zip) just upload in live website.
Best way is You have to update your database.
Steps:
1.download sql of your database.
2.Open with notepad++
3.Copy----//http//mobilemag.in//wp-content and find in the sql
4.Repace all with----/mobilemag.in/wp-content
this will obviously work for correct path.
Thanks
Thanks every one for your help. I have corrected the media path but the issue is still there. Images takes long time to load. All content is loaded in no time but images takes more then 2 minutes to load.
Thanks
I have GD Star Rating WordPress Plugin. It is Working on admin side properly. But not displaying stars on frontend.
For example it returning 500 Internal Server Error on these pages
http://novelsnippet.com/main/wp-content/plugins/gd-star-rating/gfx.php?value=5&set=oxygen&size=20&max=5
But the about file working on my another site properly.
http://metroui.org/wp-content/plugins/gd-star-rating/gfx.php?value=5&set=oxygen&size=20&max=5
While working on that issue i found something
A simple php page http://novelsnippet.com/main/test.php is working here and other folder too.
But not working inside all the folders of wp-content.
For example http://novelsnippet.com/main/wp-content/test.php
This fixed it for me:
Go to Settings and disable loading the CSS externally - many providers block external file inclusion for security reasons.
Worked for me, hope it works for someone else.
At last we got solution from hosting provider. They fixed it now. They said he needed to whitelist a rule your script was running into.