Jump to content

Forward Portfolio Page to Regular Page

Recommended Posts

Site URL: https://oneearthrising.com/

Hi folks, 

On our homepage, we used the beautifully arranged portfolio template to offer clickable images with overlays. However, we would like to show a dedicated page when clicking on the portfolio image. 

Example of the "Experience our games" image:

Currently links to https://oneearthrising.com/this-is-us/our-games
Would like it to link to https://oneearthrising.com/games

I already tried the domain mapping way with a 301 redirect which didn't work. Any suggestions? 

 

Thank you.

Link to comment
  • Replies 4
  • Views 946
  • Created
  • Last Reply

Top Posters In This Topic

Add this code to Page Settings > Advanced > Header. It will redirect to new url after 5000 miliseconds (1000 = 1 second)

Each page has Page Header

<script>
         setTimeout(function(){
            window.location.href = 'https://beaverhero.com';
         }, 5000);
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Thank you, Tuanphan. 

 

That is a great solution. However, it didn't work for the Project pages, unfortunately, as those for whatever reason don’t offer an individual code injection field for each page, only for the main page (equivalent would be you can only redirect the whole blog instead of individual posts). Why they do that is beyond me but I appreciate the effort. Seems that there is no solution to the issue at the moment. 

 

Thank you again. 

Best, 

Jan

Link to comment
  • 1 year later...
On 4/6/2020 at 12:56 AM, JanR said:

Thank you, Tuanphan. 

 

That is a great solution. However, it didn't work for the Project pages, unfortunately, as those for whatever reason don’t offer an individual code injection field for each page, only for the main page (equivalent would be you can only redirect the whole blog instead of individual posts). Why they do that is beyond me but I appreciate the effort. Seems that there is no solution to the issue at the moment. 

 

Thank you again. 

Best, 

Jan

You can edit sub page >> Add a Code Block >> Paste the code

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.