How to Redirect a Web Page

301 Redirect 301 redirect is the most efficient and Search Engine Friendly method for webpage redirection. It’s not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it’s the safest option. The code “301” is interpreted as …

301 Redirect Examples .htaccess

To Move a single page Quick, easy and seamless for your visitors. Redirect 301 /oldpage.html http://www.example.com/newpage.html To Move an entire site This will catch any traffic on your old site and redirect it to your index page on your new server. If you want to redirect each page to its new spot, this isn’t the …

Redirect www to non www version of site .htaccess

Redirect www to non www version of site It’s best to stick with either always using www.example.com or just example.com. Allowing both can confuse the search engines. So here’s how to force your site to always show the non-www version. (Search for “canonical url errors” in your favorite search engine for more info.) Note: If …

Make a Div Into a Link

It’s easy to make any div into a link by using a bit of javascript. You can use this technique to make any div “clickable”. For example, you might want your “header” div to link to your home page. Here’s how it’s done. <div onclick=”location.href=’http://www.example.com’;” style=”cursor:pointer;”></div> you can make your header div clickable by using …