Include in jsp?
How to include jsp scripts in your page ?
Well we can do it in 2 different ways :
<%@ include file="included.html" %> or <jsp:include page="included.html" flush="true" />
What is web 2.0
Even if we use it every day not all of us know what Web 2.0
So What is web 2.0 ?
Markus Angermeier created a tag cloud with some of the themes of web 2.0
Ajax is web 2.0 , Rss is web 2.0 , adsense is web 2.0 , flicker is web 2.0 . Web 2.0 are those aplications that interacts with the user .
I Present you Robots.php
So you have like 2-3 or 4 domains pakerd in the same place :
cars.com , cars.co.uk, cars.fr, cars.ru
Same content but made for different visitors, perhaps different languages. The problems come when google visits your site and indexes all sites creating duplicate content (same content on different websites in this case)
This could be a serios problem for you , but what can you do?
You could make a 301 redirect for the domains you dont want to be indexed by Google but in this case if you would redirect cars.ru to cars.com the russian user would get redirected to cars.com to, and i suspect sometimes you just dont wanna do that
Well i suggest the following aproch :
Allowing google just on one of your sites, lets say cars.com (because is international and all) without redirecting the users to the cars.com using robots.txt and rewrite urls
You have attached the robots.php and the rewrite rule is :
RewriteRule ^robots\.txt$ robots.php
SEO your v3 Arcade plugin
As you may know v3 Arcade has NO SEO so in a age where everyone is looking for seo tools i made some small modifications on the script's template in order to make unique descriptions and titles, also haven't forgot about the keywords.
Templates that sufferd modifications :
arcade_main Modification for arcade_main
arcade_play Modification for arcade_play
This modifications were tested on vbulletin 3.6.5 and v3 arcade. You can see live demo at this address : http://www.craiova-online.ro/arcade.php
The new templates are attached to the article. Just replace the old templates with the new ones
What have i done? i removed the $headinclude and <title> from each template and replaced with meta description, meta keywords and titles to best suit the page.
BTW dont forget to ajust the mods to suit your forum by replacing the words marked with red
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<meta name="keywords" content="$game[catname],list of keywords" />
<meta name="description" content="$game[catname] description $foruminfo[forumdescription] " />
<title>title $game[catname] - YourForum </title>
Redirect Scripts
Simple HTML redirect script
====Begin==========
<script>
location = "http://www.daniel-ionica.net/blog/index.php";
</script>
=====End==========
With this script your users probably wont even see the redirect
Alert redirect
==Begin============
<html>
<script>
alert("This page has been moved to a new location... click OK to be redirected?");
location = "http://www.daniel-ionica.net/blog/index.php";
</script>
</html>
===End===========
Confirmed redirect
====Begin========
<html>
<script>
if(confirm("This page has been moved to a new location... would you like to be redirected?"))
{
location = "http://www.daniel-ionica.net/blog/index.php";
}
else
{
history.back();
}
</script>
</html>
===End=========
JavaScript redirects
====Begin=========
<script type="text/javascript">
<!--
window.location = "http://www.daniel-ionica.net/blog/index.php"
//-->
</script>
=====End========
JavaScript timed delay
====Begin=============
<html>
<head>
<script type="text/javascript">
<!--
function delayer(){
window.location = "http://www.daniel-ionica.net/blog/index.php"
}
//-->
</script>
</head>
<body onLoad="setTimeout('delayer()', 5000)">
<h2 >Prepare to be redirected!</h2>
<p>This page is a time delay redirect, please update your bookmarks to our new
location!</p></body>
</html>
=====End============
5000 are miliseconds. You can customize this scripts to suit your needs
