New answers tagged

0

You need to remember that is against Google Guidelines to use 301's for any other reason than moving your site to a new address, or consolidating several pages into one within the same website. Technically is possible to do thousands of 301's is the purpose is to transfer authority to a "new" domain as long as you don't do a chain of 301s However, I will ...


0

I have used similar tactic to get more page rank. But google undertands 301 redirections and it is indexing only main website. Moreover, it is not illegal for google but no positive effect on page rank : link


1

To combine those three rules into one you can use alternation (with a vertical bar) in a capturing group and another backreference in the substitution: For example: RewriteRule ^(information|reviews|comments)/business-name/(.*)$ /$1/new-business-name/$2 [R=301,L] $1 is now a backreference to either "information", "reviews" or "comments". Depending on ...


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

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


0

If you do choose to do a 301 redirect, you can set headers to stop the browser caching the redirect: <ifModule mod_expires.c> ExpiresActive On ExpiresDefault "access plus 1 seconds" </ifModule> <ifModule mod_headers.c> <filesMatch "\$"> Header set Cache-Control "store, no-cache, must-revalidate" </filesMatch> ...


5

It generally makes little difference. A 301 redirect may cause a short term drop in ranking, but nothing to worry about. An internal rewrite keeps the same URLs. You just need to be careful that you don't end up with duplicate content on multiple URLs.


2

mod_rewrite is the module that enables the redirection. 301 redirection should be done if you have a content on page A and not that has been migrated to a different subdomain or another link all-together. So 301 redirect page A -> page B to indicate this to crawler to get complete seo authority passed from page A to B



Top 50 recent answers are included