Setting up SEO

I am not new to SEO. My server is already setup for SEO before CS-Cart for my CMS and I would like to setup CS-Cart for SEO. I have read the manual and searched the boards.



When I go to Admin>Addons>SEO (requires apache+mod_rewrite installed) and attempt to turn it on I get a Error message.


[QUOTE]SEO URLs can’t work for now - they were disabled. Please check your Apache and mod_rewrite settings.[/QUOTE]



I have searched the directory for the htaccess to see if the name needs to be changed and did not find anything. Does anyone have experience setting up SEO and can put it in steps?

… and the version of CS you use is…?



Ensure you have .htaccess in place wit the following:





[B]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[/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]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

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



[/B]

If you store in subdirectory like yourdomain.com than just add this word witten on red line.


```php DirectoryIndex index.html index.php





RewriteEngine on

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

[COLOR=“Red”]RewriteBase /store[/COLOR]

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]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

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



```

Thanks for the help guys. Noman, that’s why I am a CS Rookie lol



I am currently using version 2.0.5

[quote name=‘miracles’]If you store in subdirectory like yourdomain.com than just add this word witten on red line.


```php DirectoryIndex index.html index.php





RewriteEngine on

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

[COLOR=“Red”]RewriteBase /store[/COLOR]

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]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

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



```[/QUOTE]



I have CS-Cart in a subdirectory. I used this for the .htaccess in the root and put it at the tail end after joomla.



I also made the edit to the actions.post.php file as notated here on post number 10.



After all is said and done I can click on the category and the url will change in the address bar but the page stays on the frontpage. Any ideas?

Got that figured out. Dropped .htaccess with just cs rewrite code you supplied in the subdirectory and got it up and running. Thanks for your help guys.

my store is in



mydomain/store



where does the htaccess go … in the /store folder or domain root?



Does it matter where in htaccess the code you’ve noted goes?



edit ok it looks like it goes in the /store root

got the following warning when i veify my site with google webmaster tools.



“Your site is indexed as [url]http://domainname.com/[/url] not as [url]http://www.domainname.com/[/url]. If you want to see all data for your site, you need to add and verify [url]http://domainname.com/[/url] as well”







How can i fix this? Your help is much appreciated.



Raj

my .httaccess is

:confused:

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[/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]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

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







:confused:

when i activate the addon i get the



SEO URLs can’t work for now - they were disabled. Please check your webserver and URL manipulation engine settings.



i have php5 on the server. What should i try now. the httaccess is in the root and the store is accessed with ukbeading.co.uk



TIA

Clear your cache first. If that doesn’t work check with your host to see if mod_rewrite is enabled.

I’ve tried the clear cache but doesent seem to work as still get the problem.



I sent an email the other day to the host which went…

:confused:

I am using a ecommerce sit that has seo but need to have one of these for it to work.



(requires URL manipulation engine - mod_rewrite or isapi_rewrite)



I cant see an option for it in controll panel and i dont think i can do anything to .htaccess to get it working ( i know little about internet programming)



I checked my php (im on 5) for mod rewrite but could not see it installed.



is it possible to install one for me?

:confused:









The answer i got back was…:confused:



you would need to require those extensions via a htaccess file since they are apache extensions.



[url]http://cld.ly/16xnx[/url]



Hope this helps.

:confused:

First …



Try to rename htaccess file to any other like zzzhtacess.



Try to enable the SEO ADDON.





If it not work:



Second:



Question 01: did you rename htacess to “.htacess” (with the “.” first)?

This is very important to the servers to have this “dot” before the htaccess file.

ok. my htaccess file is .htaccess.



It is being used as when i was editing it i made an error and the site went down. when i corrected it it was back online.



I have 2 .htaccess files. one in the root (or what i call the root) the one with the main index.php and admin.php etc. this contains the file as above



I also have a .htaccess file in the sub root (the one with public_html folder). It appeared when i asked the controll panel on the server to upgrade to php5 when i installed it a few weeks ago. it says “SetEnv DEFAULT_PHP_VERSION 5”



I even tried setting the “RewriteBase /public_html” with no luck



I have tried putting the 2 together so i get





SetEnv DEFAULT_PHP_VERSION 5



DirectoryIndex index.html index.php





RewriteEngine on

Some hostings require RewriteBase to be uncommented

Example:

Your store url is [url]Loading...

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]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

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







that hasent helped .



Thanks for the help… any more ideas?

I am confused as to what you are trying to explain.



You should only have 1 .htaccess file with the information above. Also, public_html is your root folder so I would suggest you move any and all of CSC files there.

all my files cscart files are in the public_html folder where i unzipped them along with the .htaccess file that was installed withh it.



Attached is the sub root picture so you can see where my other .htaccess file is that got installed when i asked for php5 to be installed.





Bot files now read

:confused:

SetEnv DEFAULT_PHP_VERSION 5



DirectoryIndex index.html index.php





RewriteEngine on

Some hostings require RewriteBase to be uncommented

Example:

Your store url is [url]Loading...

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]



RewriteCond %{REQUEST_FILENAME} ./catalog/.

RewriteCond %{REQUEST_FILENAME} -d

RewriteCond %{REQUEST_FILENAME}/index.html !-f

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





:confused:

and have 644 permissions.

deepesticandig.png

Where are all of your other CS files/folders at? They should be right there in /public_html.



Edit: After looking at your image again, the .htaccess does not belong there. It’s supposed to be in the root of your CS files hence /public_html/.htaccess

i’ve disabled one so the public _html is stii there

attached is a picture of my public_html folder



Was wondering if it might be one of the config files

publicfolder.jpg

Too small, I can’t see it.



The htaccess file (with the info stated above) should be with the rest of the CSC files in public_html and nowhere else

fn.catalog.php - 2607









‘s’, ‘?’ => ‘-’, ‘.’ => 2,08-2.09-2,010-

6-sinif.html









‘s’, ‘?’ => ‘-’, ’ ’ => 2.011

6[COLOR=“Red”].[/COLOR]sinif.html (point)

here are larger images

publicfolder2.png

publicfolder1.jpg