New answers tagged

0

You need to use a 404/410 response so that once users have closed their profiles, they can remove from search result pages if they wish. They would not be able to do this with a redirect.


0

301 might not be the right choice as it is for permanent redirect. It should be used when a requested resource has been moved permanently to a new URL and any future references to this resource should use one of the returned URLs which is not the case. 302 (or 303) may be the better choice for redirection. You may also refer to difference between 302 and ...


0

Since you've not clarified the specifics of your question, I'll make some assumptions: You wish to redirect to a different domain. eg. example.net example.net points to a different server. /CDadmin is a physical directory on the filesystem. At the top of the .htaccess file in the document root of example.com, place the following: RewriteEngine On ...


2

Closetnoc pretty much sums this up in comments... no benefit. To answer your specific questions: I understand this should not affect search engine ranking at all Correct. However, if mynewbrand.com was already an established domain/website that was already attracting significant traffic then you could benefit (if the subject matter of the original ...


1

I tried to add this into .htaccess file: RewriteEngine On RewriteCond %{HTTP_USER_AGENT} (facebookexternalhit|FacebookExternalHit|Facebot) [NC] RewriteRule ^(.*)$ ^$1 [R=302] As already stated you don't "redirect", and certainly don't try to create an "infinite redirect", in order to block traffic. Purposefully creating an "infinite redirect" for any ...


2

i want to make infinite redirection because i dont want facebook bot crawl my site. if do in the normal way, the facebook also trace my website, and when I share in highly frequency mysite on facebook then my website will be blocked. if make facebook bot stuck in redirect it can not trace mysite – Sheng Long That tactic'll work perfectly, if you want to ...


0

No. A DNS (domain name server) record can only associate Internet numbers and domain names in different ways, such as an A (IPv4) record, AAAA (IPv6) record, and MX (mail server, where to send email to). You cannot give instructions through DNS, such as a 301 or 302 Redirect response, which is what I believe you're asking for. You are going to need to use a ...



Top 50 recent answers are included