Forum

Thread tagged as: Question, Configuration

Pages Question

Just wanted to check if there is a better way to do this:

Say I have a menu with a section called Products and it has several submenu items e.g. Product 1, Product 2 etc.

I am using pages app to create Products, then sub pages below it. However I am not really wanting a Products page on the front end (I have the url set to the first product, whats the best way to achieve this?

Currently I have a pages template assigned to the index.php in this section. Should I have an empty index.php, or some other method such as no path to an index.php e.g. /products/?

Even though I have set index.php to not be indexed, its still showing up with regions in the admin.

Nigel Coath

Nigel Coath 1 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What do you mean by "I have set index.php to not be indexed" ?

As in hidden from search engines.

At the moment I simply deleted the index.php in the subdirectory but not sure if right way?

Drew McLellan

Drew McLellan 2638 points
Perch Support

I don't think there is a "right way" as the whole approach is a hack. The "right way" would be to have a products listing at /products.