Tag Info

New answers tagged

0

If you are only changing of domain name while keeping the rest of the URLs identical, then handling redirects for some special pages separately will not provide any SEO benefits. Bulk is fine. If the URLs change on top of changing of domain name, you must make sure the redirects are correctly implemented for each page and that might mean using special cases ...


1

If you break these 301's, you will lose all value for any link you break. You may not care of course. But then again, you might. Many bots work from databases that are shared, sold, passed around. As well, many are following existing links to your site. Also consider that there are a ton of scrapers from domain monetizers that will continue no matter what ...


1

I'm always setup 301 redirect from www.example.com domain to example.com. This code helps you: server { server_name www.example.com; return 301 $scheme://example.com$request_uri; }


2

I would think this would be the expected behaviour would be this instead: www.example.com -> example.com www.example.com/test.html -> example.com/test.html That's a good idea. Just map the last parts of the URL (particularly folder and file) from the old domain to the new domain. You can easily use mod-rewrite if you have apache. Just make an ...


3

The HTTP status code 301 is named "Moved Permanently": The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs. So the resource (i.e., your document) would stay the same, it just gets a new URI. As your front page http://example.com/ is (usually) not the same resource ...


0

This htaccess snippet should do it for you -- redirects non-WWW to WWW mode, redirects non-HTTPS to HTTPS mode: RewriteCond %{HTTP_HOST} ^example\.com$ RewriteRule ^(.*)$ "https://www\.example\.com/$1" [R=301,L] Sometimes for certain multi-app installs on a hosting account, you may work with "addon domains". These are basically masked subdomains of the ...


0

This requires you to carry out a 301 redirect, with which you can move to a new domain without affecting your SEO. Maybe you can refer to https://phpmatters.com/how-to-move-to-new-domain/ to get some inspirations.



Top 50 recent answers are included