redirect for hoplink with index.php

0 replies
Can someone please help me out. I'm trying to do a redirect for my hoplink. I have created a file called index.php in notepad with my code and my hoplink inserted into it. Then i create a directory file under my public html files with my new redirect name on it and place the index.php into it.
When I go to check it with the new url it comes up with:

parse error: syntax error, unexpected ':' in /home/myid/public_html/product name/index.php on line 2

I have done this previously a while ago and it worked fine. Now all of a sudden its not working or it keeps coming with this error above. What am i doing wrong?



Appreciate any help
Thanks
#hoplink #indexphp #redirect

Trending Topics