Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
409 views
in Technique[技术] by (71.8m points)

php - 404 error in front end and admin of magento after changing store view to a new store

I have 1 website , 2 stores and 2 store views ...ym and main store, I needed the main store view to be the default home page and not the ym store view, while trying to do that in the manage store page, I mistakenly put the ym view that belongs to store 1 under store 2 in the drop down box shown.

Immediately both the front-end and Admin went to error 404 and I can no longer access the website.

please help, I am a new Magento User and I have been working on this website for over 4 weeks and almost done with it.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

First correct the urls in the database table in core_config_data

Only store view has dropdown menu in the frontend for choice.

When it creates website, shops and views have to share products and categories if necessary, since the pages and blocks you can choose the same for all or will be necessary to have one selected identical to another store

The most common among website and shop is to have a index.php for each, then create a subdomain, copy the index.php and edit the end of it which is the automatic choice of website and shop, then change the urls just that shop for test.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...