![]() |
HTML Pages Not Being Called
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. |
Re: HTML Pages Not Being Called
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 |
Re: HTML Pages Not Being Called
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. |
Re: HTML Pages Not Being Called
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. |
Re: HTML Pages Not Being Called
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 |
Re: HTML Pages Not Being Called
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?).
|
Re: HTML Pages Not Being Called
Yes, Zeus has a hidden htaccess file which I found via ftp
Gerard |
Re: HTML Pages Not Being Called
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 |
Re: HTML Pages Not Being Called
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 |
Re: HTML Pages Not Being Called
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. |
All times are GMT -8. The time now is 05:02 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.