Tag Info

Hot answers tagged

8

I wrote an answer, then read a little more, and substatially edited my answer. This question has already been debated on Stack Overflow. The accepted answer on this question is a good starting point, follow the links. My take is that: The static salt (which you call global) is somewhat valuable because: It is simple to implement, and doesn't require a ...


6

Fragment identifiers are traditionally used to identify a portion of document for client-side applications. As stated in the specification Google adopted: Traditionally, hash fragments (that is, everything after # in the URL) have been used to indicate one portion of a static HTML document. ...hash fragments are not part of HTTP requests (and as a ...


4

This pretty much has already been asked on StackOverflow: Double salt for hashing passwords?


4

No, you shouldn't include # links. They refer to the same page, and the sitemap is saying how often the page changes (as well as page structure). In fact, your server won't get a request for the #. The browser, or crawler bot, requests the URL www.mydomain.com and then when it retrieves the page jumps to the part of the page with the id of comment1, say. ...


3

Creating a huge .htaccess can have a serious performance impact on your system as it is read linearly for all requests, at least until a rule with the L attribute (Last Rule) is matched. The way I did something similar (about 3000 redirects) is to put a custom error page in the .htaccess. From memory the syntax is something like this: ErrorDocument 404 ...


2

Since the sections are revealed by JavaScript, you can use the pageTracker in Google Analytics to manually log a hit. For example: // Log this usage in Google Analytics. pageTracker._trackPageview('/slider-page/part1'); Add that to the JavaScript which triggers the change in the page. The parameter given to the trackPageview method will be used as the ...


2

This answer tells you a way of spotting how the location has changed. According to that blog post they use a plugin for that. Basically it's a lot of clever javascript, with some flash for the player at the bottom.


2

As LazyOne notes in the comments, URL fragment identifiers ("hash tags") are not normally sent to the server in an HTTP request, so they cannot be redirected — or processed in any other way — on the server. You can rewrite such URLs in JavaScript, if the user's browser supports it and has it enabled. A very basic redirection script could look ...


2

Your sitemap file is intended to list the individual documents/pages on your site, not anchors. Doing this makes no real sense. If you did this, what would stop you from also including every other conceivable anchor link, eg. index.php#nav, index.php#sidebar?


1

On a cPanel installed server, the entry for cPanel password is made in /etc/shadow file itself. Whenever a cPanel user is created, a user is added on your Linux server. So, every entry for the password is made in /etc/shadow file for every cPanel user you create.


1

I'm going to answer my own questions here: The title that Google displays in the SERPs is not necessarily the same as the title of the page. Google alters the title based on what you search for. This happens only when Google thinks the title is over-optimized. Also, the title can come from DMOZ or similar if NOODP meta is not set. All hash-bang URLs don't ...


1

I'm not sure why this question was migrated.. there are quite some questions with valid answers on stackoverflow about this. First: use BCrypt-hash, it is the recommended hashing algorithm today. Sha256 is a general purpose hashing algorithm, designed to be fast; you do not want your hashing algorithm to be fast for password hashing. Second: use a random, ...


1

Google's developer FAQ has this to say (I'm not really an AJAX guy, so this could be way off, if it is forgive me):- Question: Can I use redirects to point the crawler at my static content? Redirects are okay to use, as long as they eventually get you to a page that's equivalent to what the user would see on the #! version of the page. This may ...


1

Why don't you just make sure your Ajax powered content is crawlable? Otherwise you're essentially building your site twice which is just silly. But if you take this route do not use different meta data. Even though meta tags do not affect rankings you may still run the risk of being seen as serving up special content to the search engines which is considered ...


1

I just read this question and it reminded me of a question I posted on SO about a year ago: Comprehensive information about hash salts. You might be interested in reading over the question and answers as it has some other information which could be very useful to anyone interested in learning a bit more about hashes. I should also note that implementing ...



Only top voted, non community-wiki answers of a minimum length are eligible