URL Rewriting Tool

Enter a URL

Eg. http://www.example.com/test.php?firstid=1&secondid=10

About URL Rewriting Tool

The structure of a URL is different depending on the CMS, website type or URL adopted by the webmaster. URL parameters differentiate a dynamic URL from a static URL. A static URL is one that does not change, so it typically does not contain any URL parameters. It can look like this: http://www.websitename.com/archive/january or http://www.websitename.com/archive/year.htm. You can search for static URLs on Google by typing filetype:htm in the search field.

An example of a dynamic URL would be http://www.urldomain.com/category/article.php?language=de&inhalt=dynamic-url. You can spot dynamic URLs by looking for characters like: ? = &.

Webmasters who have frequently updated websites like forum communities, online shops, blogs or content management systems may use dynamic URLs. Since basically the content of such a site is stored in a database and when searched, the content is pulled for display on pages on demand. In this case, the website serves basically as a template for the content. Dynamic URLs are also used in web forms, product lists, sessions or interactive websites.

Problems with Dynamic URLs

Dynamic URLs have the disadvantage that different URLs can have the same content. So different users might link to URLs with different parameters which have the same content.

Some search engines do not index dynamic URLs. This is because the search engine may see a spider trap or a huge sequence of website pages as it crawls the dynamic URL, the contents of which keep changing - which makes it look like a different URL. Advanced search engines like Google, index dynamic URLs as long as the information is market specific and content rich. But the best way to ensure that a Web page is indexed on the largest possible number of search engines is to include at least one significant page that is represented by a static URL, in which the contents do not change unless the HTML code is rewritten.

Using dynamic URLs can quickly lead to duplicate content, because the same content is accessible under different URLs. This can be remedied with canonical tags or blocking of parameters in the Google Search Console. Redirects or the mod-rewrite module are recommendable.

Dynamic URLs also have the disadvantage of poorer click-through rates in the search result pages (SERPs). Many search engine users typically don't like this URL strcuture because they have grown to like the static URL structure and sometimes some users just feel like the dynamic URL is so hard to remember.

These disadvantages are some of the reason why webmasters sometimes want to rewrite their dynamic URLs to static ones.

How To Rewrite URLs

Fortunately, there is a technique called URL rewriting that can turn dynamic URLs into static ones. This allows you to completely separate the URL from the resource and then make the page URL static. With URL rewriting, the URL and the resource that it leads to can be completely independent of each other. Whether you can implement URL rewriting on a website depends on the Web server. Apache usually comes with the URL rewriting module, mod_rewrite, already installed.

An example of a dynamic URL:


In the above example, a dynamic website is generated, which shows the content of a page item in a specific category. It is a product list, which is created at the moment of a user search query.

The rewriting could well be implemented with an .htaccess file. You can create a .htaccess file with the code below. The .htaccess file needs to be placed in www.urldomain.com root.

Options +FollowSymLinks
RewriteEngine on
RewriteRule article-language-(.*)-inhalt-(.*)\.htm$ article.php?language=$1&inhalt=$2

Then this Single Page Generated URL will be generated and becomes the static URL


How to Rewite Dynamic URL with a URL Rewriting Tool

There are some free tools you can use to rewrite dynamic URL to static, more search engine and user friendly URLs. Since its so hard sometimes to remember these codes. You can use a URL Rewriting Tool to generate the static URL from a dynamic one. Fortunately, SEOcentralTools has one of the best Free URL Rewriting Tools. SEO Central Tools URL Rewriting Tool is a free SEO tool that converts dynamic URLs into search engine friendly SEO static URL links. The URL Rewriting Tool is part of our robust 100% free online SEO tools.

All you need to do is follow the steps below for a quick check:

1. Visit SEOCentralTools.com and go to the Web Page Size Checker Tool Page.
2. Paste the dynamic URL into the tool and click submit
3. SEOCentralTools will rewrite your dynamic URL to a more serah engine format.

This is what you will see if the website is up:



Two types is generated. The single page URL

Type 1 - Single Page URL
Generated URL     http://www.domain.com/category/article-language-de-inhalt-dynamic-url.htm



And the Directory Type URL

Type 2 - Directory Type URL
Generated URL     http://www.domain.com/category/article/language/de/inhalt/dynamic-url/



Create a .htaccess file with the code. The .htaccess file needs to be placed in www.urldomain.com. This changes the dynamic URLs to static URLs. These are now search engine friendly and have static URLs that do not change.


We do recommend a 100% free online SEO analysis tool that offers complete access to the best-in-class proprietary metrics including PageSpeed Insights, Traffic rank, Keyword consistency, Text/HTML Ratio, Keyword Difficulty, Link analysis and more. Uncover technical SEO issues on your website wth this tool and get a get a fully custom, beautiful PDF reports with recommended improvements and fixes.