How do I redirect my website when I click on the homepage?

Discussion in 'HTML & Website Design' started by drunkglitch, Jul 17, 2012.

  1. #1
    SO I have installed when I click home on my site instead of going to mysite.co.uk it goes to mysite.co.uk/index.php?route=common/home does anyone know who I can get it to redirect to mysite.co.uk I am using opencart
     
    drunkglitch, Jul 17, 2012 IP
  2. workingsmart

    workingsmart Well-Known Member

    Messages:
    411
    Likes Received:
    12
    Best Answers:
    9
    Trophy Points:
    120
    #2
    If you are using OpenCart - first thing I suggest you get the SEO friendly url's set with the .htaccess file included with the script.

    In the template files, - header tpl file you'll find the home link is written to that of the installation, not the straight URL / Domain ... You can change it yourself.
     
    workingsmart, Jul 17, 2012 IP
  3. Bryan Zazz

    Bryan Zazz Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    probably not what you're looking for, but here's how I usually do my redirects:
    (the code is pretty self-explanatory)


     
    Bryan Zazz, Jul 25, 2012 IP