If a page on your website no longer exist and you want to redirect it to your new page or website then you can use the .htaccess file for redirection without waiting.
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 a page to another page:
Redirect from a page/directory to another page
Redirect 301 /oldpage.html /newpage.html
Now, whenever you open the url example.com/oldpage.html, it will automatically redirect you to example.com/newpage.html.
Kateqoriyalar
4
Backup/Restore
24 cPanel - Control Panel
10 Databases
7 DNS - NameServers
11 Domain Management
11 Email
9 FTP
4 HostingUp VPS: Special Instructions for Automated Bot Deployment
1 How To Add Port In HostingUp VPS
1 How to configure SSL on Shared IP & Port Plans
4 How To Host Telegram Bot On VPS Server
6 Installing a Control Panel
8 Mail Filters & SPAM
11 Mobile
3 Others
10 Security
5 SSL
1 Virtual Private Server (VPS) Commands
Kateqoriyalar
How to redirect a page to another page or website using .htaccess? Print
- 0