7 min
Redirects in cPanel
301, 302, wildcard and .htaccess methods.
A redirect automatically sends a visitor from one URL to another. When someone opens the old URL the server returns the new page without any user action. Redirects are critical to preserving good UX and SEO ranking when you move pages, change domains or force HTTPS.
Redirects in cPanel
Open the Redirects tool
Log into cPanel and open the Redirects tool under the Domains section.
Pick the redirect type
Choose 301 (Permanent) for moves that pass SEO link juice. Use 302 (Temporary) for short-term redirects (campaigns, maintenance).
Set source and target URL
Pick the source domain, fill the relative path (e.g. /old-page) and the destination URL. Decide whether www. should also be redirected.
Test the redirect
Open the source URL in incognito mode. Use redirect-checker.org or curl -I to verify the 301/302 status code.
Set up wildcard redirects
Enable "Wildcard Redirect" to forward every page under an old path to the matching page on the new path (e.g. /blog/* → /articles/*).
Use .htaccess for advanced redirects
For regex or conditional rules edit .htaccess directly: RewriteEngine On + RewriteRule ^old-page$ /new-page [R=301,L].
Ready to launch your website?
Join 4,000+ satisfied customers. Free migration and 30-day money-back guarantee.
FAQ
Answers to the most common questions about our services.
Call us: support works 24/7, by phone and through tickets.
(+381) 60 3535 720What is the difference between 301 and 302 redirects?
301 (Permanent Redirect) tells search engines and browsers that the page has moved permanently. Google transfers about 90-99% of SEO value (link juice) from old to new URL and eventually replaces the old URL with the new one in the index. 302 (Temporary Redirect) says the change is temporary and the old URL will be active again. Google does not pass SEO value and keeps the old URL in the index. Always use 301 for permanent changes to preserve SEO ranking.
How do I redirect an entire domain to another domain?
In cPanel Redirects tool: pick type 301 (Permanent), in the Domain dropdown pick the old domain, leave the source URL empty (root), enter https://newdomain.com as destination, and tick "Wild Card Redirect". This redirects all pages from old to new domain, including subpages. Alternatively, in .htaccess: RewriteEngine On / RewriteCond %{HTTP_HOST} ^olddomain\.com$ [NC] / RewriteRule ^(.*)$ https://newdomain.com/$1 [R=301,L].
Do redirects affect SEO?
301 redirects positively affect SEO because they transfer most SEO value from old to new URL. Google recommends 301 for all permanent changes. However, there is a small loss (about 1-10%) of link juice per redirect. Avoid redirect chains (A > B > C) — each hop loses value. 302 does not pass SEO value and can confuse search engines. Multiple unnecessary redirects slow the site, which negatively affects UX and ranking.
How do I delete a redirect in cPanel?
In cPanel, open the Redirects tool. At the bottom of the page you see the list of all active redirects with details (type, source, destination). Click "Delete" or the "x" icon next to the redirect you want to remove. The change is immediate. If you added the redirect manually in .htaccess, open File Manager → public_html → .htaccess and remove the relevant RewriteRule lines. Always back up the .htaccess file before changes in case something goes wrong.
Why is my redirect not working?
Most common reasons: 1) Browser cache — clear cache (Ctrl+Shift+Delete) or test in incognito. 2) Redirect loop — check there is no circular redirect. 3) Wrong path — verify the source URL matches exactly (with or without trailing slash). 4) .htaccess conflict — other rules in .htaccess may block your redirect; check rule order. 5) CDN cache — if you use Cloudflare or another CDN, clear their cache. On BeoHosting, support can help with diagnostics.
Our guarantees for your peace of mind
Protected from every angle
30-day guarantee
We refund without questions in the first 30 days.
Free migration
We migrate your site with no downtime — you do nothing.
24/7 support
Our experts are here 24/7 via tickets and live chat.