i have migrated from host to my new host
everything is working good but when i upload a image to my media it goes with old URL and wont even show up
the thing is the image actually uploads , i know that from filezilla cause it goes into the uploads folder
what is the problem? and how can i fix it?
Edit functions.php
If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.
FTP to the site, and get a copy of the active theme's functions.php file. You're going to edit it in a simple text editor (like notepad) and upload it back to the site.
Add these two lines to the file, immediately after the initial "
update_option('siteurl','http://example.com');
update_option('home','http://example.com');
Use your own URL instead of example.com, obviously.
Upload the file back to your site, in the same location. FileZilla offers a handy "edit file" function to do all of the above rapidly; if you can use that, do so.
Load the login or admin page a couple of times. The site should come back up.
Repeat the above steps, but remove those lines. IMPORTANT: Do NOT leave those lines in there. Remove them immediately after the site is up and running again.
Related
I developed a wordress site at: http://acenetsolution.com/activelearningwp/
I have manually moved the site to: http://activelearningpartnersltd.com/ on a different server.
But now, i can't see any images on the site and content is missing. However, pages are working fine.
I can see all the images are uploaded on server but they are not displaying.
When i upload a new image in wordpress the URL for the image comes as: http://activelearningpartnersltd.com/home/activey2/public_html/activelearningpartnersltd.com/wp-content/uploads/2016/04/logo-1.png
It should be like: http://activelearningpartnersltd.com/wp-content/uploads/2016/04/logo-1.png
My widgets are also not displaying in wp-admin.
Anything i did wrong?
Use This process
download your server database file.
now open your database file in notepad++ editor
now find "http://acenetsolution.com/activelearningwp/" and replace url = "http://activelearningpartnersltd.com/" replace all
now upload this database on server
I am having issues while running the live preview of some php files on LOCALHOST. Like I am working on Wordpress theme and while I am able to set the correct base URL and open the file on the browser through index.php, but I am not able to edit and view the other php files.
For example, I have to open index.php which is in http://localhost/test but suppose I want to edit the header.php file. I click on the header.php file and it opens a new page in Browser with URL, http://localhost/test/header.php, which returns a 404 error through wordpress(OOPS PAGE NOT FOUND!)
I have very little work with index.php and mostly with header, footer, functions and everything else. Although this isn't really a big issue, I can go with the traditional way but I really wanted to utilize this Brackets Feature. Hope there's something to get past this :)
This is not an issue this will never open in browser like single file, if you want to check this then header.php and footer.php files are also included into the index.php , you will check from that no need to run them to browser.
I have recently installed Magento and am using it for the first time. I am trying to uplaod an image to a folder as the new logo in the heading. When I upload the image using FTP the file uploads successfully but I can’t see it in the folder listing in a browser or on the website or if I visit the url for the image. I get a 404 page instead. Everything is getting cached I believe. I have turned off caching in the back end and cleaned out var/cache folder. This is a new one to me as I wouldn’t ahve thoughts ftp uploading an image would or could be cached? I can’t even change the header image on my website.
Im using the hellowired them as a starting point.
Cheers
Check the permissions on the Images and the directory it is in.
Can you verify that it is in the folder that you have uploaded it too?
Can you view it on server browsing the directories?
Finally check that you have type it correctly as Linux box's are CAPS sensitive, this could be why you can't see it also.
Looks like my host migrated my accounts to another server and I was actually updating the old hosting. Thanks for your help.
I'm needing help on a starting point of a project (if possible).
What I'm looking to do: Have a part of a website that contains files (done). They will all be Excel files. A user can open the file (double-click or right-click -> open), make some edits, save the file and this will be updated on the server. Looking for something very similar to how you edit files through FileZilla FTP.
Where I am confused: What is the terminology I would use to search for assistance on how to operate this? I have searched SO for 'custom FTP' and the like, however I think this is incorrect. I'm missing/confused on what is needed for communicating with the server.
What I have tried: I built the page containing the files. The page holds a bunch of file names and has links to download/open. The HREF is the location of the file on the server. It downloads fine but when saving the opened file, it only saves locally and not on the server. What else should I include so the edits are saved on the server?
Example of a file on the site:
File name
Any links or verbiage to point me in the right direction would be greatly appreciated. Let me know if further information is needed. Thank you!
I finished a project using the Finesse Wordpress theme from Ixtendo several months ago and all was well. However, recently I've noticed that an image that is hard-coded in to footer.php no longer displays, instead all I see is the alt text.
I've also tried using the image as a background image to a div which doesn't work either.
Anyone know how to fix this?
Some further info in case it's useful. I had also hard-coded references to JS files in header.php which worked for a few months but then the theme stopped getting the links. I resolved this by installing a plugin called WP Headmaster which enqueues the JS in to the theme.
Thanks in advance for any help.
This will most likely be that the image location is specified relatively.
If you copied the location from the css file, the relative location will probably not have been changed.
You can verify this by right clicking on the image in google chrome/other capable browser, and selecting "open image in new tab". There you will see the absolute URL - which is probably incorrect.
A simple answer in the end.
We have a hosting account, e.g myhosting.com. The Wordpress site is loaded in to a directory called 'abc' within the main hosting account.
There is a domain name pointing at this directory, e.g. mydomain.com. The problem came from me using myhosting.com/abc/images/logo.jpg when I should have been using mydomain.com/images/logo.jpg
I obtained the correct URL via the media manager in Wordpress.