An introduction to Mod_rewrite

The Cloud is compatible with mod_rewrite which enables users to create websites with clean/SEO friendly URLs. mod_rewrite also has a number of useful features which can help you direct certain files to others, amongst other things.

Mod_rewrite is automatically enabled for sites using 'Linux' or 'Hybrid with Linux Bias'. You can enable mod_rewrite for Windows websites manually by logging in to the hosting control panel, clicking on the domain you wish to enable rewrites for, and then Website Settings and then Rewrite. Everything is the same as you would set it up on other hosting systems (e.g. cPanel) however you may need to add the following line:-

RewriteBase /

This will tell mod_rewrite where to look for your files (without this line it will look in the wrong place). 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Serving .aspx and .asp files from Linux hosting type

By default, we block requests for .asp and .aspx files on the Linux hosting type. This is for...

Why does an 'Internal Server Error 500' occur?

An internal server 500 error can occur for a number of reasons. We will outline in this article a...

Can I run an SVN, GIT or CVS repository on the Cloud?

Unfortunately they are not supported on our Cloud hosting but we do support them (and any other...

How to run Traceroute

"Traceroute" is a command-line tool which allows you to see the route data takes between your PC...