Jump to content

Remove the new-products page completely


thejustme

Recommended Posts

Hi there,

 

I've looked around a bit to see if anyone has tried to do this before, with no luck.

 

I want te remove the new-products page, a client of mine manages this on their site with a category.

 

What i tried is deleting the entry from SEO & URL's, but this left me with a page (index.php?controller=new-products) that is still being indexed by google.

 

How do i completely remove this page from my site?

 

Thanks in advance!

Link to comment
Share on other sites

Thanks for the quick reply El Patron, 

 

I tried the setting "Number of days for which the product is considered 'new'" = 0, in the backend "Preferences"->"Products".

 

Unfortunately I'm still able to go to the new-products page, instead of getting a 404 wich would be the desired effect in my case.

.

Link to comment
Share on other sites

Try to go to Preferences >SEO&URLs and delete newproducts line

but think you would need to delete NewProductsController.php in controllers folder

or maybe better override that controller controller and redirect to 404 page.

This last thing also possible I think with rule in .htaccess file.

  • Like 1
Link to comment
Share on other sites

Thanks for the reply Razaro,

 

I already deleted this entry under the SEO & URLs settings, apparently this only deletes the friendly url instead of disabling the page.

I was hoping not to need an override, but i think you are right. 

I will look into this and let you know what changes are needed to achieve this.

 

The .htacces change is something I rather not do, since I'm trying to keep the number of redirects to a minimum.

Link to comment
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
×
×
  • Create New...