|
43bc2bd2f4f5eea925e61a3eb61362b4
|
Small additionby tobi - Shopify - 08:53PM, Sep 29, 2006 |
|
We found that there a lot of 404 requests which went to the urls /collections and /products (without any further parameters ) in our logs so i whipped up a quick page which just shows a list of collections. Paginates on 30 collections. http://turtles.myshopify.com/collections/ Any thoughts on this? ---
Tobias Lütke |
|
|
Would be nice to be able to customise this page… or am I missing something?
|
|
|
Hi Tobi – first time I looked at this I didn’t get it. Now that I have, ummm, great idea, many thanks for the effort – but I find it DISASTROUS! In effect, it lets people look into the admin side of things – not directly, but because it picks up ALL collections, even those we might not wish to display. For example, I have supplier collections for my own purposes that I do NOT show publicly as such. Now they appear as if they were a legitimate part of the public side of my site. For the smart collections, I’ve found a way around this by setting conditions to make sure that none of the “private/admin” collections make it to the site; but I can’t do this with the standard collections, so they show up on this page, whether I like it or not (and I don’t!). In general, I don’t like relinquishing control over what gets shown and what doesn’t. This was my problem with the search function, too: it would give access to page & blog articles that were NOT meant for the public – either because they weren’t finished, or were outdated, or were designed to appear in a specific context and nowhere else, or because I was holding them for future publication. So I did away with the search function, but I notice that it still exists on the 404 page. All of this gives me a sense of a lack of control over my site; & that I can’t have anything on admin that isn’t publicly viewable at any time and in any context, because I never know when something might pop up in public. The idea for making this page (and the search) is excellent, but the implementation is scary. Would be better if there were some sort of mechanism whereby something had to be explicitly declared as searchable – or on the contrary excluded from search. Then this page would be extremely useful, and so would the search function. p.s.: I’ve checked this page for a few other shopify sites besides my own. It does give you the feeling that you’re getting a look behind the scenes.
|
|
|
Understood. On one hand side i’m thinking that you shouldn’t have anything in your store which you don’t want people to see but i also don’t like feeling out of control of things. I’ll move the page to liquid next opportunity. In the meantime you can add the following style to your css:
---
Tobias Lütke
|
|
|
OK - thanks a lot, Tobi!
|
|
|
How about a redirect to the index page as opposed to a blank page? I would like to see some sort of redirect clause in liquid. Would this be possible? — Last edited 01:05AM, Nov 05, 2006 |
|
|
Certainly possible but it would be limited to static redirections because liquid doesn’t currently have string manipulation. Neat idea! ---
Tobias Lütke
|
|
|
That would be fine. If I were to stop selling a certain item, and there was a link out there to it, the user would get the error page. Instead it would be great if we could do something like this in the theme.liquid at the top.
I could think of few other reasons where redirect would be a good idea, like with pages that no longer exist etc…. — Last edited 06:21PM, Nov 05, 2006 |
wideeye
Member
04:56PM, Oct 24, 2006