cancel
Showing results for 
Search instead for 
Did you mean: 

Store view deletion

Store view deletion

Hi,

We have a two store view website in our magento. If i am deleting the one store, while running reindex cron job whether the existing URL redirect list will be automatically cleared
for the deleted store or manually we need to delete the existing URL rdirect list.

And also what are all the steps we need to follow after deletion of one store(this will help us to avoid another website impact)?

Will the URL redirect list always be re-created for the particular store view after deletion of URL redirect list alone when a re-index is run? - Can you confirm?

 

Please clarify my queries?

 

Thanks in advance.

 

11 REPLIES 11

Re: Store view deletion

Hello @janavi_g

 

Yes, you can delete store views directly from admin and then just to do reindex and flush cache. It will work perfectly. 

Manish Mittal
https://www.manishmittal.com/

Re: Store view deletion

Hi @Manish Mittal,

Already created URL redirect  list also will be removed after delete the store?

or  We need to delete the existing URL redirect list manually after delete the store?

 

Please clarify.

Re: Store view deletion

Hello @janavi_g

 

Yes it should delete all associated url but if you have some custom table then it will not delete. 

Manish Mittal
https://www.manishmittal.com/

Re: Store view deletion

Hi @janavi_g

 

Yes , directly you can delete your store from the backend of the magento  - when you delete your store all the URLs related to that store will be automatically cleared - you don't required to clear manually - as store itself not exists and both are inter-related to each other.

 

Regarding your second question - after deleting the store you need to do re-indexing and clear and flush cache for the same.

 

Coming back to your third-question - yes if you just delete the URL rewrite from the backend and that store is still exist and you browse that store or i would say - you do any operations on the same - then all the URLs will be generated again !

 

Hope you got all the points - let me know if you still have query on the same !

 

Hope it helps

 

 

if issue solved,Click Kudos & Accept as Solution

Re: Store view deletion

Hi,

When  I am trying to the delete the website from Magento admin backend (System->Manage stores->Selected the website->Delete website) getting the below error. I am not able to delete the website  It will have only one default store.

 

"Unable to delete website. Please, try again later."

 

Please clarify the query.

 

Thanks in advance.

Re: Store view deletion

Hi,

When  I am trying to the delete the website from Magento admin backend (System->Manage stores->Selected the website->Delete website) getting the below error. I am not able to delete the website  It will have only one default store.

 

"Unable to delete website. Please, try again later."

 

Please clarify the query.

 

Thanks in advance.

Re: Store view deletion

Hello @janavi_g

 

Try this if it help:

 

https://zemez.io/magento/support/how-to/magetique-delete-website/

Manish Mittal
https://www.manishmittal.com/

Re: Store view deletion

I am trying to delete the website in magento1

Re: Store view deletion

Logged into phpmyadmin and Select core_website and look for website_id attribute. Delete all lines in core_store and core_store_group tables has website_id attribute reference to core_website.website_id and then try to delete.

Manish Mittal
https://www.manishmittal.com/