Indexing the wrong URL

black-serv6502

New Member
YetiShare User
Apr 2, 2017
19
0
0
Hello everyone,

By doing a site: monsite in google I found that google had referencer not bad url of this type:

Code:
https://monsite.com/core/page/ajax/url_upload_handler.ajax.php?csaKey1=f871591cc79cf481c8d21da171295bd0640e82a6248b005b410e253ea482c0f5&csaKey2=526d789e34e4e4d75bb7c8962490c371ee5e49be475f55b723427025fef3b5425&rowId=
This link all come from my secondary server.

I have a vps for the site's php files is a dedicated server or are storing client files.

All these url comes from my dedicated server accessible from a subdomain but it and only present in the configuration for the remote server.

I have already set up the robots.txt file by prohibiting any indexing.

There is a solution so that google does not see these url?

thank you in advance
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

I'm not really sure why Google indexed this as it's not linked anywhere, but adding it to the robots.txt file (as you've done) will block it.

I've just searched Google cache and I can't see it so it seems to be removed?

Thanks,
Adam.
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
I think you can also use Google Webmaster Tools to specific which urls to ignore.
 

black-serv6502

New Member
YetiShare User
Apr 2, 2017
19
0
0
Already done I made a request for removal of url is waiting ...

What worries me why Google gets to index similar links ....

In any case thank you Adam for the support :)
 

black-serv6502

New Member
YetiShare User
Apr 2, 2017
19
0
0
Hi all,

I understand why google references these links simply that the latter are from the download page.

It would be necessary to add a (rel = "nofollow") on the download links of the site.

Can you explain to me how to put this in place?

thank you in advance
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Hi,

They aren't links, they're called via javascript. I can't see how you'd add rel no follow to them.

You could try finding this:

iframe
.prop('src', 'https://fhscript.com/core/page/ajax/url_upload_handler.ajax.php?csaKey1=eb49822c83b22f31f5821ae901420fc6a4afdccfc532032c39d249d3e3279e25&csaKey2=668ae8deb7ff5f24b8be0107c11b873c398612e7d6ca8c8ae0800eb70b52e1b2&rowId='+index+'&url=' + encodeURIComponent(urlList[index]) + '&folderId='+fileFolder)
.appendTo(document.body);

and adding rel to it:

iframe
.prop('src', 'https://fhscript.com/core/page/ajax/url_upload_handler.ajax.php?csaKey1=eb49822c83b22f31f5821ae901420fc6a4afdccfc532032c39d249d3e3279e25&csaKey2=668ae8deb7ff5f24b8be0107c11b873c398612e7d6ca8c8ae0800eb70b52e1b2&rowId='+index+'&url=' + encodeURIComponent(urlList[index]) + '&folderId='+fileFolder)
.prop('rel', 'nofollow')
.appendTo(document.body);

It's completely untested though. It should be in /themes/flow/templates/partial/ in the upload code.

Adam.