Web
Analytics
Connect with us

WordPress

How to Move WordPress From Local Server to Live Site?

Published

on

How to Move WordPress From Local Server to Live Site

How to Move WordPress From Local Server to Live Site? If that's what you need an answer to, than you're at the perfect place.

Moving a site from local server to a live site isn't the hardest task on this planet, but it's not the easiest either, so I'll try to simply it as much as possible for you.

What's a Local Server?

Before answering How to Migrate WordPress Website from Localhost to Live Server, let me start from the basics.

A local server is basically just the “web-envioronment” on your computer which allows you to work on your web-projects similarly as you would on the internet, but just with a lot more speed and ease.

That's the case because on the Internet you need to save and refresh for every change to take effect, and that in total makes a “lot” of changes, hence lot's of wasted seconds which add up to hours in the long runs.

Also on the web, deleting or modifying certain files need repeated permissions, asking you to login or authenticate over and over again, but on your local server,  you just need to authenticate them once.

The only problem is, a project on the “local server” is placed locally on your system and not the internet. So if you want the project to be accessible world-wide on the web, you need to move it to a live server.

So bottomline is, “local server' and “live server” both are basically just “storage space” for your projects, the former is local and offline while the latter is online and available to everyone.

How to Move WordPress From Local Server to Live Site?

Before you can move your WordPress from local server to live site, you'll need three basic things:-

  • Make sure your local site is ready.
  • Make sure WordPress is already installed on your Live server.
  • Make sure you write down the SQL database and password which you use while installing WordPress.

Step 1 :- Exporting the Site Content

The first thing you need to do is, export your WordPress content so that you can upload it to your live server.

In order to do that, go to your local server's WordPress module, go to your dashboard and click on Tools>Export.

How to Move WordPress From Local Server to Live Site

On the next page, choose “all content” and click on “download export file”.

How to Move WordPress From Local Server to Live Site

You'll get a .xml file containing all your WordPress site's content. This is the file you'll need to import in the next step.

Importing the WordPress Content:-

Now you'll need to import the file you just downloaded. Again login to your WordPress, go to tools>import.

It might ask you to install an “importer”. Just install the “WordPress” importer. (It takes couple seconds only!)

How To Move Your WordPress Website From localhost To Live Server

Once you've installed it, just browse to the .xml file you downloaded and import it. Once that's done it means you've successfully imported your posts, images, menus etc to your live site.

Step #2:- Exporting and Importing the SQL database:-

You need to import your MySQL database to you live server as well so that your live server can communicate with your WordPress files.

Login to your Phymyadmin module on the local server. You can alternately use “http://localhost/phpmyadmin” to directly access it on your local server.

How to Migrate WordPress Website from Localhost to Live Server

Next you'd want to click on “export” if you want to learn How To Move Your WordPress Website From localhost To Live Server.

So click on export, and select “SQL” from the drop-down menu and click go.

How to Move WordPress From Local Server to Live Site

Now you'd need to find and replace all the primary URLs of your project. Because by default, local server projects have the url of “localhost”. You need to change them to your URL.

So right click on the SQL file you just downloaded, and edit it with any editor. I normally use notepad++.

Just press ctrl+f and go to “replace” tab. There enter “http://localhost/your_project (replace “your_project” with the name of your project file), and in the “replace with” tab, enter your URL.

How to Move WordPress From Local Server to Live Site

Step #3:- Linking the Database with your WordPress Installation:-

During the WordPress installation, there was a moment when you were asked to create a new username and password for the database.

Something like the following screenshot:-

How to Move WordPress From Local Server to Live Site

I'm sure you wrote down the username and password. Those are the credentials you'll need now.

Now you'll need to edit your Wp-config.php file. Just change the following credentials with the credentials you used while creating the MySQL databse during the installation:-

  • define(‘DB_USER’, ‘your_database_user’);
  • define(‘DB_PASSWORD’, ‘your_database_password’);
  • define(‘DB_HOST’, ‘localhost’);
  • define(‘DB_NAME’, ‘your_database_name’);

Done!

Optional Step:-

If you had customized your WordPress local server with logos and personalized images, you'd need to upload all the files you have on your local server to the live server.

This is nothing technical or complex, all you've to do is upload all the files to your Public_HTML folder (if you have not installed WordPress is any other directory like /blog /mysite etc).

Or use a simple FTP client like FileZilla to accomplish the task.

Final Step:-

So that was all I had on How to Move WordPress From Local Server to Live Site folks. Hope this piece was helpful.

Although I do understand that it's one of the “more complex” articles, so there's a fair chance that you're stuck somewhere, in case you are just let me know in the commentbox and I'll help you out.

Last but not the least, I wouldn't mind if you share this piece around your social networks.

Evan Derek is the Founder and Chief SEO Analyst @ VebbLabbs. Specialising in Affiliate Marketing and helping newcomers to make it a stable profession in the online world, he boasts 6+ years of experience in the industry. 19 year has he spent on this planet successfully, and plans on spending atleast 50more !

Tips

How to Display Recent Posts in WordPress

Published

on

How to Display Recent Posts in WordPress

If you want that reader must stay up to maximum time on your website/blog then provide content as per their choice.

Earlier, to decrease the “bounce rate” of the blog I have written an article on “How to Display Related Posts in WordPress without Plugin” and now if the reader wants some fresh & recent articles then Display Recent Posts in WordPress.

Mostly, we Display Recent Posts in WordPress on the sidebar but there are other users who also want some change. In this article, we will show you the different ways to Display Recent Posts in WordPress.

Display Recent Posts in list format:

We know, the list format is mostly used in sidebars so if you want to display Recent Posts in a sidebar then put the following code in a template file (sidebar.php):

', ''); ?>

I have put the default no. posts at 10, if you want some less or more posts to display then change according to your requirement.

Display Recent Posts with Summary:

To give a small overview of the post to the reader, some people display Recent Posts with a title and a short description. For them, I have found two ways to display Recent Posts.

The First Way:

  • have_posts()) : $the_query -> the_post(); ?>
  • ”>
 

If you put the above code in a template file (sidebar.php) then you have to specify a short description of the post. So, you have to rewrite the excerpt as per the word limit.

So, here is the second way to display Recent Posts in WordPress. First, you have to download this Limit Post plugin and activate it. Once the plugin is activated then paste the following code in your theme files where you want to display Recent Posts.

  • have_posts()) : $the_query -> the_post(); ?>
  • ”>
 

Here I have put the description limit as 250 you can change according to your blog.

Display Recent Posts with Full Content:

If you want to display Recent Posts with Full Content then place the following code in your theme files:

  • have_posts()) : $the_query -> the_post(); ?>
  • ”>
 

Here also you can change the no. of posts.

I hope now you can Display Recent Posts in WordPress blog easily. If you face any difficulty in placing code then connect with via the comments section below.

Continue Reading

Tips

How To Use Google Advanced Image Search For Finding Royalty FREE Images

Published

on

Let us start with a simple question, what's the most common way that you use to find images? Most of the people just Google about the topic, save the images that they like and use them for their purpose.

Many people even put their own watermarks on the images they found on Google, well all these things are actually wrong you may have to pay a fine of almost 1000$ per image.

You never know that the image you downloaded from Google is copyrighted or not. Personally speaking, many of my fellow blogger friends have already faced an issue because of using copyrighted images.

Sometimes you may even have to shut your blog down.

You must be thinking that the best way is to generate the images yourself. Well, this is not the only solution, no doubt this is one of the best ways. I

n this article, I will be showing you How To Use Google Advanced Image Search For Finding Royalty FREE Images.

You must be wondering what do I exactly mean by Royalty free images, these are some images which are not acclaimed/copyrighted by any online firm or blog.

It means you guys can use these images in any way you want, no one will charge you even if you put on your own watermark on these images.

These images also prove to be pretty handy to the people who design flyers/posters for different firms and educational agencies.

So without any further delay lets get down to the main topic, below are given the steps using which you will easily be able to find some useful and royalty free images.

Follow the steps as listed below:-

  1. Google whichever topic that you want to search the image on and select the images tab.
  2. Now all the right you will see a gear icon, all you need to do is just click on that gear icon and go to advanced search.
  3. Now once you click on Advanced search, it will open up a completely new window in the same tab, here you will see a lot many setting, all you need to do is just simply scroll down to Usage Rights once you click on that it will open up a drop-down menu, from this drop-down menu select “Free to use and share even commercially “.
  4. Now once you have done this, without playing around with the other options, just go ahead and click on advanced search button which will be on the right side in blue colour.
  5. Once you click on the button it will take you back to the image window in the same tab, but this time all the images you see up there are completely royalty free and meant to be used in any way that you want to.
  6. So all good to go? you will now also get some additional features, for eg:- when you click on Labeled for reuse you will get several options and you select the one you feel the most suitable to you.

Hope this article helped you out, Keep stalking for more tricks 🙂

Continue Reading

Tips

How to Find Duplicate Images Online

Published

on

Finding Duplicate Images online on the internet is not easy!

It may be not of a majorities concern if their pictures or tech pics are being used without there permission but for a photographer, it will be of more concern than even his camera!

Pics are very diplomatic at times they may not even generate a Penney but a few make rootless money out of this!

So why do others let use your hard earned pics rather than just make it available where you think it should be!

As I said it is hard to Find Duplicate Images of your own on the internet, being vast enough over 55 million websites it is actually not hard but impossible to find pics over the internet.

Let's not talk of the internet just let it be small scale just into Facebook, even then it is impossible to find that who uploaded you priceless possession on FB.

So here we are to Find Duplicate Images easily. Firstly we should be well aware that our image can be anywhere in any format may it be an embedded one or an image uploaded to Rapidshare in zipped format.

The tool we will be using here will always track out every form of an image may it be in any format.

Find Duplicate Images online:-

Finding duplicate pictures can be beneficial in a number of situations. For instance, Find Duplicate Images online can be greatly helpful if you are trying to get the same picture in a different resolution or if you want to see if somebody is reusing your picture.

To Find Duplicate Images online you can use a nifty tool called “Who Stole My Pictures” for Firefox.

Right click on the image to see the searching options!

Who Stole My Pictures is a browser add-on for Mozilla Firefox. The add-on helps you easily search for Duplicate Images online using three websites dedicated to this purpose: Yandex, Tineye, and GazoPa. With the image open in your Firefox tab.

Simply right-click on the image and choose one of the above-mentioned websites. You may choose to Find Duplicate Images online from whichever tool you like.

A new tab will open up with that site’s results for duplicate images displayed with the numbering of the websites using that same image.

This is how the new tab looks like when we search for duplicate images!

The new tab will be having all the images which are close enough to your image with there sizes in which they are available and also their size including the Title, ALT text and the link of the image to the directory where it is uploaded.

That means it is easy to track all the websites which use your images within being in the same tab.

Why do we consider this tool to be the best to Find Duplicate Images online?

  • Lets you search and find duplicate photos online.
  • Lets you use 3 different websites (Yandex, Tineye or Gazopa).
  • Similar sites: MacroGlossa, Similar-Images, Pixolu and GazoPa.

So here we just made you know that how to Find Duplicate Images online with ease with “Who Stole my Pictures”. !

If you have any queries or issues using this add-on or using other search engines comments are always welcome!

Continue Reading

Blogging

How to Edit WordPress htaccess File?

Published

on

WordPress, is the most popular Blogging CMS in the world as of now. It powers more then 25% of the total world websites! Now that, is a huge, huge number. And that also is the reason why I'm writing this piece on How to edit WordPress htaccess file.

Well, before you actually jump in and start pondering over How to Create and Edit WordPress .htaccess file or where is .htaccess file, let me make couple things clear.

See Also: How to customize WordPress themes?

I don't want you messing with something you're not sure about, so let's get sure about what exactly is the .htaccess WordPress file, right?

What is WordPress .htaccess File:-

.htaccess is the file responsible for manipulating how the Apache server handles any changes in configuration of your WordPress CMS. So now you'd be asking, What do “changes” and “configuration” exactly mean, right?

So well, your WordPress is based out of a Permalink structure, isn't it? And someone needs to handle how those permalinks would come into being, right? That's what .htaccess does, it manipulates and changes and does whatever is needed to keep the pretty permalink structure of your WordPress stable and running.

That, sounded a bit complicated, huh? Well let me give you an “English version” of what .htaccess file can do for you:-

  • It can Protect your Admin Area!
  • It can even put in a Password Protection for your WordPress Folders!
  • Lets you hide backlinks and do some other magical tricks that might not be possible, or at least seem possible without it.
  • It has the power to hide / disable your directory from being browsed. Meaning your inner system files and stuff.
  • Wpconfig.php is one of the most important files to your WordPress blog, and well it can protect it!
  • Oh, and you can't forget that it allows you 301 redirecting your blog in case you ever need it.
  • It can even help you banning someone from checking your blog out.

htaccess file for WordPress is often ignored, most webmasters don't even use it to it's full potential and instead waste thousands of dollars on third-party tools and plugins.

While all of those tweaks and tricks and little magical stuff performed by those tools could have been achieved simply by adding one extra line of code to our .htaccess file! So yeah the potential? It's unlimited!

And some other stuff similar to that. So no doubt you're curious about how to change .htaccess file WordPress, right? Yeah, that's what I'm solving right here. Just keep reading.

See Also: How to Choose the Best WordPress Theme?

Where is .htaccess File:-

So once you know what exactly the .htacces file does, now you might proceed to something more practical like How to edit WordPress htaccess file right? But before that, you need to know where is .htaccess file don't you?

The WordPress default htaccess file is located in your Cpanel, under your WordPress Installation. (Don't worry, in the later sections I'm covering How to edit WordPress htaccess file, and there you can checkout the step by step procedure, and it's location! )

How to Edit WordPress htaccess File:-

So yeah if you wondered How to Create and Edit WordPress .htaccess file then this section covers that for you. Not just that, this section will also show you where is .htaccess file located on your server.

So, before you can actually venture into how to change .htaccess file in WordPress, let's first checkout where is .htaccess file located and then we can edit it.

Login to your Cpanel.

How-to-edit-wordpress-htaccess-file

Once you do, click on the File Manager option, and on the next popup, select Public_Html directory.

How-to-edit-wordpress-htaccess-file

Then, on the next page, click on the blog for which you are trying to edit the WordPress default htaccess file.

Well, you're almost there. Put a bit of pressure on your eyes and you should be able to easily spot out the .htaccess file! (See? I told you I'd answer where is .htaccess file located on WordPress, right?)

How-to-edit-wordpress-htaccess-file

Now this is the part you've been waiting for, if you were wondering How to Edit WordPress htaccess File just right click on the file, and select edit.

How-to-edit-wordpress-htaccess-file

A new tab will open up with a text like an editor, that is where you can edit your .htaccess file without any fuss!

How-to-edit-wordpress-htaccess-file

So yeah that was about it ! Nothing like rocket science there right? But hey wait, you might not always find your .htaccess file in some cases, because they might be hidden! 

Well, so I thought why not add a section to explain it out how to show hidden htaccess files, right?

Well in order to do that, just make sure the checkbox that says “show hidden files” when you click on the File Manager is ticked!

How-to-edit-wordpress-htaccess-file

Just get it ticked, and you're going to have a smooth sailing!

See Also: How to Install WordPress with cPanel?

Over to You:-

The .htaccess file is of utmost importance to your blog. It might seem like a tiny bit of code but it does miracles and magic when it comes to tweaking your blog for better performance or especially protecting it.

So I'm guessing this piece solved your issues over How to edit WordPress htaccess file right? Oh, I even tried my best to explain to you where is .htaccess file and how to show hidden htaccess files.

But I get it, there still might be couple doubts arising in that curious little mind of yours, guess what I love questions. Make use of the comment box; I'm here for each and every one of them.

Continue Reading

WordPress

How to Choose the Best WordPress Theme?

Published

on

How-to-choose-the-best-WordPress-Theme

A WordPress theme is what makes your website look alive. I mean if there's anything more important to your website after the Content and links, it's the design and layout. That's the reason today I'll be explaining to you How to choose the best WordPress Theme.

Now you might be arguing that Google doesn't have eyes, or it doesn't feel, so why should you bother getting the perfect one? Well as a matter of fact, there “Nothing” more important to Google, well yeah atleast as it seems to us, except User-experience. If a user comes to your website and he doesn't like your website, well Google doesn't either.

So a good theme is what makes Google fall in love with your website. But then again whenever you get a question like How to Select the Best WordPress Theme for Your Site, you most of the times confuse it with “How does my website look”. Well “looks” are just “one” factor of the theme, but they're neither the only one, nor most important. Another important aspect if you looking forward to making your blog a brand is Logo. A good attractive logo always works as the cherry on the cake. Here is how you can create a logo.

So whenever you're picking up the best theme for your website, there are couple things and factors you need to keep in your mind.

How to Choose the Best WordPress Theme:-

#1:- Design:-

How-to-choose-the-best-WordPress-Theme

Image Copyrights:- Colorib.

Ofcourse, when a user lands on the site, the first factor he'd notice is the looks and feel of the theme, right? It's not like he's gonna land and the next millisecond his brain has analysed the speed, compatibility, UI and everything else, right? So looks? They matter.

So what kind of looks you should go with? Now this is an abstract question, to which there might be as many answers are there are humans on this planet, multiplied by the number of rivers, trees and animals.

There's no “This looks is best” answer to the question. But there are certain factors which make your website look good enough.

  • Simplicity:- Iron Man UI looks good on screens, not when you're using it yourselves. So yeah make sure your website is simple, clean and neat. There shouldn't be extremely complicated options or features.
  • Spacing:- The text on the theme should have enough space on it, no one likes a website that has a bad fletch score (the ease of reading- It's even a ranking factor!)
  • The font should be around 12 in size, minimum. Anything smaller than that stresses the eyes. In short make sure whatever's there on the screen is easily readable without a lot of second guesses.

#2:- Browser Compatability:-

This one is a major issue. Although most themes out there support all the major browsers, but chances are you might just as well fall in the “unlucky 1%” group and select a theme which doesn't support all the browsers.

Now I know you don't check the compatibility before going with a theme, and that might hurt you. What this term means is that your theme should look exactly same on all the browsers, and should be showing it's full potential.

Some themes are poorly coded, hence the website misses a section, texts get mixed up, images start resizing themselves and all kind of gothic stuff if they don't support the browser.

How to Check Browser Compatability:-

There's no tool for that, but the one solution I can offer you is, anytime you want to go with a theme, it offers you live demo befoe buying or downloading, right?

So what you've to do is, check the “live demo” with atleast the following browsers:-

  • Google Chrome
  • Internet Explorer
  • Mozilla Firefox.

If the theme loads perfectly, then well it's all browser compatible.

#3:- Responsiveness:-

How-to-choose-the-best-WordPress-Theme

After the Mobilegeddon last year, responsiveness isn't a luxury option anymore. Instead it's a strict ranking factor! Well Responsiveness is the term that means “is your website easily compatible with Mobile and Tablet devices or not”.

In short, our computer screens are large in size, right? Around 10x compared to average mobile devices. So what a responsive theme needs to do is, it automatically resizes it's elements, the images, text size etc according to the device. If you don't know the very basics of creating a website, here is how to create a Website.

So that the “layout' isn't altered, just the size of the elements are, and the theme still looks exactly the same as it does on computers.

How to Test Mobile Friendliness of your Website?

Go to this Test Page from Google, and enter your URL.

Couple seconds later, you'd get to know what Google thinks about your website.

So yeah either make your websites responsive, or forget about SERP's.

#4:- Plugins Support:-

WordPress isn't half as awesome in itself, well yeah face the truth. It's Good, no doubt, but all those super awesome security levels and layout options aren't in-built in it.

Instead those are the magic spells from the Plugins! Plugins are external third-party tiny bits of codes which enhance and add features and options to your WordPress website.

Now the problem is, not all themes have love for the Plugins. Meaning, there are couple themes which don't support external plugins.

How to Check Plugins' Support?

There's no tool to do so either. The only way is, before you buy a theme or download it, make sure you check the reviews. If the theme is being selfish, there is 99.99% chance that someone has already mentioned this mischief in the reviews.

And the second option is to directly mail the developers and ask them if they support external plugins or not.

#5:- SEO Optimization

You just can't ignore this little friend here, right? A website without SEO? It's like a body without a soul. There's no purpose to it. Well SEO is what gets you ranked, gets you traffic, gets you sales and makes you money.

So without SEO, you might as well just quit your website already! The good news is, if you're worried about How to Pick the Best WordPress Theme for Your Business, then most themes have it listed on their download page itself if their theme is SEO optimized or not.

And well 99.99% themes are optimized already! Then why did I include this point over here? I did because there are some themes which aren't. And they look super awesome, super cool, and super-blah blah blah, But you can't afford to go with them if you're serious about your website.

If you've got to choose between LOOKS and SEO, choose the worst looking theme that there is if you have to, but you can't compromise the SEO factor. Do some hit & trials before finalizing the theme. Track your traffic using Google Analytics. Here is how to use Google Analytics.

The URL structure, permalinks etc are what the theme controls. So if they're shitty, or non-customizable, don't you dare go with the theme.

#6:- Check Ratings  & Reviews:-

How-to-choose-the-best-WordPress-Theme

Well this is the best way to check all the above factors in a single go!

The above factors are considered by almost all the people who have downloaded the theme, right? So checking the Ratings and Reviews of a theme directly tells you an “overall score” including all the above-listed factors.

And that makes your job a hell lot easier.

How to Analyze the Ratings?

So in particular, try to go with themes which have 4.5-5 Star ratings and enough positive comments. If not, even 4 is okay. But going with any theme below the 4 star is a mistake.

Over to You:-

So yeah I guess that answered your query that was even remotely related to How to choose the best WordPress Theme? Yeah I hoped so.

If you got any questions or query do make use of the comment box. Or got a better suggestion? Do let me know I'd love to include it over here.

Continue Reading

Trending