Jump to content

Making a CMS page the homepage


aryamanmandhana
 Share

Recommended Posts

Hi,

On my store currently, there is a homepage, the dynamic homepage provided by PrestaShop and a bunch of static CMS pages that I have created. 

I want to remove the current dynamic homepage and make one of the static CMS pages the new homepage. How can I do this such that:

 

1. ../ opens to the CMS page and not the home page

2. "home" link in the breadcrumbs is now the CMS page (without having to manually do this).

I basically want to change the home page for the entire system. Solution to either would be highly appreciated.

Here is what I have tried:

index.php file in the root folder I tried a simple PHP redirect
 

header("Location:URL")
exit;

but without any success. The error shown is "webpage has a redirect loop".

Thanks

Aryaman

Edited by aryamanmandhana (see edit history)

Share this post


Link to post
Share on other sites

  • 3 years later...

Hello,

 

Need a simple solution for prestashop 1.7.x (without hacking core file).

 

There is probably something to put in the index.tpl file to load a specific CMS page content, but I'm new to prestashop and can't find what is the right syntax.

 

Thanks

 

Alex

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More