Posts

Introduction of Hardware Problems in Pcs

Introduction to PC Hardware Problems What is a Hardware Problem? A hardware problem is classified as a fault in an actual component (e.g. electrical failure) - or in the configuration of that component - leading to issues with the computer. It is distinct from a software or firmware problem, which is normally caused by a defect in the software or operating system code respectively. A hardware problem is classified as a fault in an actual component - or in the configuration of that component - leading to issues with the computer Hardware faults are normally more difficult to cure as they usually require the case to be opened up and investigated, rather than just applying a software patch. How to spot a Hardware Problem It can often be quite difficult to distinguish hardware faults from software ones. The following are things which indicate the problem is  likely  to be hardware related: A problem begins to occur regularly even though no...

Fix No Display Solution in Pcs - General Solution

Image
Fixing No Display Computer’s Motherboard Problem Sometimes our computer got turned on, but our displays show nothing and give us a blank display, “no signal” or “Check video cable” error. In that case there are numbers of possible issue which creates that’s problem and preventing your computer to boot up normally. So, stick with this tutorial and do the step by step hardware verification what we show you below, in order to start or boot up your computer: If your computer doesn’t show you any sign of power(electricity) or remains dead when you push the start button, then you should check our another tutorial to know   “How To Fix A Dead Computer Which Won’t Turn On ?” . So, now the question is what could be the possible reason for that fault (no display problem) and how to find and fix that problem? The answer is some minor faults, which you’ll find after doing the step by step inspection of every hardware inside of your computer in order to fix your computer. Note: If...

12 Computer (PC) Tricks You Should Try Right Now

Image
Computers have simplified our life to a great extent. Things that were impossible earlier can now be completed instantly thanks to computers. However, this does not mean that a PC is all work and no play. Here are some of the best tricks you can try out on your Windows based computer. Have fun with Notepad If you think that Notepad is just a basic text editor, then, you will be amazed by its capabilities. You can use Notepad to create everything from personalized logs to harmless viruses that are incredibly annoying. Go see this post to know just how useful Notepad is. Command Prompt too has some tricks up its sleeves If you think that the Command prompt is a boring old program that no one uses, you are making a huge mistake. It can be used for everything from watching ASCII Star Wars to making folders that you cannot delete. See this post to know about all the cool stuff you can do with the Windows Command Prompt. Use Keyboard Shortcuts to get work done in no...

Create Own Rewrite Rules in Wordpress

Create Your Own Rewrite Rules Know all Url rewrite tricks in Wordpress In this example we are going to create a rule that will create a url of /actor/%actor-name%, once we get this URL we will pull out the %actor-name% from the URL and search for all posts which have this actor name as a tag attached to the posts. add_action ( 'init' , 'add_actor_url' ) ; function add_actor_url ( ) { add_rewrite_rule ( '^actor/([^/]*)$' , 'index.php?tag=$matches[1]' , 'top' ) ; } Now if I was to add a tag onto a post I can search for it by using the /actor/%tag-name% URL, this will display the tag page with all the posts that have this tag attached to them. You can change these to anything you want, if you want to search on year and get all the posts in this year you can do so easily, you can even use a URL of /iwanttosearchonyearposts/2014. Know all Url rewrite tricks in Wordpress add_rewrite_rule ( ...

Create Query String Parameter in Wordpress

Create New Query String Parameters Know all Url rewrite tricks in Wordpress When you create your own rewrite rules they should all be write back to the index.php file, this is where WordPress is instantiated and the database is loaded, there are a number of querystring options you can pass through to the index.php file to get it to process the results and return the correct post. These include postname, category_name, tag, year, monthnum, day, paged. But if you have created a new post custom meta data and want to have a custom URL to view any post with this meta information then you will need to create your own URL parameters to use on the index.php file. This is where you will need to create your own querystring parameter into the index.php file so that WordPress will understand this parameter and use it in the query variables to use in the WP_Query class. Using the WordPress function add_rewrite_tag() we can create querystring parameters that WordPress will ...

Flush Rewrite Rules in Wordpress

Flush Rewrite Rules Know All rewrite tricks When you change your WordPress URL structure or add new rewrite rules then the WordPress database will need to be updated with the new URL rules this is so it will understand how to search for your posts from the given URL. Sometimes you get the problem of changing a URL structure and WordPress returning a 404 page for your posts. This can be because the rewrite rules have not refreshed correctly. There are a few ways you can refresh the permalink rules. First you can navigate to the permalinks page  Settings -> Permalinks  and change the permalink click the save button, then change it back to the way it was. This will refresh all the rewrite rules on your website and your custom post types should be displayed. Secondly you can open phpMyAdmin, navigate to the  wp_options  table and delete the rewrite rules record from this table. Next time WordPress loads it will check for the rewrite rules in this table...

How To Rewrite URLs In WordPress

Image
In this tutorial we are going to look at how you can use the built in  WordPress rewriting API  to create your own unique links for your website. WordPress will already use this for it's own functionality when you select a new permalink structure. What Is Rewriting? URL rewriting is when you change what content is displayed by the server, normally when you type in a URL the web server will simply search for any files in that location. But with rewriting you can still show the same URL but in the back-end change where the server will look for the content. Therefore we can have a URL of /website-1 but tell the server to display content that is located in /website-1/content/index.php How WordPress Uses Rewrite For Custom URLs When you go to  Settings -> Permalinks , you will need to select how you want your URLs to appear on WordPress. You have many different options to choose from the default WordPress will use is ?p={post_id}, this is the value that is stored ...