Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * - 4 votes

[Contribution] SEO-G


1097 replies to this topic

#21 bjanice44

  • Community Member
  • 7 posts
  • Real Name:Brian Janice

Posted 24 April 2007, 12:38

View Postenigma1, on Apr 23 2007, 11:23 AM, said:

No it is not an add-on, it is a separate module that handles urls. You should not use both.

Hello looks like a great contribution. Here is my question. There lots of contributions out there like google sitemaps for example that are compatible with Ultimate seos. There many others out there that are compatible. I am interested in having all of my php pages rewritten into html which Ultimate or cre seo's do not do. I am afraid that I will break something if I install this... Do you know of any contributions that might not be compatible with this? I use Google, Yahoo, and shopzilla product feeds as well.

Might be a good idea to list the features of this contribution vs Utlimate seo's so people know whether it is worht the switchover.

#22 PublicWholesaler

  • Community Member
  • 15 posts
  • Real Name:Mike Kittle

Posted 24 April 2007, 15:20

I added this contirbution yesterday, and everything seemed perfect, however, now I am unable to access my OsC admin. When I try, I am automatically redirected to index.asp page (Which happens to be the page I used as my redirection page in SEO-G configuration, and am assuming is the cause of my problem?).

Any idea on how I can access publicwholesaler.com/admin and bypass the redirection without accessing my admin to turn off the Master Switch?

Thanks

#23 enigma1

  • Community Member
  • 8,206 posts
  • Real Name:Mark Samios

Posted 24 April 2007, 15:31

View Postchrisgeek, on Apr 24 2007, 01:34 AM, said:

Exactly what kind of URLs can I get with this mod?

I'd like to have:

geekfitters.com/productname.html

Is that possible with this mod?

Thank you!
yes you can generate that too if you leave the prefix field empty for the products. There is some explanation with the documentation.

#24 enigma1

  • Community Member
  • 8,206 posts
  • Real Name:Mark Samios

Posted 24 April 2007, 15:33

View PostPublicWholesaler, on Apr 24 2007, 10:20 AM, said:

I added this contirbution yesterday, and everything seemed perfect, however, now I am unable to access my OsC admin. When I try, I am automatically redirected to index.asp page (Which happens to be the page I used as my redirection page in SEO-G configuration, and am assuming is the cause of my problem?).

Any idea on how I can access publicwholesaler.com/admin and bypass the redirection without accessing my admin to turn off the Master Switch?

Thanks
the .htaccess in the catalog folder should not impact the admin. Make sure you edited the correct .htaccess for the redirection (meaning only the one for the osc catalog)

#25 PublicWholesaler

  • Community Member
  • 15 posts
  • Real Name:Mike Kittle

Posted 24 April 2007, 15:53

View Postenigma1, on Apr 24 2007, 10:33 AM, said:

the .htaccess in the catalog folder should not impact the admin. Make sure you edited the correct .htaccess for the redirection (meaning only the one for the osc catalog)
I have verified my admin/htaccess was not modified. any other suggestions to check?

Thanks for the help

#26 enigma1

  • Community Member
  • 8,206 posts
  • Real Name:Mark Samios

Posted 24 April 2007, 16:02

View Postbjanice44, on Apr 24 2007, 07:38 AM, said:

Hello looks like a great contribution. Here is my question. There lots of contributions out there like google sitemaps for example that are compatible with Ultimate seos. There many others out there that are compatible. I am interested in having all of my php pages rewritten into html which Ultimate or cre seo's do not do. I am afraid that I will break something if I install this... Do you know of any contributions that might not be compatible with this? I use Google, Yahoo, and shopzilla product feeds as well.

Might be a good idea to list the features of this contribution vs Utlimate seo's so people know whether it is worht the switchover.
The xml maps is a valid point. I am planning to create the scripts to support at least a basic xml map. At this point I am still testing and validating various features of this module. If the initial design is not proper, everything will fall apart as other plugins rely in the seo database tables and associated structure.

I will need some feedback to see how to go on with this module. Not in terms of bug-fixes this is of course essential. But with the design aspect.

Right now the module will generate friendly urls for the entire store including every combination of parameters. Although this may look great at the beginning it includes a huge number of seo links spiders will never see. So should I integrate some extra configuration to control this behavior?

The exclusion list added with v1.02, can filter out scripts that spiders will never see like the customer various pages. Is it better to use an inclusion list instead?

I will make another release in the next couple of days where the parameters filtering is better. From the tests I did so far if you pass an invalid extension through the tep_href_link function it goes through the seo class. A filter will be included with next release to rectify this.

At this point the module's operation generating URLs is progressive. So after installation not all links from a site are generated immediately. Once you land at a page all the links in that page will be generated (if they do not exist). With xml maps I will have to write from scratch or convert one of the existing scripts to generate the important urls for the search engine. What will be the best way for it? Having a linkage between the tables so the manufacturer, category and product (or a combination of those) is added to the xml? Or a simpler method will be better.

As the search engines crawl the store now they see lots of redirections to the cookie page because simply they cannot add items to the cart or access personalized content. All these will be redirected to the cookies page. That's a default behavior with osCommerce. Now with SEO-G these links are converted showing html pages. I am still investigating this and the impact (if any) that it will have for rankings.

Also as the documentation states, with seasoned stores, it is not wise to move from one SEO module to another (or even switch the stock osc URLs). The rankings will be altered because search engines see new links. So keep that in mind.

I'll get back to the various links combinations issue as they generated and show few examples.

#27 enigma1

  • Community Member
  • 8,206 posts
  • Real Name:Mark Samios

Posted 24 April 2007, 16:05

View PostPublicWholesaler, on Apr 24 2007, 10:53 AM, said:

I have verified my admin/htaccess was not modified. any other suggestions to check?

Thanks for the help
ok can you give me an example so I can replicate it here?

Configuration redirect page is index.asp

what's the .htaccess rules you have in the catalog? What's the admin location. Just give examples so I can understand the structure not the actual urls.

like
www.mysite.com/catalog/
www.mysite.com/admin/

or
www.mysite.com/catalog/
www.mysite.com/catalog/admin/

etc.

#28 PublicWholesaler

  • Community Member
  • 15 posts
  • Real Name:Mike Kittle

Posted 24 April 2007, 16:29

View Postenigma1, on Apr 24 2007, 11:05 AM, said:

ok can you give me an example so I can replicate it here?

Configuration redirect page is index.asp

what's the .htaccess rules you have in the catalog? What's the admin location. Just give examples so I can understand the structure not the actual urls.

like
www.mysite.com/catalog/
www.mysite.com/admin/

or
www.mysite.com/catalog/
www.mysite.com/catalog/admin/

etc.
www.mysite.com/
www.mysite.com/admin/

www.mysite.com/htaccess
# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
#
# AllowOverride Options
#
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)
# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers


SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0


# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter
#
# AcceptPathInfo On
# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
#
#
# php_value session.use_trans_sid 0
# php_value register_globals 1
#
#-MS- SEO-G Added
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*).html$ root.php?%{QUERY_STRING}
#-MS- SEO-G Added EOM

www.mysite.com/admin/htaccess
AuthType Basic

AuthName "Restricted Area"

AuthUserFile "/home/publicwh/.htpasswds/admin/passwd"


require valid-user

let me know if you need more info...Appreciate your time greatly.

#29 PublicWholesaler

  • Community Member
  • 15 posts
  • Real Name:Mike Kittle

Posted 24 April 2007, 18:07

[quote name='PublicWholesaler' date='Apr 24 2007, 11:29 AM' post='1065752']

I was able to regain admin access by removing the
#-MS- SEO-G Added
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*).html$ root.php?%{QUERY_STRING}
#-MS- SEO-G Added EOM

from my catalog .htaccess file
I am guessing the code above that I am using is not correct?

#30 nordscan

  • Community Member
  • 16 posts
  • Real Name:rasto

Posted 25 April 2007, 05:41

Hi, i use the seo-G but have a little problem, why i not on php i auto replace selected character with this:

this
áäčďéěíľňóôřŕšťúůýžÁÄČĎÉĚÍĽŇÓÔŘŔŠŤÚŮÝŽ

to this
aacdeeilnoorrstuuyzAACDEEILNOORRSTUUYZ

#31 chrisgeek

  • Community Member
  • 63 posts
  • Real Name:Chris Samp

Posted 25 April 2007, 06:22

View Postenigma1, on Apr 24 2007, 03:31 PM, said:

yes you can generate that too if you leave the prefix field empty for the products. There is some explanation with the documentation.

This is probably a dumb question, but just to make sure, I can just copy and paste all these files over my current OSC files, assuming that my OSC is fresh and unmodified?

#32 chrisgeek

  • Community Member
  • 63 posts
  • Real Name:Chris Samp

Posted 25 April 2007, 06:50

View Postenigma1, on Apr 21 2007, 11:47 PM, said:

SEO-G provides automatic generation of URLs with your osCommerce store. Using multiple configuration options to generate a clear hierarchical structure of your store's entities, this module can significantly boost your marketing and SEO campaign.

Using osCommerce the no.1 e-commerce engine available today, as the base framework, SEO-G can utilize the database tables and generate the most comprehensive and spider-friendly URLs. Links can be generated at the same level as your store using configurable separation characters or emulate a multi-level directory structure.

SEO-G represents a set of classes around a special framework that can process the database tables, generate meaningful names which can be further customized and finally create spider-friendly URLs.

The module provides a set of configurable scripts on the osC Admin end, where the store owner can configure types, handlers, set names for various entities (eg: products,categories,articles,topics) as well as monitor the generated urls. In addition the framework is designed to easily support custom classes.

On the catalog end, the operation of SEO-G is fairly simple, yet extremely effective. It relies on a redirect method via .htaccess where a single script handles every URL conversion/request. Once an SEO-G URL is detected the system translates it to the original osCommerce URL. When installed this contribution generates spider-friendly links for all the store's pages. SEO-G links are generated progressively and no database identifiers are necessary within the links.

Contribution Link will be posted shortly as it has to be manually approved

Another dumb question: in the install, you mention configure files (plural). But I only found one configure file that resembled your configure example. Is this right?

#33 chrisgeek

  • Community Member
  • 63 posts
  • Real Name:Chris Samp

Posted 25 April 2007, 07:31

A few more simple brief questions:

-When I installed the snippets of code into some of the files, there was an extra blank line at the end of each snippet. I deleted that blank line. Will that affect anything?

-I have the default SEO-G installed. My index.php page isn't showing up when I type in my webaddress: www.geekfitters.com

-I really don't want or need categories. Will Seo-G still work?

- Can I support your project through a couple t-shirts? My company is in debt, and I'm pretty much broke too.

Thanks you in advance!

Best,

Chris

#34 ogg2k

  • Community Member
  • 58 posts
  • Real Name:Robert Denham

Posted 25 April 2007, 12:32

I have install SEO-G 1.02 and the addresses are working fine.

But the boxes on the left column are being resizes and the main page is being resized.


And one had this problem or got any ideas.

Plus I have uninstalled the mod and my site is live.

Would be good to get this working.


Thanks

Rob

#35 ogg2k

  • Community Member
  • 58 posts
  • Real Name:Robert Denham

Posted 25 April 2007, 12:38

View Postchrisgeek, on Apr 25 2007, 08:31 AM, said:

A few more simple brief questions:

-When I installed the snippets of code into some of the files, there was an extra blank line at the end of each snippet. I deleted that blank line. Will that affect anything?

-I have the default SEO-G installed. My index.php page isn't showing up when I type in my webaddress: www.geekfitters.com

-I really don't want or need categories. Will Seo-G still work?

- Can I support your project through a couple t-shirts? My company is in debt, and I'm pretty much broke too.

Thanks you in advance!

Best,

Chris

It looks like you haven’t change catalog\.htaccess

#-MS- SEO-G Added
Options +FollowSymLinks
RewriteEngine On
RewriteBase /unnamed5/
RewriteRule ^(.*).html$ root.php?%{QUERY_STRING}
#-MS- SEO-G Added EOM


Change unnamed5 to your installed folder.

Should be like this
RewriteBase /catalog/

#36 enigma1

  • Community Member
  • 8,206 posts
  • Real Name:Mark Samios

Posted 25 April 2007, 13:02

View PostPublicWholesaler, on Apr 24 2007, 11:29 AM, said:

I was able to regain admin access by removing the
#-MS- SEO-G Added
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^(.*).html$ root.php?%{QUERY_STRING}
#-MS- SEO-G Added EOM

from my catalog .htaccess file
I am guessing the code above that I am using is not correct?

No the code there is good. But there was a bug in the root.php of the SEO-G module. This should be fixed with v1.03. Let me know if this works for you.


I released v1.03 with the following changes:
- Added filter to process .php files only
- Improved create_safe_string to eliminate triple separators.
- Fix for loading non-php scripts

#37 enigma1

  • Community Member
  • 8,206 posts
  • Real Name:Mark Samios

Posted 25 April 2007, 13:11

View Postchrisgeek, on Apr 25 2007, 01:22 AM, said:

This is probably a dumb question, but just to make sure, I can just copy and paste all these files over my current OSC files, assuming that my OSC is fresh and unmodified?
You can do that but still the files included are from a vanilla osc with the register globals script module. I would recommend going through the manual instructions

Edited by enigma1, 25 April 2007, 13:15.


#38 enigma1

  • Community Member
  • 8,206 posts
  • Real Name:Mark Samios

Posted 25 April 2007, 13:18

View Postnordscan, on Apr 25 2007, 12:41 AM, said:

Hi, i use the seo-G but have a little problem, why i not on php i auto replace selected character with this:

this
áäčďéěíľňóôřŕšťúůýžÁÄČĎÉĚÍĽŇÓÔŘŔŠŤÚŮÝŽ

to this
aacdeeilnoorrstuuyzAACDEEILNOORRSTUUYZ

At the moment, the module only supports A-Z and 0-9 characters for links generation (plus the separators)

#39 enigma1

  • Community Member
  • 8,206 posts
  • Real Name:Mark Samios

Posted 25 April 2007, 13:24

View Postogg2k, on Apr 25 2007, 07:32 AM, said:

I have install SEO-G 1.02 and the addresses are working fine.

But the boxes on the left column are being resizes and the main page is being resized.
And one had this problem or got any ideas.

Plus I have uninstalled the mod and my site is live.

Would be good to get this working.
Thanks

Rob

Can you try it with v1.03. If you still see the same problem post a link to one of the broken pages and I'll try to replicate the problem.

#40 enigma1

  • Community Member
  • 8,206 posts
  • Real Name:Mark Samios

Posted 25 April 2007, 13:35

View Postchrisgeek, on Apr 25 2007, 01:50 AM, said:

Another dumb question: in the install, you mention configure files (plural). But I only found one configure file that resembled your configure example. Is this right?
the configuration file is used as an example to help setup the .htaccess on the catalog end. And that's a typo (the plural). I changed the document so it should be ok with the new version (v1.04+).