If a page on your website no longer exists and you want to redirect it to a new page or website, you can use the dot htaccess file to redirect visitors.
Redirect from a page/directory to another domain or the main domain:
Redirect from a specific page to a domain:
RewriteEngine on
Redirect 301 /mypage.html http://example.com
Redirect from one page to another page:
#Redirect from a page/directory to another page
Redirect 301 /oldpage.html /newpage.html
Whenever you open a URL such as example.com/oldpage.html, it will redirect you to example.com/newpage.html.
-
Products
- Browse All
- ----------
- Register a New Domain
- Transfer Domains to Us
- ----------
- Offshore DMCA Ignored Hosting
- Regular Web Hosting (Singapore)
- 5x Faster Web Hosting (Singapore)
- Student Web Hosting (Singapore)
- BDIX Budget Hosting
- BDIX Premium Hosting
- ----------
- Offshore DMCA Ignored Reseller
- cPanel Reseller Hosting (Singapore)
- cPanel Reseller Hosting (BDIX)
- Pay As You Go Reseller
- Domain Reseller
- ----------
- Offshore DMCA Ignored VPS
- Self-Managed VPS Hosting
- Managed VPS Hosting
- Managed Cloud Hosting
- Self-Managed Dedicated Server
- Semi-Managed Dedicated Server
- Fully-Managed Dedicated Server
- Dedicated Windows Server
- ----------
- Server Management Service
- WHMCS Domain Verification
- Software License Unlimited
- License keys Combo
- ----------
- SMTP Email Services
- Reseller & Server
- Domains
- Support
- Affiliates
- Offer & promo
-
More