Friday, 8 November 2013

Set up 301 Redirects in Apache for SEO to redirect your web pages


If you have changed the domain of your website from www.xyz.com/seo to www.abc.org and you need that your visitors accessing anything in your website www.xyz.com/seo should be redirected to a new domain i.e. www.abc.org, you can do 301 Redirect in Apache to redirect your web pages to new domain.








This redirection accommodates several files and folders name changes and is done with 301 redirections which is considered as Search Engine Friendly. 301 Redirects in Apache is also done to overcome the canonicalization issues.


The simple way to add 301 redirects in PHP file of www.abc.org is to include apache module mod_rewrite that matches specific patterns for entire folders and redirect them to their new URLs without having to go through every PHP script. Most apache installations will have mod_rewrite installed by default. To check if this module in installed you can verify it by adding following line to the apache configuration file or to an applicable .htaccess file:



 Read more here http://www.singsys.com/blog/set-up-301-redirects-in-apache-for-seo-to-redirect-your-web-pages/


If you need best web designing and web development services, Singsys is always there to provide you all kind of web design services. Call us at +65-65613900 or email to info@singsys.com. Written by Singsys. Follow us on Google+ here https://plus.google.com/105658280643752718698/

No comments:

Post a Comment