Removing A Url (Controller + Action)

Hi

We have a CS-Cart Multi-Vendor store.

For the companies, we had two layouts, one for companies.products and companies.view.

I deleted the layout for companies.view as we only want to use the companies.products, but the URLs for comanies.view still work, and the links show up in our sitemap.

Is there a way to completely remove that URL or controller+action from the system? (there are other pages that we also want to remove).

Thanks,

Hi

We have a CS-Cart Multi-Vendor store.

For the companies, we had two layouts, one for companies.products and companies.view.

I deleted the layout for companies.view as we only want to use the companies.products, but the URLs for comanies.view still work, and the links show up in our sitemap.

Is there a way to completely remove that URL or controller+action from the system? (there are other pages that we also want to remove).

Thanks,

Unfortunately no, you can create post controllers for these pages and make redirects there. As alternative, use 301 redirects in .htaccess

Is there no other way to delete a page from being available in the system?