X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   XC SEO v1.1.0 Released (https://forum.x-cart.com/showthread.php?t=25297)

sales@webosusa.com 01-02-2008 02:29 PM

Re: XC SEO v1.1.0 Released
Sorry... but whats this for?

SpaceCadet 01-03-2008 07:26 AM

Re: XC SEO v1.1.0 Released

Originally Posted by bebekisses.com
you need to get the mod_rewrite rules setup in your apache installation.

it would probably save you a lot of headaches to do a small linux VM (128MB/etc) for dev. sooo much cleaner. APache + php on windows is such a PITA.

Thanks for the tip. I get XC-SEO working on my development system. Moved it to my live site and I am back to the 404 errors. Is there any way that I can check to see if mod_rewrite is turned on on my live server? I mean other than getting the 404 errors? Here is the text of my .htaccess file:

# .htaccess file for Island Creations

# general stuff
Options -Indexes +FollowSymLinks
RewriteEngine on

# The starting place is...
DirectoryIndex index.php

# Prevent reading of .htaccess file
<Files .htaccess>
order allow,deny
deny from all

# prevent image/file hijacking
#RewriteCond %{HTTP_REFERER} !^$
#RewriteCond %{HTTP_REFERER} !^http://(www\.)?islandcreations-online.com/.*$ [NC]
#RewriteRule \.(gif|jpg|js|css)$ - [F]

# block all smarty templates (no reason to have these exposed)
RedirectMatch gone ^/.*\.tpl$

# block the entire log directory
ReDirect gone /log

# block all .log (log files), .sql (sql dump/export) and .conf (config files) files
# in case some day these files move to another directory
RedirectMatch gone ^.*\.(sql|log|conf)$

# block access to the 'Smarty-*' directory
RedirectMatch gone ^.*Smarty.*$

# block access to /upgrade
Redirect gone /upgrade

# block access to /skin1_original
Redirect gone /skin1_original

# block access to the /sql directory
Redirect gone /sql

# block access to the /shipping directory
Redirect gone /shipping

# block access to the pgp directories
Redirect gone /.pgp
Redirect gone /.pgp.def


# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root xcart folder (i.e. RewriteBase /shop)
RewriteBase /Island_Creations

# Enable the following 3 lines if you want to make sure
# all users use the www. version of your domain.
# Helps prevent cookie issues for some X-Cart installations
#RewriteCond %{HTTPS} off
#RewriteCond %{HTTP_HOST} ^YOURDOMAIN.com [NC]
#RewriteRule ^(.*)$ http://www.YOURDOMAIN.com/$1 [R=301,L]

##### XC SEO
# Rewrite SEO category URL's
RewriteRule ^([^/]*/)?[^/]+-print-(productcode|title|price|orderby)-up-c-([0-9]+)-p-([0-9]+)\.html$ $1home.php?printable=Y&sort=$2&sort_direction=0&ca t=$3&page=$4 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-(productcode|title|price|orderby)-down-c-([0-9]+)-p-([0-9]+)\.html$ $1home.php?printable=Y&sort=$2&sort_direction=1&ca t=$3&page=$4 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-c-([0-9]+)-p-([0-9]+)\.html$ $1home.php?printable=Y&cat=$2&page=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-(productcode|title|price|orderby)-up-c-([0-9]+)-p-([0-9]+)\.html$ $1home.php?sort=$2&sort_direction=0&cat=$3&page=$4 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-(productcode|title|price|orderby)-down-c-([0-9]+)-p-([0-9]+)\.html$ $1home.php?sort=$2&sort_direction=1&cat=$3&page=$4 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-c-([0-9]+)-p-([0-9]+)\.html$ $1home.php?cat=$2&page=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-(productcode|title|price|orderby)-up-c-([0-9]+)\.html$ $1home.php?printable=Y&sort=$2&sort_direction=0&ca t=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-(productcode|title|price|orderby)-down-c-([0-9]+)\.html$ $1home.php?printable=Y&sort=$2&sort_direction=1&ca t=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-c-([0-9]+)\.html$ $1home.php?printable=Y&cat=$2 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-(productcode|title|price|orderby)-up-c-([0-9]+)\.html$ $1home.php?sort=$2&sort_direction=0&cat=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-(productcode|title|price|orderby)-down-c-([0-9]+)\.html$ $1home.php?sort=$2&sort_direction=1&cat=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-c-([0-9]+)\.html$ $1home.php?cat=$2 [QSA,L]

# Rewrite SEO manufacturers URL's
RewriteRule ^([^/]*/)?[^/]+-print-(productcode|title|price|orderby)-up-m-([0-9]+)-p-([0-9]+)\.html$ $1manufacturers.php?printable=Y&sort=$2&sort_direc tion=0&manufacturerid=$3&page=$4 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-(productcode|title|price|orderby)-down-m-([0-9]+)-p-([0-9]+)\.html$ $1manufacturers.php?printable=Y&sort=$2&sort_direc tion=1&manufacturerid=$3&page=$4 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-m-([0-9]+)-p-([0-9]+)\.html$ $1manufacturers.php?printable=Y&manufacturerid=$2& page=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-(productcode|title|price|orderby)-up-m-([0-9]+)-p-([0-9]+)\.html$ $1manufacturers.php?sort=$2&sort_direction=0&manuf acturerid=$3&page=$4 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-(productcode|title|price|orderby)-down-m-([0-9]+)-p-([0-9]+)\.html$ $1manufacturers.php?sort=$2&sort_direction=1&manuf acturerid=$3&page=$4 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-m-([0-9]+)-p-([0-9]+)\.html$ $1manufacturers.php?manufacturerid=$2&page=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-(productcode|title|price|orderby)-up-m-([0-9]+)\.html$ $1manufacturers.php?printable=Y&sort=$2&sort_direc tion=0&manufacturerid=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-(productcode|title|price|orderby)-down-m-([0-9]+)\.html$ $1manufacturers.php?printable=Y&sort=$2&sort_direc tion=1&manufacturerid=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-m-([0-9]+)\.html$ $1manufacturers.php?printable=Y&manufacturerid=$2 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-(productcode|title|price|orderby)-up-m-([0-9]+)\.html$ $1manufacturers.php?sort=$2&sort_direction=0&manuf acturerid=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-(productcode|title|price|orderby)-down-m-([0-9]+)\.html$ $1manufacturers.php?sort=$2&sort_direction=1&manuf acturerid=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-m-([0-9]+)\.html$ $1manufacturers.php?manufacturerid=$2 [QSA,L]

# Rewrite SEO product URL's
RewriteRule ^([^/]*/)?[^/]+-print-c-([0-9]+)-p-([0-9]+)-pr-([0-9]+)\.html$ $1product.php?printable=Y&productid=$4&cat=$2&page =$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-c-([0-9]+)-p-([0-9]+)-pr-([0-9]+)\.html$ $1product.php?productid=$4&cat=$2&page=$3 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-print-pr-([0-9]+)\.html$ $1product.php?printable=Y&productid=$2 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-pr-([0-9]+)\.html$ $1product.php?productid=$2 [QSA,L]

# Rewrite SEO static page URL's
RewriteRule ^([^/]*/)?[^/]+-print-pg-([0-9]+)\.html$ $1pages.php?printable=Y&pageid=$2 [QSA,L]
RewriteRule ^([^/]*/)?[^/]+-pg-([0-9]+)\.html$ $1pages.php?pageid=$2 [QSA,L]

# Rewrite SEO search URL's
RewriteRule ^([^/]*/)?([^/]+)-search-c-([0-9]+)(-[^-]+)*\.html$ $1search.php?mode=search&substring=$2&cat=$3 [QSA,L]
RewriteRule ^([^/]*/)?([^/]+)-search(-[^-]+)*\.html$ $1search.php?mode=search&substring=$2 [QSA,L]
##### / XC SEO

I agree about the Apache and PHP on Windows, but I get it all working so I'm happy for now.


nano1018 01-06-2008 09:26 PM

Re: XC SEO v1.1.0 Released

Originally Posted by intel352
Just a note, I noticed a notification about a user having difficulties with 4.1.9, but he appears to have removed his post. I just want to say, I just now downloaded 4.1.9 fresh, applied all XC SEO modifications without any difficulties, uploaded, installed 4.1.9, ran XC SEO installer, and it's working dandy with no problems.

So, it's been verified to work on 4.1.9, cheers

Hi Jon, my site is running 4.1.9 on Windows server with IIS. Will this work on my site? I couldn't use DSEFU as it need ISAPI REWRITE. Does XC SEO has the same requirement?


intel352 01-08-2008 05:11 PM

Re: XC SEO v1.1.0 Released
@ webosusa: this mod is for search engine optimized urls, it's an alternative to DSEFU

@ spacecadet: PM info about your site/server, i'll help you debug

@ nano1018: XC SEO is pretty much the same as DSEFU (except free). XC SEO hasn't yet been modified to work on IIS. Both mods could theoretically work fine on Windows/IIS, but you have to install rewrite (which is available for IIS). or even better, install Apache, you'll see better performance and most mods will now work ;-) :-D

radtoyscentral 01-08-2008 10:11 PM

Re: XC SEO v1.1.0 Released
I am having some issues. I just found out about XC SEO and am having a hard time installing it. I am running 4.0.18 and have seen some patching that I need to do to get this to work. When I unpacked everything and uploaded it, everything went well. When I typed in the install.php address I get an error:

init.php not found. Please, unpack XC SEO module in <xcart> directory

I unpacked everything and uploaded it to the store root directory and get this error. Can anybody tell me what is wrong?

intel352 01-08-2008 10:33 PM

Re: XC SEO v1.1.0 Released
This release is currently not ready for 4.0.x, just 4.1.x

I'll be updating soon with better documentation for 4.1.x, and the install procedure for 4.0.x

radtoyscentral 01-08-2008 10:46 PM

Re: XC SEO v1.1.0 Released
In all honesty, how hard is it to upgrade from 4.0.18 to 4.1.1?

intel352 01-08-2008 11:43 PM

Re: XC SEO v1.1.0 Released
Upgrading is never a fun process, but if you don't have mods, etc, that you need to hang onto, that always helps. I upgraded a website from 4.1.3 to 4.1.9 today, but encountered issues (custom modifications, addons, etc) that turned the upgrade into an all-day ordeal. But you could have a very good experience depending on your situation.

sales@webosusa.com 01-09-2008 01:04 PM

Re: XC SEO v1.1.0 Released
Whats the mean SEO? Whats this program for? Sorry for the stupid question.

anthonizzle 01-10-2008 05:59 PM

Re: XC SEO v1.1.0 Released
SEO is search engine optimization.

It's something you need to have your rankings on search engines better.

All times are GMT -8. The time now is 05:59 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.