Files & Databases

Setting up redirects

Redirects send visitors (and search engines) from an old address to a new one - essential when you rename a page, move to a new domain, or switch to HTTPS. The DirhamHost panel has a Redirects tool.

  1. Open Redirects.
  2. Choose the type: Permanent (301) for a lasting move, or Temporary (302) for a short-term change.
  3. Pick the domain, enter the old path, and type the destination URL.
  4. Save.

Use 301 (Permanent) for almost all cases - it passes SEO value to the new page and tells Google to update its index. Use 302 only for genuinely temporary situations.

Common examples:

Advanced patterns - such as redirecting an entire folder or using wildcards - can be written directly into .htaccess with RewriteRule. Back up .htaccess before editing. Avoid redirect loops (a page pointing to itself) which cause a browser error. If you are consolidating many old URLs, list them and we will help build the rules - WhatsApp +971 58 553 6767.

Still need a hand? Our UAE-based team is here 24/7.

Related articles

Using the file manager in DirhamHostUploading files to your websiteCreating an FTP accountFTP and SFTP settings and portsConnecting to your site with FileZilla