Hello all,
I am using OC144, It seems my site has developed a problem and i'm not sure why.
The problem is that when i click on some categories it loads then pings back to the same page. What i mean is i click on a sub category for example, the page seems as though it is about to load but then stops and stays on the same page. Its the same effect as refreshing the page.
Can anyone help to shed some light on this for me please.
http://www.thefishingandleisureshop.com/
http://www.thefishingandleisureshop.com ... ne-&-Braid (here is an example link that is playing up)
Thanks in advance
Stewart
I am using OC144, It seems my site has developed a problem and i'm not sure why.
The problem is that when i click on some categories it loads then pings back to the same page. What i mean is i click on a sub category for example, the page seems as though it is about to load but then stops and stays on the same page. Its the same effect as refreshing the page.
Can anyone help to shed some light on this for me please.
http://www.thefishingandleisureshop.com/
http://www.thefishingandleisureshop.com ... ne-&-Braid (here is an example link that is playing up)
Thanks in advance
Stewart
I have a fresh install of the latest cart.
I added one product to test.
I click on category, then product.
When I click on the product, I get a 404 error from my host provider.
But, this only happens when there is Any text in the SEO field for the product.
If I leave the SEO field blank, the product page appears like normal.
btw, Daniel,
awesome updates/upgrades of the cart since I last used it sometime last year.
www.thermalrollsrus.com
I added one product to test.
I click on category, then product.
When I click on the product, I get a 404 error from my host provider.
But, this only happens when there is Any text in the SEO field for the product.
If I leave the SEO field blank, the product page appears like normal.
btw, Daniel,
awesome updates/upgrades of the cart since I last used it sometime last year.
www.thermalrollsrus.com
Thanks Qphoria. Yes I renamed it.
Since I use 1and1, and OpenCart needs PHP5, I have to use .htaccess to make it work.
I use AddType x-mapp-php5 .php for that.
Then I use:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.thermalrollsrus.com$ [NC]
RewriteRule ^(.*)$ http://www.thermalrollsrus.com/$1 [R,L]
Maybe this string is inaccurate?
I'll try a different flavor of the ReWrite and see if I can get SEO to work.
****
OK, I figured it out.
The Rewrite was not correct.
It should be:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain.com [NC] (there was a "!" and "www." on this line)
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
Now I get a 404 error on the About Us link, but that is the only error.
Since I use 1and1, and OpenCart needs PHP5, I have to use .htaccess to make it work.
I use AddType x-mapp-php5 .php for that.
Then I use:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www.thermalrollsrus.com$ [NC]
RewriteRule ^(.*)$ http://www.thermalrollsrus.com/$1 [R,L]
Maybe this string is inaccurate?
I'll try a different flavor of the ReWrite and see if I can get SEO to work.
****
OK, I figured it out.
The Rewrite was not correct.
It should be:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain.com [NC] (there was a "!" and "www." on this line)
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
Now I get a 404 error on the About Us link, but that is the only error.
You need to set it back to the default.
The only thing you'd change is RewriteBase if OpenCart is in a subdirectory.
http://wiki.opencart.com/index.php?title=SEO_URLs
Code: Select all
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
http://wiki.opencart.com/index.php?title=SEO_URLs
-Ryan
Who is online
Users browsing this forum: Amazon [Bot] and 54 guests