We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Software

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What is a Rewrite Engine?

By G. Wiesen
Updated: May 17, 2024
Views: 6,843
Share

A rewrite engine is a part of a software application capable of converting a uniform resource locator (URL) from one format to another. Specifically, this type of engine is used to change how a URL appears so that users on a website see a URL that the site administrators want the user to see, rather than the actual URL. This can be done as a security measure, used to restrict the amount of information potential hackers can see about a website. A rewrite engine is also often used to make URLs more presentable and more navigable for website users.

There are a number of different formats and web frameworks that incorporate a rewrite engine in them to allow for URL rewriting. This type of rewriting is typically done through programming in the source code for an Internet website, often using hypertext markup language (HTML) or another method of coding. When done properly, the rewrite engine allows the website administrator or designer to indicate how one or more URLs should be displayed to users of the website. This allows a website to display links and website navigation on the website in a way that can be more secure and attractive for users.

An example of how a rewrite engine can work is a website in which the designer wants to organize it using URLs that indicate the date a page was made, such as entries on a blog. The actual URL for a page could consist of the address for the website, followed by text that indicated the type of language used for the site and the location of a page based on information that was difficult to understand at casual glance. Using a rewrite engine, the website administrator could alter the way in which the URL is displayed for someone viewing a website so that the language information was not shown, and the URL was more clearly structured around the date the post was made.

By hiding the language information used on the website, information that could be used to launch an attack on that site can be less readily available. The use of the rewrite engine to alter how the URL appears would also make it easier for users navigating the website to move between pages based on the date for which they are looking. Users could also more easily predict possible URLs used on a site, based on dates or categories they see used in other URLs on the site, thus navigation becomes even easier. This can result in less frustration for users, and an increased ability for users to anticipate how they may be able to find useful URLs.

Share
WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Editors' Picks

Discussion Comments
Share
https://www.wisegeek.net/what-is-a-rewrite-engine.htm
Copy this link
WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.