Very impressed with pagekit

  • SPQRInc

    Approved the thread.
  • Hi folks, this is my first post here. Pagekit has to be the easiest to learn CMS I've ever come across, also easy to install, though I did need a bit of help from my very helpful web hosting support guys. I'm no expert, I tend to just bumble around and learn as I go along. this is what I've achieved so far.

    Looks pretty good except the pixelized logo 🙈🙈🙈 If you don't mine fair enough, but a logo in svg format stays sharp on any screen sizes.

    Beside that you could consider to switch to https transport only, you have a hoster who support SSL certificates anyway already so it is not a big deal. Just edit the . htaccess file and remove the # infront of the line that is necessary to redirect every incoming requests to https / SSL directly.

  • Thanks for your feed back. I take your point re the logo, so the next step is to teach myself how to make an .svg logo.

    Re the .htaccess file, I'll have to find out exactly which line to change in order to switch to https

    Well that is not that hard at all,

    first of all the Rewrite Engine must be on.

    1. # URL rewrites
    2. <IfModule mod_rewrite.c>
    3. RewriteEngine On

    You have only to know that lines with # are comment lines so if you put infront then this item will be disabled. But it should be already enabled because you url's don't had index.php at the end of the url.

    Next just search for following line:

    1. # Set base if your site is running in a VirtualDocumentRoot
    2. RewriteBase /

    This one you only edit if your pagekit installation is not in the root folder of the webserver, in your case it should be root already or you changed the document root at the backend panel of your provider.

    Next go for following lines:

    1. # Redirect requests to access the site with the 'www.' prefix
    2. # RewriteCond %{HTTP_HOST} .
    3. RewriteCond %{HTTP_HOST} !^www\. [NC]
    4. RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    As you see no sharp # sign anymore infront of two entries and i modified it slightly because i wanted that any request with or without www. will be overwritten to

    Okay and last but not least search the following lines:

    1. # Redirect requests to access the site with HTTPS
    2. # RewriteCond %{HTTPS} off
    3. # RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R]
    4. RewriteCond %{HTTPS} !=on
    5. RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

    This is pretty selfexplained as comment lines says already what will happen if you do remove the # on rewrite condition as rewrite rule here.

    Save your .htaccess and upload it to the server again, or just do all of this changes directly from ssh console on your webhosting server and you good to go!

    SVG Logo can be created with many programms, but the most well known is a commercial solution from adobe and the programm is called illustrator, another one very cool product is corel draw suite. If you don't use adobe or corel products then just give a try the opensource pendant: inkscape.

    You can just take you logo and then you have two layers during the logo creation. On the bottom layer you import your pixelized logo and on layer above you start tracing it with curves and lines etc. etc.

    It take sometime for sure to get used to it but worth it as your logo is scaleable on any screen size or ready for offlineprint if you save it in CMYK color format. ;)

  • Thanks very much for your help, it's much appreciated. I think I've managed the former instructions. The logo still isn't done though, not as young as I used to be and didn't grow up with tech as you young folks have ^^ so still haven't taught myself that SVG stuff