Hi!
I am wondering how i can change the website startpage.
I want http://www.henrikmaaland.net/ipeople/ startpage to be /tjenester. but i want it possible to write just the address without /tjenester.
So; I want it possible to write henrikmaaland.net/ipeople but i want it to redirect as /tjenester
JRAYCV
December 27, 2016, 10:19am
#2
Hi @henrikmaa ,
Good Day
you can try using this “<meta http-equiv="refresh" content="0; url=henrikmaaland.net/tjenester" />
” .
Please let me know if you have comments or feedback.
Thanks and regards,
Justin
1 Like
Hi @JRAYCV
I tried to use “” .
The script just restarted on every /tjenester it added. example: henrikmaaland.net/ipeople/tjenester/tjenester/tjenester/tjenester …
I also tried to do it in .htaccsess with: Redirect 301 /ipeople /ipeople/tjenester.php
This had the same error
Thankyou
Henrikmaa
JRAYCV
December 27, 2016, 6:57pm
#4
Hi @henrikmaa ,
I saw that this link “http://www.henrikmaaland.net/ipeople/ ” is going to page error 404. If that’s the case you can edit pulse index.php in line 20 “header(‘HTTP/1.1 404 Not Found’);” comment it should be same as shown as below:
//header('HTTP/1.1 404 Not Found'); header('Location: http://henrikmaaland.net/tjenester');
This will do the trick for you.
Regards,
Justin
i deleted home folder thats why it was 404. but it all got bugged. i fixed that problem now.
But how can i do the same now, without 404?
//header(‘HTTP/1.1 404 Not Found’);
header(‘Location: http://henrikmaaland.net/tjenester ’);
JRAYCV
December 27, 2016, 8:12pm
#6
Hi @henrikmaa ,
So if you have a page called ipeople inside of this page put this
<?php header('Location: http://henrikmaaland.net/tjenester');?> it will redirect.
Hope this help.
Thanks and regards,
Justin
Thankyou for helping @JRAYCV but now this error pops up
Warning: Cannot modify header information - headers already sent by (output started at /customers/0/5/f/henrikmaaland.net/httpd.www/ipeople/template/layout.php:6) in /customers/0/5/f/henrikmaaland.net/httpd.www/ipeople/template/layout.php on line 8
JRAYCV
December 28, 2016, 9:30am
#8
Hi @henrikmaa ,
Where did you exactly put the php script?
it should be in /Pages/ipeople.txt from the admin page.
so inside ipeople.txt insert the php code <?php header('Location: http://henrikmaaland.net/tjenester');?>
so when you open page http://www.henrikmaaland.net/ipeople/ it will redirect to http://henrikmaaland.net/tjenester .
Please let me know if you still need more assistance.
Thanks and regards,
Justin
pulsecms
closed
February 1, 2018, 10:43pm
#9
This topic was automatically closed after 12 hours. New replies are no longer allowed.