I am trying to disallow certain parts of a site instead of the whole thing.
I am relatively new to this so if someone walk me through it I will appreciate it.
I know that you can Disallow: /page1.cfm from crawlers but what if I want to disallow just a part of that page such as a link or a contact form that exists on that page? Is this functionality even possible?
Based on some forums I was reading recently, the "nofollow" function is not really working anymore since the crawlers are becoming smarter. (i don't know how credible that forum was, so if anyone has a better source please share)
Any suggestions?
Don't use nofollow, you'll loose linkjuice on your page.
Robots.txt are just a hint for crawler, half of the time with disalow rules if they already have find the page they still visit it and index it.
Use .htaccess rules to ban or block the access to this pages.
Or crypt your link with a complex .js (base64_encode() + str_rot13() encoding should be enough to lost the crawler)
You can use the attribute "nofollow" in the meta tag to hide the information on the page. Google wrote that they do not pass on the links labeled "nofollow." More information about this and examples you can find here:Robots.txt tutorial and Google supportHope this helps
Related
I have this website that I'm editing for a friend and they want to get rid of this message at the checkout screen but their boss doesnt know who implemented it. Its an error message at the top in read that says "If you are having trouble checking out, please contact us at sales#cbobaby.com" and is in the check out page. This is an open cart website and I only work with wordpress sites so I'm having trouble figuring out where the source of the message is coming from. I've dug through some of the template files in the theme and I can't seem to find or delete anything that gets rid of it. My question is if there is anything in Chrome dev tools that would help me identify the source or template it lives in? I only use dev tools for adjusting css but I know there's so much more you can do it with. Thanks.
No, DevTools can't relate your front-end code to what generates it for the DOM. For the exact same reason we are unable to persist edits in the DOM to your source.
You need to use grep, or some code editor with "find all" functionality and look for some part of the string. If that fails, search your database and see if it is coming out of there. You can then either edit the database and hope nothing breaks, or try to back-track through the application logic to find where is calling that part of the DB. It should give you some ground as to where to look.
In the Sources tab, you can see the resources, that are loaded when you are on a particular page. You can also use the Inspect tool in the Elements tab to find the element that hosts that bit of text to narrow things down in your search.
To add to this, if content is generated on the server side, the resources you see will likely be a merge from multiple generated sources, e.g. with templates in your case. You can search your solution for aspects of the DOM elements you see in Chrome Developer Tools, but look for the static parts instead of the dynamic parts. For example, the text itself won't be part of the template file, a placeholder will exist - a CSS class could be useful.
We operate a ColdFusion site with a custom CSS acting as a directory of various companies. Depending on the type of company, we have a set of subpages containing specific information pulled from the CMS about the company, such as "location/directions". We're looking to add functionality enabling users to add comments to the existing content. I'm looking for suggestions on open source or other available ColdFusion software out there that could work for this. While we could write something custom, commenting tools have been done a thousand times and probably better than we can do it.
While what we're looking for sounds like a blog or forum, its more of a hybrid. We'd like to be able to add functionality enabling commenting on the content we post in the context we post it in. Seems like there must be something out there that can be easily modified and integrated with our CMS.
Does anyone know of anything out there we should look into?
I'm going to vote to close this too, as per the others, but here's an answer anyway.
If you just want to add commenting to existing content, perhaps use Disqus. It's not locally installable (and is not CFML-based; it's all JS), but it does handle most things one would need if just wanting to add comments to a site.
If you want a native, self-managed solution, unfortunately StackOverflow have deemed that sort of question "unworthy", so you'll need to ask elsewhere. Despite being an entirely reasonable question, for which the answers would be helpful to other people later on (which is - in theory - the raison d'etre of Stack Overflow. Although that's hard to tell, sometimes).
I have googled for to find a topic of a site and end with delicious.com but that is not that kind of helpfull..is there any other way to find it?? I am not talking about meta tags or description but catagory of a site...any Ideas??
I hate to give an answer to such a sloppy and carelessly written question, but nonetheless...
If you are looking to categorize a specific website, try typing this into google site:http://www.google.com/dirhp?hl=en along with the website you want to categorize and see if you get any results.
If you question is to find websites in a certain category, then try google's categorized directory. It's different than a normal web search.
and... If this answer helped you, please click the checkbox next to it.
Hey guys, I'm new to template editting. I'm trying to remove a table from the Amazon's WebStore template so i can start designing my own.
Anyone out there know how I can go about hiding/disabling/removing/bypassing it?
use jquery, include the jquery.js into the store via either site wide or per page custom script area.
and slowly find your way through their html chunk. include id if necessary and do any manipulation there :)
note, if possible try to use their html widgets as much as possible and use their id as much as possible so you don't get any weird bugs.
if you need help, please put the html chunk here and i think anybody in this site will be more than willing to help you sieve through it via the magical jquery.
I'm working on a project that would be greatly optimized if I am able to restrict a Google, Yahoo or Bing/Live search to just the < meta content="xyz" name="description" /> tag. I read all the help pages and api docs and can't seem to find a way to do it, and I thought I'd give it a shot here on Stack Overflow.
Thanks :)
Unfortunately none of the big 3 support this sort of limitation. I tried a similar search a while back limited to tags, but had no luck.
If you are trying to find web pages that match a description exactly, here is a solution.
Find a major website that reports "website stats" for third parties.
Example www.sitebrain.com
Then use the site: operator in google to search that site for a list of pages that report on sites including your target descriptions.
Example site:statbrain.com + Get product information, support, and news from Microsoft.
The resulting Google results will be a list of pages all matching the description.