New answers tagged

1

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 ...


0

As others have alluded to, an IPv6 address is not the same as, or correlated to, an IPv4 address. They are different domains containing different data. You can have an IPv6 address without ever having an IPv4 and vice versa.


5

I would very much like to use wildcard redirects where possible (like in the directory structure that contains 2,000 MP3 files). If your server software is apache, then you can use the rewrite module to redirect some URLs to others using wildcard character sequences in the regex. For example, to redirect http://example.com/apple1, ...


1

Javascript redirect: Yes this will hurt SEO as this would be considered as a sneaky redirect. 301 permanent redirect from backend: will hurt it badly as you are giving an indication to crawler that you are moving your page example.com/username/ → example.com/username/broadcastid/ which is wrong and you will lose your ranking on main profile page. I would ...


0

Best practice is to use 302 redirect. If you are using JS redirects then the usual JS redir considerations apply. In general it will hurt. How much? That's difficult to say, but for most websites an importance of google indexing user profile pages is marginal. However if you find them to be essential for your website at a very least make sure that when your ...


1

If you are using WordPress as CMS you can install Yoast SEO and in that you can set permalink to overcome this issue. If you are using PHP you will need code to set permalink.


1

The other answers have already covered that redirecting would be a bad/pointless response and that simply dropping the response with a suitable status would be preferred. However, you did ask some other questions... will the other destination be aware of my Server IP? You used Google in your example. Being a search engine they will probably discover ...


5

Well aren't you friendly... "Hey Google, I'm having a DOS, but im making it your problem, thanks" First: There is no difference for you between serving an 301 or an 404 error page. Your server will have to do the same amount of work. The difference here is that you, with your 301->google solution, now ALSO make it Google's problem, effectively doubling ...


0

In the situation you give it is definarely dangerous and not a good idea, and could most definately result in issues for your site, it woukd be better to simply take that one file offline or if the traffic is coming from one cidr block then block that cidr, forwarding the attack to another site oike Google could ge seen as you taking part in the attack, plus ...


2

301 redirection is a suggested method if you have almost similar content on the page you are redirecting to. Otherwise google penalizes that and considers that a soft 404, where-in the site is misleading the users. So you can redirect some urls i.e. apple-to-apple mapping, but don't redirect everything to a single home page. Rather add a 410 permanently ...


2

Redirecting lot of pages which is having good SEO value to a single page website may not be a good idea. Consequently you lose SEO value for the old website. IMO Just use the website for advertising purpose of new website. Place a good banner. Offer something..


1

My hypothesis on the 5429 errors is that Google is trying to parse an HTML doc, (i.e., the redirect is working, but ending up in the wrong place). Could be a 404 page, an error page or even the home page. I had this very problem yesterday where the http://example.com/robots.txt was redirecting to /index.php and then again to my home page due to a dodgy ...


2

As im aware best practice is to 301 redirect. (.htaccess allows for "wilcard" redirects.) stackoverflow.com - How can I use htaccess to redirect paths with a wildcard character Google has a guide named Transfer, move, or migrate your site If you've moved your site to a new domain or subdomain, use the Change of address tool in Search Console. ...


0

I've seen this on several sites which have been around for a while. Links and URLs change over time, but Google doesn't tend to forget them. Sometimes the "Linked from" URL has been gone for years but Google still flags these up from time to time, probably just to make sure you don't miss anything. As @abhinsit mentions, you can use a 410 header on anything ...


1

Setup the domain with your web host as well that way both domains will load the same content. This can cause SEO duplicated content issues but if all you want to be able to do is access the site from different domains but the site work the same way then parking the new domain ontop of your current one will work. If you are using cPanel add the new domain as ...


3

There are two types of redirects : 1) 301 : permanent redirect -> If you have added this, then google will know that you have permanently moved this page and will store this in its index. 2) 302 : temporary redirect -> This will not let crawler index the redirection permanently. Firstly make sure that the redirection is 301 permanent redirect. Also google ...



Top 50 recent answers are included