Editing Wordpress pages to homepage

Posted on Saturday, July 5, 2008 at 3:47 pm
       

   
   

Here is a Wordpress tip on how to change the Wordpress’s pages’s permalink so that it can be used as a navigation menu instead.

 
 

Problem

I had a problem because I am afraid you will be lost while navigating this site, and wanted YOU to return to my index page (root directory). You can only click my DennisQuek.com hyperlink on my header right at the top, and that is the only way so far.

In this Wordpress CMS, I created had a page called Cheap Cialis Professional Online Without Prescription “Home” that appears on the menu, but after clicking this “page”, a page of static post was expected. I needed have a more obvious way to return visitors to my home page, where index page is, without the need to click that DennisQuek.com link.

Dennis Home Page Images
The picture shows my old “home” pages page.

 
 

Solution

The solution is to edit the permalink such that you remove the “/home/” in the hyperlink to null. I found out a way by changing this, and that is to go into your mysql database or other database that you are running, and by changing to blank, you will be able to link the “pages” home back to your home page.

Edit Wordpress SQL database examples

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Step 1
Go into your Wordpress database. Locate the wp_posts, and find the structure tab. You will need that to execute the SQL search query later on.

 
 

Edit Wordpress SQL database examples

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Step 2
Click on the SQL tab and you should see a query that allows you to display the data in that table.

 
 

Edit Wordpress SQL database examples

 
 
 
 
 
 

Step 3
Scroll to the row where your post is. Although its a post, but its type is a page. Look carefully. Locate it and edit the row values. Look out for the “Post_name” value because this is where you change the value to null, or blank.

 

The bad point is you can’t use this method to link to other sites, so you’ve got to use the Links instead. But the good point is now you have a way to “cheat” and navigate around.

After you are done with the change, you should be able to see… err… it in live. Mouse over to my “Home” pages and you should see the URL as my domain name only and nothing else. Hope that enhances your Wordpress blog.

Tags: , , , , ,
   

One Response to “Editing Wordpress pages to homepage”

  1. Albuterol Says:

    Somewhere I have seen … And if on that very much.

Leave a Reply

Why ask?



Recent Entries

Popular Posts

Recent Comments

  • Ahmad: Hi, Hi, Very Very Informative and Practical. :) :) :) :) Regards, Ahmad
  • Ahmad: Hi, Very Very Informative and Practical. :) :) :) :) Regards, Ahmad
  • Anis Laila: The piggy buns look yummy. I am reading up on the different Malaysia accommodations available for a...
  • DennisQuek: Of cos definitely it feels much lighter. It doesn’t really bulge out, and it is much easier to put...
  • siurui: hey there, u have very good reviews and i noticed u were a user of the e61 too (using it now). this might...