DKosev Posted June 30, 2015 Share Posted June 30, 2015 Hello, I'm with PrestaShop™ 1.6.0.14 version. The thing that I'm asking is: How I can make a category page as homepage... I made it to this command: Tools::redirect('index.php?id_category=3&controller=category'); In the IndexController.php But this command, make a redirrect and it is visible in the link... How can I make this redirrect but not visible for the user? Do I need to mask the url somehow or there is another way? Regards! Link to comment Share on other sites More sharing options...
vekia Posted July 1, 2015 Share Posted July 1, 2015 some time ago i wrote tutorial: category as homepage checked it a second ago in prestashop 1.6.1 and it works 1 Link to comment Share on other sites More sharing options...
nosnevetzy Posted July 1, 2015 Share Posted July 1, 2015 some time ago i wrote tutorial: category as homepage checked it a second ago in prestashop 1.6.1 and it works THANK YOU FOR THIS!!! IT WORKED! Link to comment Share on other sites More sharing options...
DKosev Posted July 1, 2015 Author Share Posted July 1, 2015 some time ago i wrote tutorial: category as homepage checked it a second ago in prestashop 1.6.1 and it works Hello, Thank you for your reply! I'm not sure due to DNS loadings.. but when I load the website index it's still change the link to the redirrected page. In my case.. when I enter test.domain.bg - it loading test.domain.bg/3-category-page So the effect is the same as the: Tools::redirect('index.php?id_category=3&controller=category'); Do you know how I can mask that url, not to change.. Link to comment Share on other sites More sharing options...
Sylv1c Posted November 16, 2015 Share Posted November 16, 2015 some time ago i wrote tutorial: category as homepage checked it a second ago in prestashop 1.6.1 and it works Worked also for me... thanks dude Link to comment Share on other sites More sharing options...
CrossY Posted April 12, 2016 Share Posted April 12, 2016 some time ago i wrote tutorial: category as homepage checked it a second ago in prestashop 1.6.1 and it works Thanks, still works in 1.6.1.4 Make sure to empty cache and refresh the browser properly if it doesn't seem to work. Link to comment Share on other sites More sharing options...
vekia Posted April 26, 2016 Share Posted April 26, 2016 Thanks, still works in 1.6.1.4 Make sure to empty cache and refresh the browser properly if it doesn't seem to work. indeed i tested it in 1.6.1.5 too and seems like everything is okay too Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now