How to edit start page on pulse?

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

Hi @henrikmaa,

Good Day :slight_smile:

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 :frowning:

Thankyou
Henrikmaa

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’);

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 :confused:

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

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

This topic was automatically closed after 12 hours. New replies are no longer allowed.