Tag Archives: html

How to redirect the old domain to the new one?

A question that appears on move: How to redirect the old domain to the new one?

I have a blog, and can be read at http://blogvechi.com and decide that it’s time to move him, to do something new, to bring more of the written or any other reason, the address http: // blognou.com.

After you make sure everything is copied and installed in the new location, I noticed that my readers are still looking for the old address and the new one does not get anyone to read. All you have to do is to define the root htaccess file redirecting the old site.

This denotes that you are still old domain owner.

The few lines can help me get rid of this problem and other problems that result from such a move.

When you migrate a site from one domain to another, it is important not to break all ties that you were built to the old you. Proper forwarding of all pages on the old domain to the same location on the new field will ensure that our old domain will get to the right place. Without this redirection will have a loss of visitors and search engine rankings.

Suppose your web server using Apache for the purpose of this tutorial. If you have not made ​​changes to the structure of your site overall, and you simply moved the site in its current state, you can add the following lines to the file located in the old root domain htaccess .

<IfModule mod_rewrite.c>   
  RewriteEngine On
  RewriteCond %{HTTP_HOST} ^olddomain.com$ [OR]
  RewriteCond %{HTTP_HOST} ^www.olddomain.com$
  RewriteRule(.*)$http://www.newdomain.com/$1[R=301,L]
</IfModule>

Is it possible to create rules that will redirect URLs that follow a certain pattern to a new location. Since these rules involve complex regular expressions, they are not explained here. A professional SEO can help you to create these complex rules in a specific situation. Just make sure you use a 301 redirect for content moved. Any other type of redirection will not keep your search engine rankings (Google for example).

Insert Picture and Images in html

Pictures may be the element you most wish to insert into your web pages other than text. Whether it is a photo or a graphic image, the HTML tag to do it is the same. Here’s an example of the <img> tag with its often used key attributes:

<img src=”images/my” alt=”MyPicture” width=”160″ height=”120″ hspace=”10″ vspace=”10″ align=”left” border=”0″ />

Continue reading Insert Picture and Images in html