301 Redirect with htaccess files with GoDaddy

April 22, 2008

Recently, my brother noticed a mispelling in one of my urls.  And it just happens that that url is ranking well in the search engines.  If I just changed the url, anyone accessing the page from Google search would get a 404 error page.  Therefore, I wanted to redirect the misspelled url to the new url using htaccess. 

Many of the tutorials I read about 301 redirects using htaccess gave me this code:

Redirect 301 /oldurlextension http://www.newurl.com

However, this code didn’t work with Godaddy.  I had to use this instead:

Redirect permanent /oldurlextension http://www.newurl.com

Of course, you would replace old url with the extension of the old url you want to redirec to the new url and replace new url with your new url.  Here’s an example of what I did:

Redirect permanent /seven-qualities-to-look-for-in-a-good-wed-designer http://www.magicinthedesert.com/seven-qualities-to-look-for-in-a-good-web-designer

This redirects the mispelled url (wed instead of web) to the new url with the correct spelling.

Thanks bro!

 

Displaying page numbers in Wordpress

April 22, 2008

The WP Page Number Plugin is a great plugin for displaying page numbers for your Wordpress pages instead of the next or previous post format. This plugin replaces wordpress previous_post_link and next_posts_link and shows page numbers instead: Wp Page Numbers.

May All Be Happy

April 2, 2008

May All Be Happy is a website offering instructions for Yoga and meditation. The site makes use of a content management system with a customized premium template for displaying dynamic front page content including articles, Flickr photos and YouTube videos. Visit May All Be Happy →