Jump to content

move shop missing pages


foz1234

Recommended Posts

hi

I've moved my shop to a new host

was previously in a folder called /shop

I've now moved it to the root of the new host

i can access the shop now had to edit the image links no problem

the categories open fine except i can not get to the items from within the categories  

this actual link in the browser looks like i would expect but there is no page?

the best seller links not working featured products etc all link to dead pages

this is very odd, the product seo is the same link as in the url from the short cuts, but i am either getting this page can not be displayed with .html or the shop 404 without the .html ext  

very odd, I've just tried to add a new product but that's the same shows in latest products but when clicked goes to this page cant be displayed

please help !!

Link to comment
Share on other sites

When a CubeCart installation is in a folder such as /shop/, we recommend that the .htaccess file contain a directive called RewriteBase.

Check for this directive and adjust to a simple slash if present. Also, check the 404 directive at the bottom of the file.

Link to comment
Share on other sites

1 hour ago, Dirty Butter said:

The url to your store might be helpful to someone knowledgeable enough to help you. Also, any error log entries?

Do you have the correct store location in the SEO tab of Store Settings? global.inc.php?

i don't see seo tab in the store settings do you mean ssl/store url?

yes the global.inc.php seem to be correct, all the database is there in admin panel, customers purchases everything, all the items are there just the shop is not displaying the items online very weird

1 hour ago, keat said:

Would resetting the cache help at all ?

tied a few times resetting shop cache and browser, its the same for a friend I've had test it so no pc cache related.

its driving me nuts

i don't think it can really be cache related, its the same when i enter new product

enter all the new details in save etc shows in latest products but click on latest product for that item blank web page

 

38 minutes ago, bsmither said:

When a CubeCart installation is in a folder such as /shop/, we recommend that the .htaccess file contain a directive called RewriteBase.

Check for this directive and adjust to a simple slash if present. Also, check the 404 directive at the bottom of the file.

Cube cart was previously in a folder called shop but now in root

##### START CubeCart .htaccess #####

 

### File Security ###

<FilesMatch "\.(htaccess)$">

Order Allow,Deny

Deny from all

</FilesMatch>

 

### Apache directory listing rules ###

DirectoryIndex index.php index.htm index.html

IndexIgnore *

 

### Rewrite rules for SEO functionality ###

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

 

##### START v4 SEO URL BACKWARD COMPATIBILITY #####

RewriteCond %{QUERY_STRING} (.*)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$

RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$

RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC]

 

RewriteCond %{QUERY_STRING} (.*)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$

RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$

RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]

 

RewriteCond %{QUERY_STRING} (.*)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$

RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$

RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC]

 

RewriteCond %{QUERY_STRING} (.*)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$

RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$

RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]

 

RewriteCond %{QUERY_STRING} (.*)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$

RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$

RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$ index.php?_a=saleitems&%1 [NC,L]

##### END v4 SEO URL BACKWARD COMPATIBILITY #####

 

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_URI} !=/favicon.ico

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$

RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$

RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$

RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA]

</IfModule>

 

### Default store 404 page ###

ErrorDocument 404 /index.php

 

## Override default 404 error document for missing page resources ##

<FilesMatch "\.(gif|jpe?g|png|ico|css|js|svg)$">

ErrorDocument 404 "<html></html>

</FilesMatch>

##### END CubeCart .htaccess #####

 

 

 

***** found the problem... iron cube not installed on the server, just found the error while ftp'ing in. error_log in root i have google microdata installed

4 hours I've been going around in circles unticked that boom all pages load 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...