You can redirect all of the requests for domain (domain.com) to (www.domain.com) by editing your website's .htaccess file in cPanel. You need to add the following code at the beginning of the file in order to setup that redirection in .htaccess file.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
Redirect 301 /old-page https://wordpress.com/new-page
Redirect 301 /election-campiagn-management-services-india.html https://www.zivo.in/election-campaign-management-services-india.html
<!DOCTYPE html>
- Open Cpanel
- Opne public.html Folder
- Open Your Site Folder (if You have multiple website)
- edit .htaccess file and paste following Code
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]
Second Method for 301 redirect for page redirect
Redirect 301 /old-page https://wordpress.com/new-page
Redirect 301 /election-campiagn-management-services-india.html https://www.zivo.in/election-campaign-management-services-india.html
Third Method for 301 redirect for page redirect.
Create New Page with Old page name and paste below code in page.
0 Comments