Archived; click post to view.
Excerpt: PHP doesn't come with native support for making SSH connections via the libssh2 libraries. You must use the PECL SSH2 extensions. Installing them can be tricky, but Kevin van Zonneveld does a great job explaining how to install them over here. So I won't go there. The new version, 0.11.0, also seems to be compiling more reliably for everyone.
Unfortunately, the library is sparsely documented, and still buggy in some places. And most of the comments posted on http://www.php.net/ssh2 are j…
Archived; click post to view.
Excerpt: To be honest, I'm not even sure this matters much anymore, but I thought I'd mention it. Like the issue with parameter ordering (?a=1&b=2 vs. ?b=2&a=1) I mentioned here, a slash at the end of a URL can pose a similar ambiguity problem. Fortunately, at least for non-rewritten pages, Apache takes care of this issue. If the resource is a directory, it gets 301-redirected to the-url/, and vice versa. But when mod_rewrite is used, we're not dealing with a file-sy…
Archived; click post to view.
Excerpt: This is a question I'm currently researching. I have never looked into it before, because I haven't really used dynamic URLs for anything visible to a search engine recently; I always use mod_rewrite these days. The question goes as follows:When designing a dynamic URL and constructing it by hand (something I never do, but many do; using a function to make URLs will achieve a better level of consistency), and number_of_parameters >= 2, you have n! choices for order. Grante…
Archived; click post to view.
Excerpt: Unfortunately, the concept of "index" pages (index.php, Default.asp, etc.), a feature since the beginning of time on the web, causes yet another duplicate content problem. If no file name in a directory is provided to a webserver, the "index" page is typically provided by default, but without redirection. The problem arises when both URLs are linked, either internally or from other sites. Bang - duplicate content. Strictly speaking, neither URL is more corre…
Archived; click post to view.
Excerpt: This is an old topic for me; one that I feel is largely ignored by the SEM community. I asked Jake Baillie of TrueLocal at an SES conference awhile back, and he suggested that breadcrumbs are trouble when it comes to duplicate content no-matter-what, and, of course, I used to work for Barry Schwartz of RustyBrick, who is a big believer in breadcrumbs, but believes that the search engines should just "deal with it." He may have changed his mind, so take it with a grain of salt. Do…