<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Search engine script &#187; script</title>
	<atom:link href="http://searchenginescript.biz/tag/script/feed/" rel="self" type="application/rss+xml" />
	<link>http://searchenginescript.biz</link>
	<description></description>
	<lastBuildDate>Wed, 23 May 2012 08:12:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PHP SEARCH SCRIPT LIKE WIKIPEDIA?</title>
		<link>http://searchenginescript.biz/php-search-script-like-wikipedia/</link>
		<comments>http://searchenginescript.biz/php-search-script-like-wikipedia/#comments</comments>
		<pubDate>Tue, 15 May 2012 00:11:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[Wikipedia]]></category>

		<guid isPermaLink="false">http://searchenginescript.biz/php-search-script-like-wikipedia/</guid>
		<description><![CDATA[Question by : PHP search script like Wikipedia? Hello. I know some PHP but this is beyond my capabilities. I want to build a search engine script with PHP and MYSQL. For example&#8230;. I have a website with a lot of pages each titled with different subjects. If a visitor searches for one of those]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by </i>: <br />PHP search script like Wikipedia?</strong><br />
Hello.<br />
I know some PHP but this is beyond my capabilities.<br />
I want to build a search engine script with PHP and MYSQL.<br />
For example&#8230;.</p>
<p>I have a website with a lot of pages each titled with different subjects.  If a visitor searches for one of those subjects, it will look for the page with those keywords in it, and redirect to the page that is in the mysql database.  Like Wikipedia.  </p>
<p>Does anyone know how i could accomplish this?  Please help.  Thanks.</p>
<p><span id="more-1652"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Tiddo</i><br/>suppose you are folder structure is like this:<br />
index.php<br />
search.php<br />
pages/<br />
-page1<br />
-page2</p>
<p>and you are search form is submitted to search.php. Than you are search.php have to look something like this:<br />
?php<br />
$  page = $  _REQUEST['page']; //get the search string<br />
$  page = htmlspecialchars($  page); //create a safe string (probably you will need some more validation)</p>
<p>//if the file exists, redirect, and exit this script<br />
if (file_exists(&#8220;pages/&#8221;.$  page.&#8221;.php&#8221;))<br />
{<br />
header(&#8220;Location: http://www.example.com/pages/&#8221;.$  page.&#8221;.php&#8221;);<br />
exit;<br />
}<br />
//do something when the file doesn&#8217;t exist<br />
?></p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>What do you think? Answer below!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://searchenginescript.biz/php-search-script-like-wikipedia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NEED HELP ON SIMPLE SCRIPT?</title>
		<link>http://searchenginescript.biz/need-help-on-simple-script-2/</link>
		<comments>http://searchenginescript.biz/need-help-on-simple-script-2/#comments</comments>
		<pubDate>Fri, 04 May 2012 14:10:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[Need]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://searchenginescript.biz/need-help-on-simple-script-2/</guid>
		<description><![CDATA[Question by Putang Ina Ang Kulit Mo!: Need help on easy script? What Im trying to do is make a multi purpose textbox, when I press GO(button) , the textbox and the selected engine will do it&#8230; I cant make the GO button get the value of textbox and engine&#8230; Can you guys fix it?]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Putang Ina Ang Kulit Mo!</i>: <br />Need help on easy script?</strong><br />
What Im trying to do is make a multi purpose textbox,</p>
<p>when I press GO(button) , the textbox and the selected engine</p>
<p>will do it&#8230; I cant make the GO button get the value of textbox and engine&#8230;</p>
<p>Can you guys fix it?</p>
<input name="textbox">
</input>
<select name="engine">
<option value="http://">
<option value="http://www.google.com/search?q=">Google</option>
<option value="http://">Website</option>
</select>
<input type=button value="GO" onClick="goToURL()">
</input>
<p><SCRIPT LANGUAGE="JavaScript"> function goToURL() { window.location = &#8220;gfds&#8221;; } </script></p>
<p><span id="more-1642"></span><br />
------------------------------------------</p>
<p><i>Answer by jasy p</i><br/>sorry... i dont know</p>
<p>
------------------------------------------<br />
<strong>Know better? Leave your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://searchenginescript.biz/need-help-on-simple-script-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>DOES ANYONE KNOW OF A WEBSITE THAT HAS THE LYRICS OR SCRIPT TO JEKYLL/HYDE THE MUSICAL?</title>
		<link>http://searchenginescript.biz/does-anyone-know-of-a-website-that-has-the-lyrics-or-script-to-jekyllhyde-the-musical-2/</link>
		<comments>http://searchenginescript.biz/does-anyone-know-of-a-website-that-has-the-lyrics-or-script-to-jekyllhyde-the-musical-2/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 14:11:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[Anyone]]></category>
		<category><![CDATA[Jekyll/Hyde]]></category>
		<category><![CDATA[know]]></category>
		<category><![CDATA[lyrics]]></category>
		<category><![CDATA[musical]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://searchenginescript.biz/does-anyone-know-of-a-website-that-has-the-lyrics-or-script-to-jekyllhyde-the-musical-2/</guid>
		<description><![CDATA[Question by kitster_kosh: Does anyone know of a website that has the lyrics or script to Jekyll/Hyde the musical? I&#8217;m writing a paper about Jekyll/Hyde in comparison to the play Dr. Faustus. I am aware of the novella by Robert Stevenson which is the original work, (and I own it) but would like some references]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by kitster_kosh</i>: <br />Does anyone know of a website that has the lyrics or script to Jekyll/Hyde the musical?</strong><br />
I&#8217;m writing a paper about Jekyll/Hyde in comparison to the play Dr. Faustus. I am aware of the novella by Robert Stevenson which is the original work, (and I own it) but would like some references to the play or at least the lyrics to the songs. I have access to the music but not the actual lyrics, which would preferable.<br />
I do not know who the writer of the music or play is, and that would also be helpful in finding what I need. When I have searched for it on databases or search engines I just get information on the novella.<br />
Please help if you can!</p>
<p><span id="more-1618"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Be*Puzzled</i><br/>Try this site for the lyrics.</p>
<p>http://www.stlyrics.com/j/jekyllandhyde.htm</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Add your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://searchenginescript.biz/does-anyone-know-of-a-website-that-has-the-lyrics-or-script-to-jekyllhyde-the-musical-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IS IT FOR REAL THAT MARIA OZAWA WAS RAPED IN THAT SCENE AND NOT ACCORDING TO THE SCRIPT?</title>
		<link>http://searchenginescript.biz/is-it-for-real-that-maria-ozawa-was-raped-in-that-scene-and-not-according-to-the-script/</link>
		<comments>http://searchenginescript.biz/is-it-for-real-that-maria-ozawa-was-raped-in-that-scene-and-not-according-to-the-script/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 14:10:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[according]]></category>
		<category><![CDATA[Maria]]></category>
		<category><![CDATA[Ozawa]]></category>
		<category><![CDATA[raped]]></category>
		<category><![CDATA[REAL]]></category>
		<category><![CDATA[scene]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://searchenginescript.biz/is-it-for-real-that-maria-ozawa-was-raped-in-that-scene-and-not-according-to-the-script/</guid>
		<description><![CDATA[Question by : Is it for real that Maria Ozawa was raped in that scene and not according to the script? I saw a video of Maria Ozawa crying in pain in a japanese porn film. her arms and legs were tied while someone rubbed her clitoris with a hand then a vibrator. then fingered]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by </i>: <br />Is it for real that Maria Ozawa was raped in that scene and not according to the script?</strong><br />
I saw a video of Maria Ozawa crying in pain in a japanese porn film. her arms and legs were tied while someone rubbed her clitoris with a hand then a vibrator. then fingered her. the crying really looks like crying in real pain or discomfort. . . but that is a porn film! is she already being raped for real or its just acting and part of her job making it convincing?? what do you think?</p>
<p>you can type keywords &#8220;crying maria ozawa&#8221; on a search engine and see for yourself. I really feel sorry for her. She is so pretty.</p>
<p><span id="more-1594"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Nick</i><br/>Fake and disgusting. I do not know why those types of videos turn people on&#8230;</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Give your own answer to this question below!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://searchenginescript.biz/is-it-for-real-that-maria-ozawa-was-raped-in-that-scene-and-not-according-to-the-script/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WHY IS THIS PHP SCRIPT NOT WORKING?</title>
		<link>http://searchenginescript.biz/why-is-this-php-script-not-working-2/</link>
		<comments>http://searchenginescript.biz/why-is-this-php-script-not-working-2/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 13:09:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[this]]></category>
		<category><![CDATA[working]]></category>

		<guid isPermaLink="false">http://searchenginescript.biz/why-is-this-php-script-not-working-2/</guid>
		<description><![CDATA[Question by Timbuktu: why is this PHP script not working? Username: Password: //test.php]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Timbuktu</i>: <br />why is this PHP script not working?</strong></p>
<form action="test.php" method="post">
Username:<br />
<input type="text" name="username">
Password:<br />
<input type="password" name="password"></p>
<input type="submit" name="submit" value="Log In!">
</form>
<p>//test.php</p>
<p><?php<br />
if (isset($  _POST['submit'])) {<br />
 if ($  _POST['username']) == 'myusername') &#038;&#038; ($  _POST['password']) == 'mypassword')) {<br />
 header ('location: search.php');<br />
 exit();<br />
}<br />
}<br />
?></p>
<p>i wish to redirect the user to my search engine if their login was successful.</p>
<p>thanks a bunch.<br />
whilikers, that is a great point, thanks. I have made the capitalization, but unfortunately it still does not work. something somewhere is wrong:-)<br />
ADD:</p>
<p>what does it mean &#8220;if your web page receives any html or even blank space, the header() function wont work&#8221;?</p>
<p><span id="more-1593"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by G. Whilikers</i><br/>HTTP header names are case-sensitive. Try &#8220;Location:&#8221; instead of &#8220;location:&#8221;.</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Know better? Leave your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://searchenginescript.biz/why-is-this-php-script-not-working-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW CAN I MODIFY THIS CODE (WARNING SCRIPT RELATED)?</title>
		<link>http://searchenginescript.biz/how-can-i-modify-this-code-warning-script-related-2/</link>
		<comments>http://searchenginescript.biz/how-can-i-modify-this-code-warning-script-related-2/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 11:10:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[modify]]></category>
		<category><![CDATA[related]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[this]]></category>
		<category><![CDATA[warning]]></category>

		<guid isPermaLink="false">http://searchenginescript.biz/how-can-i-modify-this-code-warning-script-related-2/</guid>
		<description><![CDATA[Question by ΞÅĢαѓєїα: how can i alter this code (warning script related)? ok i have this code: The Web website name how do i alter it so i remove the radio buttons and automatically make the search engine search my website only? THX!!!! also is the name=&#8221;q&#8221; necessary? dont worry its completely legal, even google]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by ΞÅĢαѓєїα</i>: <br />how can i alter this code (warning script related)?</strong><br />
ok i have this code:</p>
<form method="get" action="http://www.google.com/search">
<input type="text"   name="q" size="31"<br />
 maxlength="255" value="" /><br />
<input type="submit" value="Google Search" />
<input type="radio"  name="sitesearch" value="" />
 The Web</p>
<input type="radio"  name="sitesearch"<br />
 value="domain.com" checked />website name</p>
</form>
<p>how do i alter it so i remove the radio buttons and automatically make the search engine search my website only?</p>
<p>THX!!!!<br />
also is the name=&#8221;q&#8221; necessary?<br />
dont worry its completely legal, even google gives you a personal search engine but you have to signup and i tryed many times except you need a current running website. anyways they should be thanking me as they get to show their ads on it.</p>
<p><span id="more-1591"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by QAG</i><br/>You can&#8217;t.  If you want google to only search your website, you have to purchase that from google.</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Know better? Leave your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://searchenginescript.biz/how-can-i-modify-this-code-warning-script-related-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>IS THERE A PHP SCRIPT THAT WILL PRINT SPECIFIC TEXT ACCORDING TO THE CURRENT DATE?</title>
		<link>http://searchenginescript.biz/is-there-a-php-script-that-will-print-specific-text-according-to-the-current-date-2/</link>
		<comments>http://searchenginescript.biz/is-there-a-php-script-that-will-print-specific-text-according-to-the-current-date-2/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 02:08:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[according]]></category>
		<category><![CDATA[current]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[specific]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[there]]></category>

		<guid isPermaLink="false">http://searchenginescript.biz/is-there-a-php-script-that-will-print-specific-text-according-to-the-current-date-2/</guid>
		<description><![CDATA[Question by Zeba: Is there a PHP script that will print specific text according to the current date? This needs to be like a &#8216;Today in history&#8217; type script, where the output changes according to the current date based on content of a table or variables. I can do this in JavaScript, but JavaScript is]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by Zeba</i>: <br />Is there a PHP script that will print specific text according to the current date?</strong><br />
This needs to be like a &#8216;Today in history&#8217; type script, where the output changes according to the current date based on content of a table or variables.  I can do this in JavaScript, but JavaScript is usually ignored by the search engines, but PHP output is indexed.<br />
Thanks,<br />
Zeba</p>
<p>http://www.JigsawADay.com</p>
<p>Ok, I do not want to print the date itself, I want to print out a pre defined text string that changes when the date changes.<br />
i.e. on March 11th it would print out &#8216;This is text string one.&#8217;<br />
On March 12th it would print out &#8216;This is my second text string.&#8217;</p>
<p><span id="more-1582"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Joe Schmoe</i><br/>Yes&#8230; you can write it.</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Give your own answer to this question below!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://searchenginescript.biz/is-there-a-php-script-that-will-print-specific-text-according-to-the-current-date-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Q&amp;AMP;A: ANY SITE HAVING SCRIPT FOR CGI-MAIL ??</title>
		<link>http://searchenginescript.biz/qa-any-site-having-script-for-cgi-mail/</link>
		<comments>http://searchenginescript.biz/qa-any-site-having-script-for-cgi-mail/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 01:11:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[CGImail]]></category>
		<category><![CDATA[having]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[site]]></category>

		<guid isPermaLink="false">http://searchenginescript.biz/qa-any-site-having-script-for-cgi-mail/</guid>
		<description><![CDATA[Question by sidhu: any site having script for CGI-mail ?? I tried google and yahoo search engine but could find any right solution for CGI- mail . if any body know please send the solution for geting information from the web viewer through the form as mail in my mail account. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; Answer by Alphabethttp://www.scriptarchive.com/formmail.html]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by sidhu</i>: <br />any site having script for CGI-mail ??</strong><br />
I tried google and yahoo search engine but could find any right solution for CGI- mail . if any body know please send the solution for geting information from the web viewer through the form as mail in my mail account.</p>
<p><span id="more-1581"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Alphabet</i><br/>http://www.scriptarchive.com/formmail.html</p>
<p>http://www.ace-installer.com</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Add your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://searchenginescript.biz/qa-any-site-having-script-for-cgi-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I&#8217;M USING A SCRIPT IN MY .HTACCESS FILE WHICH POINTS ALL LINKS FROM MY &#8220;NON-WWW&#8221; SITE TO MY WWW SITE.</title>
		<link>http://searchenginescript.biz/im-using-a-script-in-my-htaccess-file-which-points-all-links-from-my-non-www-site-to-my-www-site-2/</link>
		<comments>http://searchenginescript.biz/im-using-a-script-in-my-htaccess-file-which-points-all-links-from-my-non-www-site-to-my-www-site-2/#comments</comments>
		<pubDate>Sat, 25 Feb 2012 20:09:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[from]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[nonwww]]></category>
		<category><![CDATA[points]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[using]]></category>

		<guid isPermaLink="false">http://searchenginescript.biz/im-using-a-script-in-my-htaccess-file-which-points-all-links-from-my-non-www-site-to-my-www-site-2/</guid>
		<description><![CDATA[Question by GSG: I&#8217;m using a script in my .htaccess file which points all links from my &#8220;non-www&#8221; site to my www site. I&#8217;m using: # Start non-www page protection # RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^www\.mysite\.com [NC] RewriteRule ^(.*)$ http://www.mysite.com/$ 1 [L,R=301] # End non-www page protection # Is this the correct format,]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by GSG</i>: <br />I&#8217;m using a script in my .htaccess file which points all links from my &#8220;non-www&#8221; site to my www site.</strong><br />
I&#8217;m using:</p>
<p># Start non-www page protection #<br />
<IfModule mod_rewrite.c><br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteCond %{HTTP_HOST} !^www\.mysite\.com [NC]<br />
RewriteRule ^(.*)$   http://www.mysite.com/$  1 [L,R=301]<br />
</IfModule><br />
# End non-www page protection #</p>
<p>Is this the correct format, and will all links now point just to the www version just from the time that I do this and upload the new .htaccess file, or will all links (and the page rank boost associated with it) become retrospective? Will I see a boost in rank immediately?</p>
<p>I&#8217;ve also heard that the search engines see a www.mysite.com version and a www.mysite.com/ version. Will my script take care of this as well, or do I have to add something else? (I cannot see whether the script does this or not as I am not a coder!)</p>
<p>For .co.uk domains do I just alternative .co.uk for .com in each case?</p>
<p><span id="more-1576"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Civic SEO</i><br/>RewriteEngine on<br />
RewriteCond %{HTTP_HOST} ^yourdomain\.co.uk$   [NC]<br />
RewriteRule ^(.*)$   http://www.yourdomain.co.uk/$  1 [R=301,L] </p>
<p>That above is the only code you need to redirect non-www to www in your .htaccess file. Yes you can change *.com to *.co.uk to get the same results, I made the code already valid for that. Change &#8220;yourdomain&#8221; to your domains name.</p>
<p>Yes, this will prevent duplicate content issues with search engines regarding two URLs having the same content. All non-www requests will be 301 redirected to their www counterpart. Results will take time, you might not even yeild none but a more proper internal link structure.</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>What do you think? Answer below!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://searchenginescript.biz/im-using-a-script-in-my-htaccess-file-which-points-all-links-from-my-non-www-site-to-my-www-site-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML OR SCRIPT QUESTION?</title>
		<link>http://searchenginescript.biz/html-or-script-question-2/</link>
		<comments>http://searchenginescript.biz/html-or-script-question-2/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 18:09:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FAQ]]></category>
		<category><![CDATA[.html]]></category>
		<category><![CDATA[question]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://searchenginescript.biz/html-or-script-question-2/</guid>
		<description><![CDATA[Question by biundeel@btinternet.com: HTML or SCRIPT question? Hi. You see on some websites that even though you click back it stays on the same page and does not let you to return to,say the search engine. I was wondering how you could achive this? Cheers is someone could give me step by step instructions on]]></description>
			<content:encoded><![CDATA[<p><strong><i>Question by biundeel@btinternet.com</i>: <br />HTML or SCRIPT question?</strong><br />
Hi. You see on some websites that even though you click back it stays on the same page and does not let you to return to,say the search engine. I was wondering how you could achive this?</p>
<p>Cheers<br />
is someone could give me step by step instructions on how to do it that would be great</p>
<p><span id="more-1574"></span><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><i>Answer by Ben Z</i><br/>redirect</p>
<p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
<strong>Know better? Leave your own answer in the comments!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://searchenginescript.biz/html-or-script-question-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

