xmlrpc.php?rsd shown in google extended results - wordpress

I have a website based on wordpress and newly google shows extended results of this webpage (hope you know what i mean by extended results)
So there are the pages, which should be there like "contact", "services" or "info" but theres also one which shouldn't appear in the results: "domain.xx/xmlrpc.php?rsd". it shows in the results as "wordpress http://..." which is pretty ugly.
i tried to "downgrade" (sorry, dont know the exact translation for this in english) the page in google webmastertools about one week ago, but theres no effect. Actually since then it appears as the second link in the results. before it was the last one..
any hints to get rid of this?

First (and recommended way): In Google Webmaster Tools go to Configuration->Sitelinks and demote your xmlrpc URL.
Second way: Go to Optimization and Remove URL and enter your xmlrpc.php URL there. It will take some time before the URL is removed.
Third way: Block Google to access xmlrpc URL with the help of robots.txt file.
Fourth way: Block Google to access xmlrpc URL with the help of .htaccess file.

Related

Wordpress search not working

I have seen various topics on here and trying to follow but my site may be different but am not sure. Mine is on http://www.doctorwhoworld.net/doctors for example if you search for "daleks" or "bbc audio" it takes you to the index page.
I have followed guides on here but I am still at a stuck point as to why pages will not be found by the search system - it is pages rather than posts I am using for help with the code going forward.
The second question is I am getting lot of white space on top and left can anyone suggest how to minimise.
I think I can see the problem. Your WordPress URL is not at the root of the domain, so you need to change your settings. Go to this page in your admin system:
Settings > General
Look at your Site Address (URL), which will probably be http://www.doctorwhoworld.net/. You need this to be http://www.doctorwhoworld.net/doctors, so that the search is carried out on the right home page.

Site producing bad urls?

I'm using a custom Genesis child theme and lately I've been noticing that many false articles have been showing up on webmaster tools. They look something like this:
I haven't written these nor are they topics my site focuses on so I have no clue why they are showing up. So far, I've had to delete about a hundred of these. I read on a forum that this can be due to my theme generating bad urls but I'm not sure what that means nor do I know how to fix it. What can be causing this?
I believe that this problem is due to your website being hacked or Google is trying to Crawl or follow a link within your content that is not really a link.
This is what webmaster tool tells you about the problem:
In Crawl Errors, you might occasionally see 404 errors for URLs you don't believe exist on your own site or on the web. These unexpected URLs might be generated by Googlebot trying to follow links found in JavaScript, Flash files, or other embedded content.
To find out if your website has been hacked. First get this total = WordPress number of pages + number of post + number of categories + number of PDF or files + Images. Then do a google search using the following query (without the quotes) "site:yourdomain.com" if the result number is exaggerated greater than the calculated total then your website is definitely hacked.
If you believe that your website is not hacked try to find from where these links are being generated. Here is the trick: Go to the Web Master Tool report and click on one of those links, check the "Linked from" tab. There should be one or many possible pages listed from where these unexpected links are coming from.
Two possible Outcomes:
The page from where the link is found is from your own website: Go
to that page and open the source code, do a Ctrl+F search for that
link, if found check what section or content is generating this
problem.
The page from where the link is found is NOT from your own website:
In this case try to contact the owner of the other site and ask the
link to be removed, if not possible I highly recommend you to create
a 404 page within your WordPress installation with some useful
links. Google how to do this, there are plenty of resources.
Hope this helps

Find the actual page opened from the URL in the asp.net

HI so i keep running across websites which when looked through or searched (using their own search function) return's a static URL ie.) ?id=16 or default.aspx no mater what page of the website you visit after the search has been performed. This becomes a problem when i want to go directly to a post/page within one of these sites so i'm wondering. If anyone knows How could i actually find out what the absolute URL is.
So that i can navigate straight to it. I'm not really familiar with coding but have tried looking in the page source but i wasn't really able to gleam anything from there.
The basics around asp.net urls: http://www.codeproject.com/Articles/142013/There-is-something-about-Paths-for-Asp-net-beginne
It all really depends on what you're trying to find, as far as finding a backway to locate a absolute path, is highly doubtful. If the owner of the site(most blogs) want you to have a perma link to a page, they use url-rewriting for putting things in the URI like title page and such. Alot of MVC sites do this now.
The '?id=16' you're seeing is just a query string, a holder for other logic they are doing.

Facebook like button is liking wrong url

First off, I saw similar posts already, but they weren't exactly what I am asking.
I used the Facebook Dev to create a like button for my website, stuck the code in and the the button showed up. The only issue is that it likes the wrong url when I click the button.
I'm pretty sure the issue is that I have it set to redirect automatically from mydomain.com to the most recent post. I think this is gumming up the works with the like button and causing it to like mydomain.com/mostrecentpost instead of simply liking mydomain.com.
Is there a way to correct this issue without having to get rid of the redirect (because that isn't an option)?
Sorry if that was a little wordy, wanted to make sure I explained the issue fully.
Is there a way to correct this issue without having to get rid of the redirect (because that isn't an option)?
Either don’t redirect in those cases where the user agent header of the request points to it being Facebook’s scraper;
or set the canonical URL of http://example.com/mostrecentpost to just http://example.com/ using the appropriate Open Graph meta tag. (Although that would mean you would not be able to like a single post any more, because all of your posts would just point to your base domain as the “real” website; so the first is probably the better option.)

A CSS code Or Any code to put text (saved in other server) into blogspot blog..?

I have a blog in blogspot.
Step (1). Whenever any visitor visit my blogspot blog through Google, the search search string is tracked through a javascript and the search string is saved in another server (say serverX)
Step (2). Now, when another visitor (human/Google Bot/Any downloader/etc..) visits my blog, he/she should be able to see the search string (Saved in ServerX) in my blog (anywhere, be it content or at the bottom of the blog....it doesn't matter)
Well, I can code the javascript and can also write a php code to save the search string...
but i've absolutely NO idea how to do the step (2)
Please tell me how to do Step 2...
Thanking you in anticipation.
I don't think blogspot gives you the ability to edit any of the server-side template files, does it? If so, then it's impossible to do this.
If you really need this feature, you would probably need to use WordPress (an installation on your own server, not the WordPress.com service, as then you would be in the same exact situation as you are with blogspot right now).

Resources