Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

XC SEO v1.1.0 Released

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #101  
Old 11-03-2006, 03:05 AM
 
JJD JJD is offline
 

Member
  
Join Date: Jul 2006
Posts: 11
 

Default Re: XC SEO v1.1.0 Released

Hi,

Will this mod only work with Apache because of the rewrite rules, will it work in IIS.

Regards,
__________________
X-Cart 4.1.2
Reply With Quote
  #102  
Old 11-03-2006, 01:14 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO v1.1.0 Released

if your installation of IIS has a type of mod rewrite installed, this product might work for you. the problem is, rewrite for IIS is usually an addon that has to be purchased, altho there are 1 or 2 free versions.
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #103  
Old 11-03-2006, 03:01 PM
 
MyCleaningProducts MyCleaningProducts is offline
 

Member
  
Join Date: Nov 2006
Posts: 11
 

Default Re: XC SEO v1.1.0 Released

I never recieved a .htasccess file from the download, only the secure.htaccess one

Are positive I should have recieved it in the download.




Stop Black Mold
__________________
Markus Skupeika
X-cart 4.1.3
PHP 4.4.3
Linux

http://www.mycleaningproducts.com
Reply With Quote
  #104  
Old 11-04-2006, 06:41 AM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO v1.1.0 Released

It is included with the download archive. You can view the htaccess here:

http://x-cart-seo.googlecode.com/svn/trunk/.htaccess
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #105  
Old 11-06-2006, 05:46 AM
  ShishaPipeUK's Avatar 
ShishaPipeUK ShishaPipeUK is offline
 

Senior Member
  
Join Date: Jul 2005
Location: London, England.
Posts: 118
 

Default Re: XC SEO v1.1.0 Released

Quote:
Originally Posted by ezi designs
Hi Guys

Thanks for all your help and i am getting there, well im there all bar one one error

Parse error: syntax error, unexpected T_IF in /home/ezidesig/public_html/storedzine/include/get_language.php on line 206

Here is what the code looks like in that folder;

Code:
if ( ($current_area == "C" || $current_area == "B") && !empty($HTTP_GET_VARS["sl"]) && !defined('IS_ROBOT') && ############################################################ # X-CART-SEO Mod :: http://code.google.com/p/x-cart-seo/ ############################################################ if (!empty($active_modules["XC_SEO"])) { func_header_location($l_redirect); }else{ if (!preg_match('!(\.htm(l)?|/$)!',$_tmp["path"])) { func_header_location($l_redirect); } } # End SEO {

Ezi Designs, you will get this error as it is wrong.

Also the install 4.1.3 instructions are wrong a little bit.

The instructions say:

IV. includes/get_language.php
===================
OPTIONAL:
The change to "get_language.php" is to avoid issues with
sites that have the language selector enabled.
NOTE: This change is for X-Cart 4.1.x series. Owners of 4.0.x, please
verify if this alteration is needed.
-----------
Find Code:
-----------
Code:
if (!preg_match('!(\.htm(l)?|/$)!',$_tmp["path"])) { func_header_location($l_redirect); }
------------
Replace With
------------
Code:
############################################################ # X-CART-SEO Mod :: http://code.google.com/p/x-cart-seo/ ############################################################ if (!empty($active_modules["XC_SEO"])) { func_header_location($l_redirect); }else{ if (!preg_match('!(\.htm(l)?|/$)!',$_tmp["path"])) { func_header_location($l_redirect); } } # End SEO

Well my virgin 4.1.3 file has at line 199

Code:
if ( ($current_area == "C" || $current_area == "B") && !empty($HTTP_GET_VARS["sl"]) && !defined('IS_ROBOT') && !preg_match('/\.html?($|\?)|\/$/s', $l_redirect) ) { func_header_location($l_redirect); }

The instructions say find code:

Code:
if (!preg_match('!(\.htm(l)?|/$)!',$_tmp["path"])) { func_header_location($l_redirect); }

Which does not exist in my x-cart 4.1.3
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24
PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART

Shop carts at
http://www.nightscene.co.uk/shop/home.php
http://www.theshisha.net/shopcart/home.php
http://www.system-maintenance.com/maint/home.php
http://www.tabac4u.com
Reply With Quote
  #106  
Old 11-06-2006, 12:45 PM
 
Jiser Jiser is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 118
 

Default Re: XC SEO v1.1.0 Released

Intel352, although I explained to you some time ago that I'm not using or planning to install XC SEO or any other rewrite rule. BUT I still greatly admire your commitment to this forum!!

I'm still wondering why you're doing all those stuff... Is there a special reason for all this? Are you somekinda secret agent of Google? Or a new type of angel? I dunno, but I just wanna know!

Keep up the GOOD WORK!!

Michael
__________________
x-cart 4.05
Linux CENTOS
APACHE
Heavily customized
Reply With Quote
  #107  
Old 11-06-2006, 01:11 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO v1.1.0 Released

Shisha, Please refer to this post for corrected instructions:

http://forum.x-cart.com/showthread.php?p=146906#post146906

Quote:
Originally Posted by ShishaPipeUK
Ezi Designs, you will get this error as it is wrong.

Also the install 4.1.3 instructions are wrong a little bit.

The instructions say:

IV. includes/get_language.php
===================
OPTIONAL:
The change to "get_language.php" is to avoid issues with
sites that have the language selector enabled.
NOTE: This change is for X-Cart 4.1.x series. Owners of 4.0.x, please
verify if this alteration is needed.
-----------
Find Code:
-----------
Code:
if (!preg_match('!(\.htm(l)?|/$)!',$_tmp["path"])) { func_header_location($l_redirect); }
------------
Replace With
------------
Code:
############################################################ # X-CART-SEO Mod :: http://code.google.com/p/x-cart-seo/ ############################################################ if (!empty($active_modules["XC_SEO"])) { func_header_location($l_redirect); }else{ if (!preg_match('!(\.htm(l)?|/$)!',$_tmp["path"])) { func_header_location($l_redirect); } } # End SEO

Well my virgin 4.1.3 file has at line 199

Code:
if ( ($current_area == "C" || $current_area == "B") && !empty($HTTP_GET_VARS["sl"]) && !defined('IS_ROBOT') && !preg_match('/\.html?($|\?)|\/$/s', $l_redirect) ) { func_header_location($l_redirect); }

The instructions say find code:

Code:
if (!preg_match('!(\.htm(l)?|/$)!',$_tmp["path"])) { func_header_location($l_redirect); }

Which does not exist in my x-cart 4.1.3
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #108  
Old 11-06-2006, 01:14 PM
 
intel352 intel352 is offline
 

X-Wizard
  
Join Date: Dec 2005
Posts: 1,071
 

Default Re: XC SEO v1.1.0 Released

Quote:
Originally Posted by Jiser
Intel352, although I explained to you some time ago that I'm not using or planning to install XC SEO or any other rewrite rule. BUT I still greatly admire your commitment to this forum!!

I'm still wondering why you're doing all those stuff... Is there a special reason for all this? Are you somekinda secret agent of Google? Or a new type of angel? I dunno, but I just wanna know!

Keep up the GOOD WORK!!

Michael

Thanks, I appreciate it

This work was started for the sake of my previous employer (didn't want to have to pay for an SEO solution), and the code was released as GNU GPL to hopefully generate a community around the module, so that there would be a good community for testing and improving the code. Additionally, since there wasn't a free SEO solution available, figured this would be a good free addition to x-cart
__________________
-Jon Langevin
WARNING: Unethical developer - NOT RECOMMENDED
See details here
Reply With Quote
  #109  
Old 11-08-2006, 05:50 AM
 
x-online x-online is offline
 

Senior Member
  
Join Date: Apr 2004
Location: Australia, Sydney
Posts: 189
 

Default Re: XC SEO v1.1.0 Released

Hi there,

First of all thanks for the mod much appreciated. I think i find another error under the froggle section.. here is the current (i'm using 4.13) section that i can find:

# Post string
$post = func_froogle_convert($product['product'], 80)."\t".
func_froogle_convert($product['descr'], 65536)."\t".
$http_location.constant("DIR_CUSTOMER")."/product.php?productid=".$product['productid']."\t".
$tmbn."\t".

Can you please take a look at it for us?

Regards,
Poy
__________________
X-Cart version 4.x (Most likely will be the latest version)
Reply With Quote
  #110  
Old 11-08-2006, 06:49 AM
  jasonroy's Avatar 
jasonroy jasonroy is offline
 

Senior Member
  
Join Date: Sep 2006
Location: Tualatin, Oregon
Posts: 147
 

Default Re: XC SEO v1.1.0 Released

Just an update for some people. I've been using this for a while now, and my catalog pages are starting to show up in google's index..woo
__________________
rjroffroad.com
x-cart 4.1.3
+ez checkout
+remember anonymous carts
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:42 AM.

   

 
X-Cart forums © 2001-2020