How to make changes to wordpress without them going live immediately? - php

I am trying to make very quick and easy css changes to a website that is wordpress site. I dont want make them while the site is live. is there a way to make them locally and then upload? what do you recommend?
people tell me that doing it locally is a big hassle because of the way the server is. is there a plug in that will let me make changes without them going live?
Thank you very much in advanced...sorry this is my first time with wordpress

What you can do is the following:
a) Install wamp server on your pc. (google where to get it)
b) Install a version of wordpress locally - in case you already have a version online that want to work on you will have to transfer it locallly. check this: http://codex.wordpress.org/Moving_WordPress
Actually you are saving your wordpress database, download all the files inside your wamp\www folder and then import the database through phpmyadmin to your local wamp server and change a couple of options in the db > options table (there are two options to change the website that is loaded so that it looks locally)
c) Your work on the offline version. I assume you mean that you need only styling, so you can edit your style.css file. As soon as you are pleased with it, you just upload it on your web server replacing your old file!

same as #scooterlord .
You can use nginx and php-cgi too on your Windows if ya wanna move to nginx in future.
Just install wamp then then download Wordpress version and then download your theme or plugin on which ya wanna work.
So ya will able to work offline and its not effect ur website.
yeah. I ya download db from ur site u need to change url of wordpress in DB.
u can do it by using phpmyadmin.
or by using These lines in your themes function file.:
update_option('siteurl','http://your.site.url:port/yourblog');
update_option('home','http://your.site.url:port/yourblog');

Related

"How to run already created WordPress website locally"?

I can download the WordPress website which is already created. So, I need to run that website locally. Please let me know step by step.
I don't know your setup but I'll give you a complete solution now and then we fix any problems afterward.
First thing you need to do is download a local WordPress hosting environment and set up a local host for the website. I prefer to use FlyWheel because it's the easiest so far. Other options include Laragon, XAMP, and WAMP.
After installing Flywheel and setting up a local install you download the "All In One WP Migrator" plugin on both the live website you want to run locally and the local website.
Once you use that to migrate the website to a local setup everything should be fine. If you have the error establishing database connection again I will tell you how to resolve that. It's pretty easy actually.

How to fix 'ERR_CONNECTION_TIMED_OUT' error in WordPress with WAMPSERVER installed?

I'm running up a local WordPress server with WAMPSERVER, and I'm working on editing the theme's child theme.
I also setup virtual server on my network. In the past few days I don't see any issue, everything work perfect. Until yesterday the virtual server look like not able to connect via my mobile phone and other computer in the same network.
Today I'm trying to work on the editing. It just can't load to the homepage or even wp-admin. So I took a look at the console in developer mode and I had this error.
I have try to do all the research like changing the port at httpd.conf and wp_option in wordpress to localhost. It just don't work at all.
UPDATE:
I have solve the issue with reinstall the WAMPSERVER and WordPress manually. I'll keep this post and make a guide for the future use.
Firstly I have no idea what to do because I can't even load to /wp-admin. So I decided to backup and restore everything manually.
1. Backup directory
Open up where your WordPress installed.
Click on the WAMP icon at the taskbar. If you don't see it probably is hidden inside the up arrow icon. Left click on the WAMP icon and navigate to www directory.
You don't need to copy and backup all the files in here. Navigate to yoursite/wp-content and copy plugins, themes and uploads.
Paste at any place in your computer as a backup except C:\wamp64. Because it will delete all the files when you uninstall the WAMPSERVER.
I'm using WAMPSERVER 3.1.7, older version might be different. Please Google where is my www directory in wampserver replace.your.version or original path which you can find at C:\wamp64\www.
2. Backup database
We need to backup our database in order to recover the page, post or portfolio we created in the WordPress.
In your browser navigate to localhost/phpmyadmin and select your WordPress database at the right panel then select export button on the top and press GO. Make sure your Format: SQL before you press press the go.
All the pages, posts and portfolios that you created are store inside the database, not in the WordPress folder. Read more at here.
Uninstall WAMPSERVER
Update later...
Reinstall WAMPSERVER
Update later...
Prepare to install WordPress
Update later...
Holla
Update later...
Hope the above guide will solve your issue. I'm not a professional IT guy but it does work for me at least :).
Feel free to edit or suggest if you think I have mistake in the guide.

Where I should store the Wordpress site in Xampp (linux)

I never use Wordpress but I usually use Xampp (Linux) to work.
So, I installed Wordpress and it works fine, if I enter with my browser to http://localhost/wordpress/ I can see the WP page.
I got from a friend his WordPress site files and stored them in /opt/lampp/htdocs like any regular web site, but when I try accessing http://localhost/folder_name/ I get the Index of folder_name and not the actual site.
I noticed that /opt/lampp/apps/ has a "WP" folder, and inside it - an htdocs folder like xampp have.
Where's the correct place to store the WP project ?
Is it /opt/lampp/apps/wp/htdocs or opt/lampp/htdocs/ ?
How can I get the WP site working and not get the index of / page?
You want to put the root of your WordPress installation in the same location you would put anything you want to be able to access at http://localhost. From what you're saying, it sounds like that is /opt/lampp/htdocs/
The Problem
WordPress runs just about everything through a database, including it's siteurl and home directory values. If you don't have a database at all, nothing is going to work. You'll find more on this problem Here.
The Hard Fix
You could try Migrating your friend's WP install to your XAMPP server, but you'll need their database for that to work. You could then use a tool like Wordpress Database Reset, which will get you back to basically a fresh install, just with any themes and plug-ins your friend's install included.
The Easy Fix
Since it sounds like you want a fresh install with a custom theme or plug-in from your friend, you can just start with a fresh install, and then add any themes and plug-in's in. Installing WordPress is fairly simple since they have a web-based installer to help you get everything set up. Check out this guide. Once you've got the basic site set up you can import any themes and plug-ins you want from your friend's WordPress installation.
I hope this helps!
I have read your problem folder path correct is opt/lampp/htdocs/
you need to make all services enable for server.

Moving wordpress from xampp to xampp

I'm not a programer I just play around html and css. Few weeks ago I was asked to make a Wordpress site for a friend. Thinking that the best idea would be to do it on XAMPP and then move it to live, I worked on it for quite some time.
Just when I was about to finish, something happened with powersurge and my computer got totaled, motherboard, graphics, power, all fried, all except for hard disc that somehow survived.
Now I got a laptop and new XAMPP instalation, but I have no idea how to transfer site from my old Hard disc to new. Any ideas?
Thanks in advance!
Edit: I have moved files from old xampp folder to new, but problem is database.
Usually(default) xampp is installed on the C drive, you can find it at:
C:\xampp\
projects are stored in the htdocs file inside of that, move the project(or projects if you have multiple) in its entirety from the old htdocs file to the new one.
Get your MySQL Data Files from C:\XAMPP\mysql\data and follow the instructions here
You can do this by following this steps:
1) copy your site from c:/xampp/htdocs/[copy your site name folder]
(before just check that your xampp install in which drive. common is C drive).
2)export database from phpmyadmin
type in URL : http://localhost/phpmyadmin/
then select your database and export it.
3)paste your folder in new PC's xampp/htdocs
4)import your database in your new Xampp.
I tried this way and its working good.
Install xammp and wordpress on new computer.
copy wordpress folder from C:\xampp\apps folder
Export wordpress folder from phpmyadmin.
replace the wordpress folder to new system and drop all table from wordpress db and
import the old db datas.
Notes:
If you config or merge other tools like phpbb means you have to change that also to
the new location.

Joomla Upgrade 1.5.15 to 1.5.23

I am trying to upgrade joomla 1.5.15 to 1.5.23
I have downloaded the Joomla_1.5.15_to_1.5.23-Stable-Patch_Package from the joomlacode.org.
While trying to install this package from my administrator, the error will be displayed "Error! Could not find an XML setup file in the package.".
Or
Shall I extract this zip file and upload the files to server directly through FTP?
Please advise me..
Any help appreciated.
I would recommend a 3-step process personally to ensure the best possible outcome.
First - backup your site (I LOVE Akeeba Backups 1-touch backup solution); download the backed up site and install on a local host or development server.
Second, do your upgrade there (extract the files from the .zip and put them in the localhost/dev server installation).
Make sure that the upgrade didn't break anything, that everything still works appropriately and as expected and create a backup of the localhost/dev server site.
At that point you know the upgrade won't break anything.
Third, upload the unzipped files from version 1.5.23 via FTP into your root joomla directory (complete the upgrade as listed HERE.
Doing these steps will ensure the best possible outcome and will show absolutely ZERO disruptions on your live site in the event something you're currently using doesn't like the jump from .15 to .23 - which is a large jump and a lot of things are different (including which version of mootools is included!) So take caution and TEST FIRST!
I would advice you to do this::
Assuming you have access to all the files of website.
1.Now download directly 1.5.23 or 1.5.26 version(last update patch of this series.)
2.Extract the files and open them,you will notice them you need to only replace 4-5 files in that patch.
3.Copy each file and replace them with the current files in the existing websites.
Hope this helps.

Categories