How to do lots of 301 Redirect (Tomcat?

Let’s learn how to do lots of 301 Redirect (Tomcat. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

How to do lots of 301 Redirect (Tomcat) with complete urls

I have several websites running on a single tomcat instance, and at application level the cms reads the domain and it is smart enough to show the right website to the user. For example I have www.firstwebsite.com/welcome and the cms shows the homepage for firstwebsite, while when it receives requests with the domain www.secondwebsite.com/welcome the cms shows the welcome page for secondwebsite. But both websites has just replaced two old website with different url structure, for example the old...

Answer:

You can use RewriteCond which tests domain and next RwriteRule will run only when RewriteCond condition...

Read more

daniele at Stack Overflow Mark as irrelevant Undo

Other solutions

Do 301 redirects also transfer social media endorsements?

Let's say my page gets lots of likes and +1s, and I then change the URL and redirect the old URL. Do I still get credit for them, or am I starting from zero?

Answer:

301 redirects will transfer your Google +1's, but will not transfer your Facebook Likes.

Read more

Andrew Brown at Quora Mark as irrelevant Undo

Which is better for managing multiple domains? Redirecting all mini websites to the main site permanently or keeping mini websites with unique content and using them as a link source to the main site?

One of our clients owns lots of domains with such local names below: http://www.city1smallbiz.com http://www.city2smallbiz.com http://www.city3smallbiz.com They have built up all of them with one same template, however they filled them up with unique...

Answer:

It looks like a pretty obvious private domain network that doesn't add additional value to me.  I'd...

Read more

Corey Northcutt at Quora Mark as irrelevant Undo

What could be causing a 44% organic traffic loss after a migration from PrestaShop to Magento?

Hi Quorers, I am at my wits end and could use some fresh eyes on this problem. Six months ago we migrated an e-commerce solution from PrestaShop to Magento: Musimaster.com. The day after, we had a huge drop in organic traffic to our website; 44% as mentioned...

Answer:

Hello - Several things jump out at me based on the information you provided. Redirects - If not all...

Read more

Rick Bucich at Quora Mark as irrelevant Undo

How do I exclude a specific page of a site from 301 redirect?

I have 301 redirect on my old domain to my new domain, this 301 affect all pages and files on the site. Now, the issue is that for a specific page i do not want to use 301 redirect. So how do i add an exception for this specific page e.g  site .com ...

Answer:

In Apache, you can do this with the following rewrite rule in the .htaccess file: RewriteEngine On RewriteRule...

Read more

Steve Harmeyer at Quora Mark as irrelevant Undo

How to do a 301 Directory Redirect?

I have an entire site devoted to Labrador Retriever Gifts as well as Dog Gifts site devoted to all 155 dog breeds. Now, I used to have a Lab section under the latter but want all links to anything in that section to redirect the user to the former (no...

Answer:

You cannot redirect from a client based on a 301 code. This is done from the server side. If you manage...

Read more

Shannon at Yahoo! Answers Mark as irrelevant Undo

301 Redirect Headache

A weird 301 redirect request for a website. I've done typical 301 redirects of files and directories. However this new site was initially located at www.randomdirectory.sitename.com and is now located at sitename.com (with no www. at the beginning) is...

Answer:

This should do it - in the virtual host config (or adapted for .htaccess - I forget what if anything...

Read more

matimer at Ask.Metafilter.Com Mark as irrelevant Undo

Answer:

For SEO purposes i would advise on - meta tag (title, keywords and description) - keep updating your...

Read more

Var at Yahoo! Answers Mark as irrelevant Undo

301 Redirect for index.html?

For some reason, Google Webmaster Tools shows that I have crawl errors because of other sites linking to www.ciagent.com/index.html, but that file doesn't exist. I use index.php (WordPress). I want to get rid of these crawl errors, so I want to 301 redirect...

Answer:

I can't give you htaccess advice that will work - wordpress doesn't always play nice with htaccess files...

Read more

Finne at Yahoo! Answers Mark as irrelevant Undo

Does adding 301 redirect on domain effect site rank?

Hi, I have 2 sites one of them has a very high ranking and the other one with very low rank but all my content is on this website(Low ranked), now what i want to do is that put a 301 redirect on the high ranked website to point to the one which has the...

Answer:

Google will refresh it's ranking system all the time, and if google find your high-ranked site is redirecting...

Read more

Haroon at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.