SEO Addon problem

I installed the new 3.0.4 into a subfolder. My goal is to import existing 2.2.5 into the newer version. This has not worked out at all and am awaiting a reslution from tech support.



I deleted everything and started over today because I have been waiting several days for help ( I know…the weekend) and wanted to try and get it done.



I installed fresh copy into a subfolder. I then installed the SEO addon and now all the links are broken to product pages.



How do I fix this issue?

How are they broken?



Are they broken on your main 2.2.5 site, or on your new subfolder 3.0.4 upgrade site?



If you broke your live store and have restored it, I would hazard a guess and say your .htaccess rules are incorrect. Perhaps you need to set RewriteBase correctly, in most cases “RewriteBase /” is sufficient.

.htaccess


```php

Pleas note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.

Some hostings require RewriteBase to be uncommented

Example:

Your store url is http://www.yourcompany.com/store/cart

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

```

[quote name='StellarBytes' timestamp='1353384303' post='149539']

How are they broken?



Are they broken on your main 2.2.5 site, or on your new subfolder 3.0.4 upgrade site?



If you broke your live store and have restored it, I would hazard a guess and say your .htaccess rules are incorrect. Perhaps you need to set RewriteBase correctly, in most cases “RewriteBase /” is sufficient.

[/quote]



Main store is ok.

[quote name='The Tool' timestamp='1353384417' post='149540']

.htaccess


```php

Pleas note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.

Some hostings require RewriteBase to be uncommented

Example:

Your store url is http://www.yourcompany.com/store/cart

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

```

[/quote]



This is what I have in the subfolder



DirectoryIndex index.html index.php



RewriteEngine on

Some hostings require RewriteBase to be uncommented

Example:

Your store url is [url=“http://www.yourcompany.com/store/cart”]http://www.yourcompany.com/store/cart[/url]

So “RewriteBase” should be:

RewriteBase /store/cart

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . index.php?sef_rewrite=1 [L,QSA]

Hello Jayhawk,



Thank you for your message.



It seems that the issue occurs because the .htaccess file has not been amended according to the name of the sub-directory where you installed CS-Cart. In other words, if CS-Cart is installed not in the web root directory, you should modify the .htaccess file located in the root CS-Cart directory and replace there the following line of code:


RewriteBase /



with this one:


RewriteBase /your_cscart_directory



where your_cscart_directory is the directory path relative to the web root directory. You can also find this information in our Knowledge base:



[url=“CS-Cart Documentation — CS-Cart 4.15.x documentation”]CS-Cart Documentation — CS-Cart 4.15.x documentation



Please check if it helps you.



Thank you.





Pavel Zyukin

CS-Cart Support team