Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP pages into html pages


ridesign

Recommended Posts

Posted

1) Does anyone know how to convert all the php pages in oscommerce into html

2) Can someone do it if i was to pay them?

3) Has anyones website got listed in search engines? properly e.g all product pages?

Posted

1. Open the page in your browser. Choose "Save As" html.

 

2. Probably. You could also offer to pay someone to do a set of mod_rewrite rules for you that has the same effect.

 

3. Yes. Both burt and wizardandwars have posted results from their sites.

 

Hth,

Matt

Posted
1) Does anyone know how to convert all the php pages in oscommerce into html

2) Can someone do it if i was to pay them?

3) Has anyones website got listed in search engines? properly e.g all product pages?

1) From what I've seen, there are basically 2 ways of doing this with PHP. Either using mod-rewrites to make .php and .html interchangeable (I've seen sites that do .html?var=input&x=y) OR you could implement some type of advanced caching system that will automatically cache each page dynamically generated and then link to the static page once generated. iiinetworks suggestion of saving them manually will also work for just saving them.

 

2) People will do anything for the right amount of money

 

3) In addition to burt and wizardsandwars, madmacgames has been fully indexed by google <http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=site%3Awww.madmacgames.com+mac&btnG=Google+Search> and other search engines.

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Posted

The whole point of OScommerce is that it is data base driven and dynamic, thus it cannot be html.

 

Having said that it does not mean you cannot get indexed and listed well in the search engines, well at least Google anyway.

 

There are a few modifications you can add/make to the standard osCommerce installation to help the search engines.

 

One is SIDkiller 1.2 and the other is site map v1.1.

 

One other thing if you are running the command

site:www.domain.com.au inurl:www.domain.com.au

 

it will not show up the number of pages it has indexed even though it has in the index and some well placed.

Posted

- I remember there being something that can allow you to edit the look of the site useing html but cant seem to find it now

Posted
- I remember there being something that can allow you to edit the look of the site useing html but cant seem to find it now
Simple Template System?

 

Hth,

Matt

Posted
The whole point of OScommerce is that it is data base driven and dynamic, thus it cannot be html.

 

A product catalog should never need to be retreived from the database every time a user requests it. Or use a dynamically run script for that matter. Under normal business conditions, the most these things need to be updated is once a day.

 

Using mod_rewrite you can mask php urls and dynamically cache dynamic content into static html content. Thus, solving many search engine URL and potential performance issues while still having the power of a dynamic site.

 

The only issue is it will only work with apache - but the beauty of this is that you can do this faster than cooking 2 minute instant noodles by adding a few lines to the apache configuration file.

 

I have a working demo using bunch of php files which will do the same job as mod_rewrite, but of course you are not restricted to apache or php even.

Posted

is it possable to put html in to the php page as i dont know php and would like to edit the /languages/english/index.php page but every time i inset php into it the php ends up not being displayed weird and the menu heading dont work either.

 

Also i would like to remove the box "new products...."

 

how if poss?

 

-Thanks

Posted

thanks m8- i cant seem to add html into the php files it seems to mess up the headings(the text is not displayed instead things like HEADING_TITLE and TEXT_MAIN are displayed instead) how would i do it?

Posted

ok cheers mate it worked - i found out what i did wrong and this if for ever1 else who wants to know or if i forget i can come back ;)

 

Blow is the english/index.php file

 

<?php

/*

  $Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

  osCommerce, Open Source E-Commerce Solutions

  http://www.oscommerce.com

 

  Copyright © 2003 osCommerce

 

  Released under the GNU General Public License

*/

 

define('TEXT_MAIN', ' HTML HERE ' );

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

 

 

 

When i copied the html i only copied everything blow

 

<html>

<body>

 

HTML CODE

 

</body>

 

</html>

 

And it worked :o :D

Posted

on that same page i get this

 

What's New Here? 

 

 

Welcome back Matab! Would you like to see which new products are available to purchase?

 

how would i remove that bit its comes before the html so is displayed on top of it and looks strange!

Posted
1) Does anyone know how to convert all the php pages in oscommerce into html

2) Can someone do it if i was to pay them?

3) Has anyones website got listed in search engines? properly e.g all product pages?

You can use session id killer to make your site crawled by search engines.

I have 2 sites using Osc with session id killer and both listed on search engines (all products listed).

Posted

Matab

 

which bit are you refering to the

 

What's New Here?

 

this is around line 37 of english/index.php

 

define('HEADING_TITLE', 'What\'s New Here?');

 

the bit in red is the bit to change

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

  • 3 months later...
Posted
1) Does anyone know how to convert all the php pages in oscommerce into html

2) Can someone do it if i was to pay them?

3) Has anyones website got listed in search engines? properly e.g all product pages?

You can use session id killer to make your site crawled by search engines.

I have 2 sites using Osc with session id killer and both listed on search engines (all products listed).

Hi,

would you have an idea where i can find the session ID Killer, as i was serching for "session ID Killer" and nothing useful came up...

Thanks

Posted

I am assuming that you mean you want static HTML pages from your product database...

 

1) Does anyone know how to convert all the php pages in oscommerce into html

Yes, I have written a script to do this

 

2) Can someone do it if i was to pay them?

 

Yes I will

 

Bob

Posted

Hi,

i had a look at your website are these your html pages:

e.g.

http://www.searchenginepromotionhelp.com/o...nt-killers.html

 

I wanted html pages to be identical as :

http://www.searchenginepromotionhelp.com/c...p?products_id=4

 

I can create pages so that they can be called up using:

http://www.searchenginepromotionhelp.com/c...og/product_info.html?products_id=4

 

but all of the other links are in php, how do i change this?

can anyone help?

 

Thank you

Posted

You're taking the wrong approach. You need to keep the files as PHP, but a PHP page can appear any way you want it to. If you look at the PHP files, you'll see they're usually a mix of HTML and PHP. You can tweak the HTML to your heart's content - and once you change, say, product_info.php, every product will have the same general appearance.

 

The only time you would want to have an actual HTML file is in a context where the PHP isn't being run. For example, I use the Atomz.com search engine, and the search results are served from Atomz and not my own site. So I give Atomz a template that is HTML but "looks like" one of my store pages, albeit with some links disabled such as shopping cart, Account, etc.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...