Home » SEO

Permalinks Setting for Localhost

Written By: techieDan on October 21, 2009 One Comment

WampServer has been a very good tool to do your own localized php programming. So happens though, TechieDan has been experimenting with WordPress offline to design templates. Though there was an error when setting it up with permalinks that displays the title.

Tech Talk : A reason to display your wordpress in the specified URL is so that it would be SEO friendly. Users and readers would be able to search for your post and even robots from the world wide web would be able to detect the URL easily with relative keywords.

Here was the proposed link to be done locally.

http://localhost/2009/09/29/permalinks-set-for-localhost/

Permalink WordPress

By doing so, the link should work only to return a 404 error. Opps.. Looks like the location doesn’t exist. You tried looking about in the wordpress settings to see what has been done wrong. Then only to find that the solution lies in the php wampserver itself.

404 Not Found

If you have WampServer installed. Open your httpd.conf file under Apache selection.Now do the following.

Locate the line below in the httpd.conf file.

#LoadModule rewrite_module modules/mod_rewrite.so

After doing so, uncomment the line stated by removing the ‘#’ symbol from it. It should now appear like this.

LoadModule rewrite_module modules/mod_rewrite.so

These are so far the most basic required to get your wordpress to function properly on a WampServer. This guide was written in reference to a deeper reference I got from Lancelhoff.

Related Posts with Thumbnails

Tags: , ,

Digg this!Add to del.icio.us!Stumble this!Add to Techorati!Share on Facebook!Seed Newsvine!Reddit!Add to Yahoo!

One Response to “Permalinks Setting for Localhost”

  1. Education Blog says on: 6 May 2010 at 6:31 am

    Very good tip about setting up perma-links.  It is certainly good to use permalinks and the settings in the default wordpress are decent, but you do need to adjust them a little bit. I for one don’t like all the trailing slashes and usually takes those out. Engines don’t like so many and will not read content past 3 or 4 deep.  In addition, I use a plug-in to automatically send people to the right perma-link based on the id of the post. This is good because no matter how people come into the site they will end up on the right page and will parse correctly. The plugin is called ‘permanently moved’ I belive and can be found in the wordpress directory.

Leave a Reply:

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  Copyright © 2009 TechieDan, All rights reserved.| Powered by WordPress