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 8875125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:53:53+00:00 2026-06-14T18:53:53+00:00

Somehow a virtual robots.txt is blocking the site http://www.domda.se from google search. I don’t

  • 0

Somehow a virtual robots.txt is blocking the site http://www.domda.se from google search. I don’t want that to happen.

The site is made with WordPress and open for search engines in the Integrity settings (of course 😉

I have tried:

  • Turning the privacy setting/search engine allowance off and on again.

  • Turning all the plugins off.

  • Adding a totally allowing robots.txt to the root directory.

  • Using a robot plugin to write what should be in robots.txt

  • Change theme to Twentyeleven and back again

  • Resetting the plugin folder with ftp

Now I wonder if someone can help me because my php knowledge so low it makes me blush. The thing I think about now is trying to solve the problem by looking into functions.php.

The robot doing code in wp-includes/functions.php says:

function do_robots() {
    header( 'Content-Type: text/plain; charset=utf-8' );

    do_action( 'do_robotstxt' );

    $output = "User-agent: *\n";
    $public = get_option( 'blog_public' );
    if ( '0' == $public ) {
        $output .= "Disallow: /\n";
    } else {
        $site_url = parse_url( site_url() );
        $path = ( !empty( $site_url['path'] ) ) ? $site_url['path'] : '';
        $output .= "Disallow: $path/wp-admin/\n";
        $output .= "Disallow: $path/wp-includes/\n";
    }

    echo apply_filters('robots_txt', $output, $public);
}

Maybe that code is totally alright. And me adding a real robots.txt would’ve overruled the virtual one, but I really don’t know what to do.

I hope someone can help.

  • 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-14T18:53:54+00:00Added an answer on June 14, 2026 at 6:53 pm

    I think you need to look first at whether the opening statement is entirely true.

    You can view your robots.txt directly in a web browser.

    If you visit http://www.domda.se/robots.txt, you get

    User-agent: *

    Disallow: /wpsystem/wp-admin/

    Disallow: /wpsystem/wp-includes/

    Which is blocking all robots from wpsystem files.

    It is not blocking Google from the main site.

    However, a Google search for site:http://www.domda.se does pull up

    A description for this result is not available because of this site’s robots.txt – learn more

    As you have made many changes, it seems likely that you used to have a robots.txt that blocked Google and now you don’t.

    The whole point of robots.txt is that it is information for webcrawlers. These check sites regularly, and check some sites more often than others. It may be some time before your site is revisited by Google’s robot, and a further period of time before pages crawled on that visit show up in Google search.

    You should use Google Webmaster Tools (it is free) to shine more light on this subject and to give Google a nudge.

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

Sidebar

Related Questions

Somehow my master and my origin/master branch have diverged. I actually don't want them
Somehow Visual Studio search has stopped working for me. Anytime I search Entire Solution
somehow I get never any results when I call: select * from table_1 t1
I am using virtual attributes to save tags in an Entry model from a
This question comes from: C++11 thread doesn't work with virtual member function As suggested
I've got a virtual directory set up in my web site in IIS 7.5
Is it possible to somehow create a virtual folder with Java, and hook a
Somehow, JavaScript makes sense of the bitwise operations NaN ^ 1 , Infinity ^
Somehow my code doesn't work any more (it did work before with the exact
Somehow this doesn't work... var paper = Raphael(test, 500, 500); var testpath = paper.path('M100

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.