• Home
  • WordPress
  • web Hosting
    • Free hosting
    • Cheap Hosting
    • comparison cloud , vps, shared, wordpress
    • managed wordpress hosting
    • managed cloud hosting
  • page Speed
  • Deals
  • Services
  • About

RAaz Kumar .com

wordpress tutorials seo hosting etc


301 & 302 Redirection in nginx, Htacess, wordpress etc Redirect URL & Domain SEO Friendly

 

 

Ways to redirect 301 in Nginx Server Block

location / {
return 301 http://jaggubhai.co.in/speed-post/;
}

 

301 redirection in htaccess old domain to New domain

 

301 redirection non SSL to SSL http to https

RewriteCond %{HTTP_HOST} !^example.com$
RewriteRule (.*) https://example.com/$1 [L,R=301]

301 redirect old url new URL

 

htaccess is apache server term,

so here full list of htaccess rewrite rules

subdomain to main domain redirection 301

RewriteCond %{HTTP_HOST} ^test.main.com
RewriteRule (.*) http://www.topsite.com/$1 [R=301,L]

 

www to Non www redirection 301

RewriteCond %{HTTP_HOST} ^yourwebsite.com
RewriteRule (.*) http://www.yourwebsite.com/$1 [R=301,L]

Non www to www redirection 301

RewriteCond %{HTTP_HOST} ^http://www.yourwebsite.com
RewriteRule (.*) yourwebsite.com/$1 [R=301,L]

301 Redirection Plugins in wordpress

Redirection plugin is best.

permalink finder is the worst thing, both google and user can;t understand the redirection, based on words matching. not the relevant page.

 

301 vs 302

  • 301, “Moved Permanently”—recommended for SEO old page authority goes to newone
  • 302, “Found” or “Moved Temporarily”

301 Permanently moved indicates to google bot & other search engines

302 temporarily moved in a certain time we will come back at

 

301 redirection spam google SEO by expired domain

buying an autort domain that;s expired redirecting new website. that’s not relevant sometimes relant

to make profits by affiliate commissions & PPC ads.

Not always treated as Spam. but user behaviour (high bounce rate, session duration etc) triggers google.

Skipping manual action on low quality sites etc.  WordPress duplicate thin content Issues {FIXED}

 

redirect url to another url

wordpress plugin: called redirection helps add source and target urls and status codes like 301 or 302.

html tag (blogger platform spam) <meta http-equiv=”refresh” content=”2;url=http://www.blogger to wordpress.com/” />

PHP <?php
header(“Location: http://www.mynewwebsite.com/blog/”);
?>

with status code to search engines

<?php
header(“HTTP/1.1 301 Moved Permanently”);
header(“Location: http://www.mynewwebsite.com/blog/”);
?>

htaccess

 

Redirect 301 /sourcepage.html http://www.targetdomain.com/

or

Redirect 301 / http://www.mynewdomain.com/

old url to new

Redirect 301 /sourcewppost.html http://www.anotherwebsite.com/newpage.html

redirect or rewrite (simple algorithms)

Related topics:

  1. change wordpress site url
  2. blogger to wordpress migration in 3 simple steps
  3. WordPress Security Plugins 2021 (Brute force, Login lockdown, Malware scanner etc)
  4. nginx rewrite rules with examples 301 redirection
  5. htaccess tutorial tips for wordpress #redirect #leverage browser cache #Gzip #KeepAlive

web hosting buying guide cheap vs best Best web hosting services in india

  • Free hosting top 10 providers with website
  • linode pricing (choose the best plan)
  • vps hosting india 500 inr (best vs cheap) affordable low cost vps vs cloud platform
  • hostinger Review plans Pricing Promo codes
  • Siteground review plans pricing vs performance cpu limits
  • AWS EC2 Pricing free tier & 4GB Ram 2cpu 4cr 8gb etc
  • google cloud compute engine pricing per CPU core, 1GB RAM, 1GB SSD &1Gb bandwidth costs location comparison
  • Wp rocket setup guide review & comparison to w3 total cache w3tc
  • domain transfer process during renewal, after expiry & redemption period
  • Vapourhost review 2021 plans price to performance
  • Whm cpanel hosting who can use it providers list for cloud VPS & shared hosting
  • Cheap Hosting | Shared Hosting Ipage, Hostgator, Bluehost, Godaddy
  • Digitalocean 100$ free credit pricing | free trial coupon #Digitalocean tutorials etc
  • cloudways pricing review Promo code with iass (digital Ocean, AWS, gcp, vultr , linode)
  • managed wordpress hosting kinsta, wp engine, wpxhosting, pagely, DO
  • managed cloud hosting with AWS, GCP, DO
  • vps hosting vs shared vs cloud hosting vs managed vs un managed
  • 301 & 302 Redirection in nginx, Htacess, wordpress etc Redirect URL & Domain SEO Friendly
  • Expired domain renewal , transfer, grace period, redemption period, restore deleted domain
  • Cloudflare tutorials SSL caching DNS DDOS protection etc
  • CDN comparison & integration price cloudflare keycdn, amazon google self hsoted for wordpress
  • Autoscaling & load balancing in google cloud
  • google cloud Review pricing tutorials
  • how to become a domain registrar
  • Hosting comparison price & scalability cloud platform, vps, shared, Managed wordpress
  • bluehost Review in india shared hosting limits
  • cpanel alternative for vps free centos, ubuntu, mac, windows,debian,nginx open source
  • top 10 web hosting companies india Find web hosting for you
  • best 10+ must have mods for smf simple machines forum software
  • Godaddy hosting review India 2015 Shared, WordPress managed
  • shared hosting limitations, shared hosting limits on Hostgator, godaddy, bluehost

 

 

wordpress Pagespeed optimization

Digitalocean free $100 Credit

Cloudways Review pricing promo codes

Siteground cpu limits Pricing

Shared Hosting

Managed wordpress Hosting

Managed Hosting Cloud server

VPS Hosting

Cloud Hosting – Unmanaged

Google cloud Pricing

Aws Pricing

Azure pricing

nginx server tutorials

apache server tutorials

linux sysadmin tutorials

mysql Commands list pdf

LEMP Install Ubuntu

Mysql Performance Tuning

Nginx Performance tuning

Linux Performance tuning

Php -fpm performance tuning

Redis Performance tuning

linux server security

nginx security best practices

wordpress security plugins

 

 

wordpress

 

Top 5  WP Google Analytics Plugins

WP Backup Plugins

Wp Comment Plugins

Top wordpress Security Plugins

WP Seo Plugins

WP Caching Plugins

Best Adsense Plugins for WordPress

Wp social Sharing Plugins

autoshare social media plugins

WP speed Optimization Plugins

Speedup WordPress google Score

More Wp tuts

Server Admin Cloud

 

Installing Nginx LEMP On ubuntu

Installing apache Lamp ubuntu

nginx fastcgi cache enable

php – fpm install  & Configuration

Opcache install & Configure

php -fpm pool manager explained

Mysql Install & Configuration

Redis Object cache install & configure

 

Nginx as Reverse Proxy and Load balancer

Load Balance / auto scaling in google cloud

Linux Commands PDF

Mysql Commands Pdf

Letsencrypt tutorial

mysqldump export & import 

Pagespeed Module install & configure

nginx.conf best file

mysql.conf best file

upgrade ubuntu

© 2023 - All Rights Reserved Disclaimer & Privacy Policy