Website cloning or proxy style Script

Posted on 2008-10-15
Last Modified: 2013-12-25

I want a solution, piece of code or idea for how I can create a website which will act like original website, for example:

my website is I want it to look like and WORK exactly like

I don't want redirection or META REFRESH, I want my website to look like EXACTLY like google and if user searched something it should work and user should be able to search and....

How I can do that?

Please advice.
Thanks from now!
Question by:CSecurity
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 39

Expert Comment

ID: 22723546
Is the site you want to mimic just HTML, or is there any server code (a search is almost always server code)?

If there is server code, do you have access to that?
LVL 48

Expert Comment

ID: 22724284
It depends on the nature of the site.  You'll easily be able to copy static HTML pages and pages that reference CGI scripts and/or Javascript, but if they are comprised of PHP, ASP, Flash etc, then you'll have a hard time.
LVL 17

Author Comment

ID: 22724309
No I want to do it easily like with iframe, but I want user think it's EXACTLY google, is it possible?
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

LVL 39

Expert Comment

ID: 22724405
You could create a frame that is 100% of the page, and point it to google.  This will work until some link uses _top as the target.

If you want the links to also go to your site, then you'll have to parse the HTML, replace the links with links to your site, and send the results.
    if you go to, there is a link "Advertising Programs".
    this link goes to ""
    Do you want to change it so it goes to "", or should it still go to google?
LVL 17

Author Comment

ID: 22724684
I want requests to go to orginal, not mine... How can I create 100% iframe?
LVL 39

Accepted Solution

Adam314 earned 500 total points
ID: 22724959
<frameset rows="0%,100%" noresize="noresize">
   <frame src="your_non_visible_page.html">
   <frame src="">
LVL 17

Author Comment

ID: 22728640
If user right click on page and try to see source code will see this source or's source?
LVL 39

Expert Comment

ID: 22733621
Depends on the browser.  Some will show the main page source, some will show the frame source.

If they click on the menu View -> Page Source, they will see the top level source, which would be the frame definition.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can use conditional statements using Python.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question