| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
HTML Pages Not Being Called | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Have generated HTML catalog and can find it at mynewsite/catalog/index.html however, when one logs on to www.mynewsite.com.au all pages including the catalog and product pages are produced in .php format.
They should be in html, shouldn▓t they? Feel sure that they were; seem to remember pages being in .html. Have had a number of mods installed lately. Also deleted my index.html file, hope that▓s ok or could this have something to do with it? Please help.
__________________
Gerard Version 4.1.8 Gold Linux Server Zeus Australia |
|||||||
#2
|
|||||||
|
|||||||
![]() That's not how the catalog works by default. If you want to use the html catalog (which I really don't recommend) you need to generate it in the root directory. If not, you need to create a redirect to the catalog/ folder. Otherwise, the browser has no idea that it should be looking in the catalog/ folder.
Instead of the html catalog, I suggest one of these mods: CDSEO DSEFU
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks Balinor.
When I check the root directory the catalog file is there so don▓t understand why the html pages are not working. Any ideas please? Re: DSEFU √ It will not work on the server (Zeus) that my host uses. Re:CDSEO √ Have so far spent more that $200 on mods and installations and don▓t wish to fork out another couple hundred. Will be selling a small number of products and product key words are in domain name so hope this is sufficient. You say you don▓t recommend the html rout, so in the absence of the above two mods do you recommend that I stick with php or try to sort out the html problem? Your reply appreciated.
__________________
Gerard Version 4.1.8 Gold Linux Server Zeus Australia |
|||||||
#4
|
|||||||
|
|||||||
![]() Zeus...sorry to hear that
![]() So it looks like you are stuck with the html catalog then. You mentioned above, that your catalog is in the catalog/ directory. By 'root' I mean that you need to generate the catalog in the root of the site, meaning where your cart.php, product.php, etc files are. I DO NOT recommend php file names, as there is absolutely no optimization to them, and it will hurt you. You simply need to generate the html catalog in the root directory daily and set your directory index to index.html.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Yeah.... bummer.
Definitely in the root directory. You say, ⌠Set your directory index to index.html■. I have deleted the index html file in the root directory and from the static pages in my Admin section (built my home page around home.php).Should I reinstate them and if so what goes in the index.html file? Unfortunately I didn▓t keep a copy of the contents. Also▓ what do you mean by ⌠set your directory index to index.html■? Hope these questions are not too dumb. Gerard
__________________
Gerard Version 4.1.8 Gold Linux Server Zeus Australia |
|||||||
#6
|
|||||||
|
|||||||
![]() Ok, when you create the html catalog, it should create an index.html file too. Then, you need to tell the browser to look for the index.html file instead of index.php. That should be done in .htaccess (does Zeus use that?).
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() Yes, Zeus has a hidden htaccess file which I found via ftp
Gerard
__________________
Gerard Version 4.1.8 Gold Linux Server Zeus Australia |
|||||||
#8
|
|||||||
|
|||||||
![]() Balinor, The following is the total sum of the htacess file:
DirectoryIndex home.php RewriteEngine On RewriteRule ^content/(.*)$ pages.php [L] What should I change it to please. Gerard
__________________
Gerard Version 4.1.8 Gold Linux Server Zeus Australia |
|||||||
#9
|
|||||||
|
|||||||
![]() Ok Have tried the following in both the root directory HTACCESS file and the customer folder HTACCESS but they did not work.
Changed htaccess file from: - DirectoryIndex home.php to: - DirectoryIndex home.html Also tried from: - DirectoryIndex home.php to: - DirectoryIndex .html and Directory Index.html Still did not work. Also tried the following in root HTACCESS only, but to no avail. redirect 301 /home.php http://www.mynewsite.com.au/index.html redirect 301 /index.php http://www.mynewsite.com.au/index.html Ready to give up. Gerard
__________________
Gerard Version 4.1.8 Gold Linux Server Zeus Australia |
|||||||
#10
|
|||||||
|
|||||||
![]() It would be:
DirectoryIndex index.html But you have to make sure your index.html is present in the root directory. Don't use 301 redirects.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|