homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

Static OScommerce
Anyone Done it with a rewrite?

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

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"




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

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)

>>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)

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)

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


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)

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 ])

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved