Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7809927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:35:26+00:00 2026-06-02T03:35:26+00:00

I have a weird problem on a website. Everything works OK when someone visits

  • 0

I have a weird problem on a website. Everything works OK when someone visits the site directly, but if a visitor enters the website from Google search or Bing the homepage looks very bad. I noticed this problem on Firefox, Chrome and Safari (latest versions).

First I though this was a Google cache problem and next time the crawler will visit the homepage it will also update the cached webpage.

But when I saw the same thing happening for visitors coming from Bing I started to think that this isn’t search engine related and that it’s something I’ve done wrong when I’ve coded the website.

This is how the homepage should look like: http://melisayavas.com/

And from Google or Bing: https://www.google.com/search?q=melisayavas

enter image description here

Does anyone know what or were the problem is?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:35:28+00:00Added an answer on June 2, 2026 at 3:35 am

    Your site is broken in Google Chrome 18. I suggest you fix it using this browser first, this might fix more issues related to search engine.

    EDIT

    I just saw your screenshot and it is exactly what I see in Chrome.

    EDIT 2

    I might be complete wrong, but when I click the link from the initial post http://melisayavas.com/ the site is broken. If reload the page it is also broken. If I go to the URL bar of the browser and hit ‘enter’ the site is fine.
    I think the site is broken if the client sends a Referer header…

    EDIT 3

    I did a few tests with curl confirming my results. This test will results in the expected result:

    $ch = curl_init('http://www.melisayavas.com/');
    curl_setopt($ch, CURLOPT_REFERER, 'http://stackoverflow.com/questions/10182482/homepage-not-rendered-correctly-for-visitors-coming-from-google-bing/10182607#comment13069478_10182607');
    $data = curl_exec($ch);
    echo $data;
    

    This on will result in a broken site:

    $ch = curl_init('http://www.melisayavas.com/');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
    curl_setopt($ch, CURLOPT_REFERER, 'http://stackoverflow.com/questions/10182482/homepage-not-rendered-correctly-for-visitors-coming-from-google-bing/10182607#comment13069478_10182607');
    $data = curl_exec($ch);
    echo $data;
    

    Having a referer in your request is what breaks the site. Do you have any part of your source code conditional to the referring url?

    ** EDIT 4 **

    There is one piece of HTML code that is added when it’s coming from a referring url:

    <!-- Highlight Search Terms 0.7 ( RavanH - http://4visions.nl/en/wordpress-plugins/highlight-search-terms/ ) -->
    <script type="text/javascript">
    var hlst_query = new Array("http://stackoverflow.com/questions/10182482/homepage-not-rendered-correctly-for-visitors-coming-from-google-bing/10182607#comment13069478_10182607");
    var hlst_areas = new Array("div.hentry","#content","#main","div.content","#middle","#container","#wrapper","article");
    </script>
    

    I’m not familiar with WordPress, be I believe this must come from a plugin called Highlight Search Terms, disabling it should fix your site.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this weird problem with setting up cookies with PHP. Everything worked fine
I have a weird problem. I'm using pscp.exe from within a C# program (with
I have a weird problem with routing. I have an existing website that I
I have a weird problem with doctype, the weird thing is that the website
I have a weird problem concerning mysql timezone. In my website config file i
i have a weird problem ! i have ASP.NET website and i have a
I have a weird problem where after setting nocheck on a foreign constraint and
I have a weird problem that i can't figure out a solution for: I've
I have a weird problem, and I don't know if this is the default
I have a weird problem in converting a string to double in .NET 3.5.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.