29 Dec 2007 at 22:41 by Joshua J. Steimle
First of all, this only works on web servers running on Linux, like Apache. It's no good on a Windows server, which stinks, because I think this is the best way to do redirects because you can manage all the redirects on your entire site from one file, and you don't actually have to create files and directories or leave old ones in place in order for those urls to be redirected.
Here's the basic code you'll put in your .htaccess file, which either should already exist in the root directory of your website ("root directory" meaning the home directory of your website, where your homepage file is located) or which you'll need to create:
RewriteEngine On
RewriteRule ^directory/youroldpage.html$ http://www.yoursite.com/directory/yournewpage.html$1 [R=301]
Read Complete Entry
Comments (1)
digg it!
Add to del.icio.us
17 Dec 2007 at 12:34 by Joshua J. Steimle
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.yoursite.com/new-page/" );
?>
Pretty straightforward. I just did it for a bed and breakfast client of ours.
Read Complete Entry
Comments (2)
digg it!
Add to del.icio.us
14 Dec 2007 at 18:03 by Joshua J. Steimle
A lot of clients ask me whether I can point them to industry statistics showing what their conversion rate should be when using Google AdWords. Although it's perfectly understandable that a company would want to know how their conversion rate compares to their competitor's, this data is virtually impossible to get, and even if you could, it would be almost completely meaningless.
Unless...
Read Complete Entry
Comments (0)
digg it!
Add to del.icio.us
14 Dec 2007 at 00:43 by Joshua J. Steimle
I've had a lot of trouble finding code to do a 301 redirect in .NET, but I finally found some that works, courtesy of Keyvan.
<script runat="server">
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Response.Status = "301 Moved Permanently"
Response.AddHeader("Location", "http://www.mwi.com/")
End Sub
</script>
Read Complete Entry
Comments (0)
digg it!
Add to del.icio.us
11 Dec 2007 at 09:07 by Joshua J. Steimle
For those of you who may be new to SEO and don't know if you really believe that search engines can impact your business's bottom line, here's some interesting data from my own SEO company, based in Utah. You see, over the past years I've gotten quite a bit of business from search engines, especially when people were searching for terms like "utah seo," "utah search engine optimization," or "utah web design."
Recently, I reworked the structure of the mwi.com website, and so Google has had to figure out where all the new content is. As a further experiment I did not use 301 redirects, just to see how long it would take Google on its own to figure things out.
Read Complete Entry
Comments (3)
digg it!
Add to del.icio.us
10 Dec 2007 at 16:55 by Joshua J. Steimle
While there are many authoritative sources out there for content related to search engine optimization, SEOmoz is something of an authority of authorities. A few months ago they started offering what they call "Premium Content" for $50 per month. Even though I had found SEOmoz to be a valuable resource in the past, I resisted signing up.
Read Complete Entry
Comments (3)
digg it!
Add to del.icio.us
4 Dec 2007 at 13:33 by Joshua J. Steimle
Microsoft has a beta version of their Webmaster Tools up at http://webmaster.live.com. It gives you various bits of information and tools, the most awaited of which is the ability to upload and manage XML sitemap files as we've already been able to do for some time with Yahoo! Site Explorer and Google Webmaster Central.
Read Complete Entry
Comments (0)
digg it!
Add to del.icio.us