Redirects
Create 301 and 302 URL redirects for your Hostinger website in hPanel or via .htaccess, including wildcard, domain, HTTPS, and www redirect examples.
Send visitors from one URL to another when you move content or restructure URLs.
Create a redirect in hPanel
Open your website dashboard.
Go to Domains → Redirects in the sidebar.
Fill in:
Source URL — URL to redirect from (e.g.,
/old-page)Destination URL — target URL
Redirect type — 301 or 302
Click Save.
Redirect types
Permanent
301
URL has moved for good. Search engines transfer link equity.
Temporary
302
Short-term redirect; the original may come back.
Use 301 for most cases — site restructures, domain migrations.
Via .htaccess
Simple redirect
Wildcard redirect
Redirect all /blog/* to /articles/*:
Entire domain
HTTP to HTTPS
www to non-www
Manage redirects
Redirects created in hPanel are listed in the Redirects panel — click to edit, or Delete to remove. .htaccess redirects are managed by editing the file.
Last updated: July 22, 2026
Last updated
Was this helpful?