Now as part of my comeback, I’ve installed this blog in a folder called ‘site’. So the URL is currently https://timbrownlaw.com/site and I’ll be sending all my traffic to https://timbrownlaw.com. The Home page is going to be… well something in the near future. So how do I do a redirect?
Well there are a couple of options. I could do a redirect in the .htaccess file OR I could simply perform a little php redirect. Using something like
<?php
header("location: site");
?>;
Important note: if you are a budding php programmer, you do not need to have the ending php tag. So the ?> is recommended to Not Be There as it can cause potential problems like the ubiquitous “Headers already sent” Error.
So I’ll do that and that should fix that up for now until I decide what’s going on the Home Page.
Related Post: How to create an Affiliate link – the old way
I am an avid Website developer and Affiliate Marketer.
I created my First Website back in 2001 using Frontpage (yes that old…) which quickly led me into Hand coding HTML and CSS.
So over time I got a bit handy with custom PHP scripts and MySQL Database Design and not forgetting javascript.
So, If you ever have any questions – except for “what are the winning lotto numbers” I will do my best to help when I can.