What is the best approach for redirection of old pages in Jekyll and GitHub Pages?

The best solution is to use both <meta http-equiv=”refresh” and <link rel=”canonical” href= It works very well, Google Bot reindexed my entire website under new links without losing positions. Also the users are redirected to the new posts right away. <meta http-equiv=”refresh” content=”0; url=http://konradpodgorski.com/blog/2013/10/21/how-i-migrated-my-blog-from-wordpress-to-octopress/”> <link rel=”canonical” href=”http://konradpodgorski.com/blog/2013/10/21/how-i-migrated-my-blog-from-wordpress-to-octopress/” /> Using <meta http-equiv=”refresh” will redirect each visitor … Read more

How to redirect a URL in Nginx

Best way to do what you want is to add another server block: server { #implemented by default, change if you need different ip or port #listen *:80 | *:8000; server_name test.com; return 301 $scheme://www.test.com$request_uri; } And edit your main server block server_name variable as following: server_name www.test.com; Important: New server block is the right … Read more

Heroku/GoDaddy: send naked domain to www [closed]

On GoDaddy, use the “Forwarding” feature to setup a forward from yourdomain.example to www.yourdomain.example. The forwarding feature can be accessed in the Domain Manager at the bottom of the “Domain Information” section: If you do this then all traffic to yourdomain.example will be routed to the Heroku app CNAME (which is the better approach). One … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)