James Bachini

301 redirect

  • PHP Redirect with Parameters | Passing GET variables in a Redirect

    PHP Redirect with Parameters | Passing GET variables in a Redirect

    Update March 2023 To do a 301 PHP redirect with parameters to another page we can use the following code: The entire query parameter string is stored in the following variable. Everything after the question mark. So for the URL: server.com/index.php?test=123&hi=hellothe $_SERVER[‘QUERY_STRING’] will contain this string “test=123&hi=hello” We can then pass this out when redirecting…

  • SEO for Fun and Profit

    SEO for Fun and Profit

    SEO Summary Search engine optimisation can be broken down into onsite and offsite factors. Onsite Factors Domain age Domain relevance (Topics throughout site) Domain name relevance (keyword.com) Domain registration factors such as renewal date and private whois Site speed, page load times Site freshness, new daily content Title relevancy Keywords in meta description H1 tag…