Gabriel Torres Posted December 16, 2021 Posted December 16, 2021 Hi, Today I found out using Google that the /store/ URL is active in our install, even though we don't use it, as we only have /subscriptions/: https://www.clubedohardware.com.br/store/ https://www.clubedohardware.com.br/subscriptions/ How could we disable acess to /store or redirect it to /subscriptions? BTW, why is this URL accessible if we don't have any products? Wouldn't this be something to be improved in the software? Thanks.
Daniel F Posted December 16, 2021 Posted December 16, 2021 You could change the default module for the store SeNioR- and Marc 2
Gabriel Torres Posted December 16, 2021 Author Posted December 16, 2021 (edited) @Daniel F Did that, cleared the caches, but it didn't work: it is still opening the store instead of the subscriptions. Edited December 17, 2021 by Gabriel Torres
Solution Jim M Posted December 16, 2021 Solution Posted December 16, 2021 If you want to completely disable access to the store module, you could click the permissions button on the store module and remove access.
Gabriel Torres Posted December 17, 2021 Author Posted December 17, 2021 @Jim M That did the trick, but it is weird how the solution proposed by Daniel F, above, somehow didn't work for me. It would be best to redirect /store/ to /subscriptions/.
Marc Posted December 20, 2021 Posted December 20, 2021 On 12/17/2021 at 3:49 PM, Gabriel Torres said: @Jim M That did the trick, but it is weird how the solution proposed by Daniel F, above, somehow didn't work for me. It would be best to redirect /store/ to /subscriptions/. It wouldnt do that if the store module itself is still active Gabriel Torres 1
SeNioR- Posted December 20, 2021 Posted December 20, 2021 (edited) The question is a bit off topic, but related. Is it worth adding the extra lines Disallow: /store/ Disallow: /clients/ Disallow: /settings/ Disallow: /messenger/ to robots.txt? For the messenger page, google somehow indexed the page. Edited December 20, 2021 by SeNioR- Gabriel Torres 1
Mark H Posted December 21, 2021 Posted December 21, 2021 Google usually doesn't honor robots.txt exclusions like those, but you can disallow those directories in..... hmm... either your Analytics or Webmaster Tools interface (I forget which one has that feature). Gabriel Torres and SeNioR- 1 1
Gabriel Torres Posted December 21, 2021 Author Posted December 21, 2021 Will take a look into that, thanks.
Recommended Posts