I recently had to copy a static website for a client that no longer had access to their back-end. I used a program called HTTrack Website Copier to download the entire site locally, so that I could then upload it to a new server location. It only comes up once a year or so that I need to “download” a site (without back-end access). For the simple static site I used HTTrack Website Copier on… the software worked nicely!
HTTrack’s home page says the following:
HTTrack is a free (GPL, libre/free software) and easy-to-use offline browser utility.
It allows you to download a World Wide Web site from the Internet to a local directory, building recursively all directories, getting HTML, images, and other files from the server to your computer.
Ran across this freebie today and know how some of you can never get enough icons. Check out this nice collection put forth by Michael A. and download as CSS/FONT FILE or SVG. 420+ icons!
Excerpt from the JAM icons site:
Jam icons is a set of icons designed for web projects, illustrations, print projects, etc. Shipped in both font & svg versions. I aimed to provide a large choice of icons for all projects : filled & outlined icons.
The icons have been made in a 64×64 grid with a 4 pixels stroke basis, all in a consistent way and tested at 18×18, 24×24, 32×32.
Setting up a new add-on domain* for a client today and found that I could not access the new add-on domain name directly. It was appending the new add-on domain name to the root or main site url. So instead of taking the visitor to www.newdomain.com it was taking them to www.maindomain.com/newdomain.com, and of course I didn’t want the visitor to see that horrible URL, but only to see the new add-on domain name.
What was happening is there was an HTTPS redirect for all pages on the main site in the .htaccess file. The .htaccess rule was saying, “ANY page visited on the site, redirect to a hard-coded URL of HTTPS, for that page.”
This is what the rule looked like initially:
rewrite rule for forcing pages to HTTPS version
I needed an .htaccess rule that forced HTTPS on the main site, but left the add-on domain alone to do it’s own thing. Here’s the rule that solved the issue:
Force main domain to HTTPS but leave add-on domains alone
# Redirect to https, but only apply to one domain, not to add on domains
For the new .htaccess code replace yourdomain.com on line 7 with your domain. On lines 5 and 6, replace yourdomain\.com while remembering to insert the backslash before the period in your domain name.
Important: If you have existing code in your “.htaccess,” add this above where there are already rules with a similar starting prefix.
* An addon domain is a fully functional domain that can be created from within your control panel. Think of it as having multiple hosting packages all sharing the same control panel. You can create email addresses, forwarders and more — the same way you do for your primary domain on the account.