What is URL Rewriting?
What is URL Rewriting?
The URL Rewriting which means in French "URL rewriting" is this technique that must be implemented to transform a complicated or difficult to understand URL into a URL that is easily readable and more understandable for the Internet user and search engines. at a time. It is necessary since dynamic sites often generate long and coded page URLs.
Naturally, the address of a dynamic page complicates the work of the search engine indexing robots
Why do we have to create this solution called URL Rewriting? Because taking into account the different variables involved, a dynamic website generates for its pages most of the time complex and long URLs including codes that are incomprehensible to the Internet user and difficult to classify for indexing robots.
Unhindered indexing, in other words good referencing, is obtained by writing the URL more explicitly in the first case and by transforming special characters for easier reading in the second case. There are also other SEO benefits of converting exotic URLs to clean URLs, including the ability to change the website hierarchy without disrupting web addresses and controlling the keywords appearing in URLs.
What are the steps to follow to rewrite URLs?
You must first try to find out if the host of your dynamic site is a server that allows URL rewriting. As an example, Apache allows this by activating its "mod_rewrite" module.
Likewise for Microsoft's IIS which in ASP uses ISAPI filters that the user can purchase, and in ASPX (.NET) offers functions like RewriteURL. In principle, free hosting does not allow rewriting, which is not an ideal situation for SEO. However, if your server is dedicated, you only need to modify the configuration file for rewriting to be taken care of and then restart.
The second step is to find the pages whose address has parameters to define their URL schemes, then write a new, clean URL scheme. Thus a URL termination of the form "article.php? Id = 36 & page = 5 & heading = 3" could become "article-36-5-3.html". The advice in this step is to use separators like "-", ". "," / "And" + "which are well recognized by Google instead of" _ ",", ","; "," & "," # "And" $ ".The third step is to write the rewrite rules to the appropriate .htaccess file.
The fourth step is to change all links to each file whose URL has been changed. The fifth and final step is to update your website and find out if everything is in order.

Comments
Post a Comment