Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Setting up SEO Rate Topic   - - - - -

 
  • thefoliage
  • Junior Member
  • Members
  • Join Date: 01-Feb 09
  • 19 posts

Posted 18 July 2009 - 10:00 PM #1

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.

SEO URLs can't work for now - they were disabled. Please check your Apache and mod_rewrite settings.


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?

 
  • Noman
  • Senior Member
  • Members
  • Join Date: 29-Oct 07
  • 526 posts

Posted 18 July 2009 - 11:34 PM #2

... and the version of CS you use is...?

Ensure you have .htaccess in place wit the following:


DirectoryIndex index.html index.php

<IfModule mod_rewrite.c>
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
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]

</IfModule>


 
  • miracles
  • Senior Member
  • Members
  • Join Date: 19-Sep 07
  • 1533 posts

Posted 19 July 2009 - 08:08 AM #3

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

DirectoryIndex index.html index.php

<IfModule mod_rewrite.c>
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]

</IfModule>

CS-CART 3.0.6 GRENADE

Please vote for CDN Add-on

For SEO Article Submission, Forum Profile Links, Web 2.0 links, contact me through PM.

 
  • thefoliage
  • Junior Member
  • Members
  • Join Date: 01-Feb 09
  • 19 posts

Posted 19 July 2009 - 07:41 PM #4

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

I am currently using version 2.0.5

 
  • thefoliage
  • Junior Member
  • Members
  • Join Date: 01-Feb 09
  • 19 posts

Posted 19 July 2009 - 09:36 PM #5

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

DirectoryIndex index.html index.php

<IfModule mod_rewrite.c>
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]

</IfModule>


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?

 
  • thefoliage
  • Junior Member
  • Members
  • Join Date: 01-Feb 09
  • 19 posts

Posted 20 July 2009 - 04:42 AM #6

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.

 
  • kvanlaar
  • Junior Member
  • Members
  • Join Date: 11-Sep 09
  • 62 posts

Posted 11 September 2009 - 08:37 PM #7

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

 
  • Raj
  • Junior Member
  • Members
  • Join Date: 24-Nov 09
  • 63 posts

Posted 17 December 2009 - 11:36 PM #8

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

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



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

Raj

 
  • mrfoameruk
  • Senior Member
  • Members
  • Join Date: 03-Dec 09
  • 302 posts

Posted 31 December 2009 - 08:52 PM #9

my .httaccess is
:confused:
DirectoryIndex index.html index.php

<IfModule mod_rewrite.c>
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
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]

</IfModule>

: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

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3812 posts

Posted 31 December 2009 - 11:34 PM #10

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

 
  • mrfoameruk
  • Senior Member
  • Members
  • Join Date: 03-Dec 09
  • 302 posts

Posted 01 January 2010 - 02:09 AM #11

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.

http://cld.ly/16xnx

Hope this helps.
:confused:

 
  • dragondf
  • Senior Member
  • Members
  • Join Date: 02-Nov 07
  • 211 posts

Posted 02 January 2010 - 01:47 AM #12

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.

 
  • mrfoameruk
  • Senior Member
  • Members
  • Join Date: 03-Dec 09
  • 302 posts

Posted 02 January 2010 - 10:45 PM #13

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

<IfModule mod_rewrite.c>
RewriteEngine on
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.ukbeading.co.uk/store/cart
# 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]

</IfModule>

that hasent helped .

Thanks for the help.. any more ideas?

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3812 posts

Posted 02 January 2010 - 11:43 PM #14

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.

 
  • mrfoameruk
  • Senior Member
  • Members
  • Join Date: 03-Dec 09
  • 302 posts

Posted 03 January 2010 - 12:16 AM #15

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

<IfModule mod_rewrite.c>
RewriteEngine on
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.ukbeading.co.uk/store/cart
# 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]

</IfModule>
:confused:
and have 644 permissions.

Attached Thumbnails

  • deepesticandig.png


 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3812 posts

Posted 03 January 2010 - 12:52 AM #16

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

 
  • mrfoameruk
  • Senior Member
  • Members
  • Join Date: 03-Dec 09
  • 302 posts

Posted 03 January 2010 - 07:00 AM #17

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

Attached Thumbnails

  • publicfolder.jpg


 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3812 posts

Posted 03 January 2010 - 10:08 AM #18

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

 
  • soldierly
  • Member
  • Members
  • Join Date: 10-Jun 09
  • 142 posts

Posted 03 January 2010 - 02:55 PM #19

fn.catalog.php - 2607




's', '?' => '-', '.' => 2,08-2.09-2,010-
6-sinif.html




's', '?' => '-', ' ' => 2.011
6.sinif.html (point)

 
  • mrfoameruk
  • Senior Member
  • Members
  • Join Date: 03-Dec 09
  • 302 posts

Posted 03 January 2010 - 07:37 PM #20

here are larger images

Attached Thumbnails

  • publicfolder2.png
  • publicfolder1.jpg