Welcome to WebmasterWorld Guest from 54.145.208.64

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Static OScommerce

Anyone Done it with a rewrite?

   
11:26 am on Mar 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it a foolish task to try and undertake?

I not thiking of all of it just maybe the categories and the individual products.

Any advice. Even if it is "yeah forget it"

Cheers

11:57 pm on Mar 30, 2004 (gmt 0)

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I haven't been involved with OSC for a long time, but my recollection is that it has a caching feature that might just get you what you really want (fast page loads, I assume is the goal).

They have an active forum. Have you tried there?

7:12 am on Mar 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>They have an active forum. Have you tried there?

I will give that try, thanks. I was thinking static urls though, although the cacheing sounds good as well.

9:39 am on Mar 31, 2004 (gmt 0)

10+ Year Member



Yeh, I've done it once or twice, pm me if you need an example.

There are [of course] a number of methods -- the built in SEF links (in configuration -> my store -- will probably require your own rewrite rules to match it) is one way, there's two or more similar tutorials in the oscommerce forums (which have an extremely bad search function) and there's a link transformer which I'll try and dig out of my URL bin :)

5:16 pm on Mar 31, 2004 (gmt 0)

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



I guess by definition [webopedia.com] static urls require static pages, unless you want to simply mask your dynamic pages by swtiching to human-readable, SEF links.

If the former (static URIs), you could use wget (or similar) to go a few levels deep and create the static pages and then use rewrites to change "dynamic urls" (at least to outward appearances before being rewritten) to point to your static pages.

I know some people using OSC use wget to create an entire static site every so often. They send spiders to crawl those pages and then rewrite the URIs to send visitors to the latest dynamic version of the page.

Also, you may be interested in the following Contributions

All Categories & Subcategories Page [oscommerce.com]

All Products Page [oscommerce.com]

If you are merely looking for SEF, check out

SEF Link Transformer [oscommerce.com]

Regarding the cahcing, see

[wiki.oscommerce.com...]

I guess the question is what effect are you trying to achieve? In other words, why do you want to do it? That might change the "how".

2:24 am on Apr 1, 2004 (gmt 0)

10+ Year Member



i'm sure mod_rewrite would be the best solution, i don't know much about it, but you can see an example and some links HERE [webmasterworld.com] ([webmasterworld.com ])