Forums / All Other Contributions/Addons / Simple SEO URL (OLD version) [support thread]

Simple SEO URL (OLD version) [support thread]

Results 1 to 20 of 5,058
22 Jan 2008, 16:47
#1
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Simple SEO URL (OLD version) [support thread]

Version: Alpha 2
Release: un-released
Tested on ZC 1.3.8
Should work on ANY recent ZC version
Goals:
1. Simple SEO URL, create seo url for all ZC pages (unlike other seo packages like Magic SEO)
2. Minimal core file edit (currently need to edit 1 file)
3. Minimal performance penalty

Sample url:
https://www.site.com/checkout_payment.html
http://www.site.com/index/cPath/Pin_Brooch-10/
http://www.site.com/product_info/cPath/Pin_Brooch-10/products_id/Three_row_angel_wing_two_piece_set-837/

Drawbacks:
1. no beautiful url such as:
http://www.site.com/bracelet_1.html (for category link)
2. core file edit (1)


Demo:
http://demo.rubikintegration.com/zencart/
Download:
https://svn.rubikintegration.com/zencart_mods/Simple%20SEO%20URL/
22 Jan 2008, 18:09
#2
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Posts:
1,588
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Just sent you a PM.
22 Jan 2008, 18:28
#3
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Just finished a brief installation instruction file. This should be easy because the edit is minimal.

Email sent. All feedbacks are appreciated so we can improve the mod.

PS: current version does not support "static" links (links that use file other than index.php). I doubt if any people use it tho.
Also current version does not reflect the category/product new names if they are changed. This will be in the next version (after I receive all the feedbacks and bug reports for this current version)
22 Jan 2008, 18:49
#4
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Posts:
1,588
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Looks straight forward. I'll install it and let you know how it goes.

Thanks.
22 Jan 2008, 20:05
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Alpha 2.1 now available with minor code fixes + change it htaccess to make sure links like this work:

http://www.site.com/index/cPath/Pin_Brooch-10/?blah1=blah2

Notice the query at the end? This should not happen but just in case that happens, we got that taken care of.

A question from PM:
Simple SEO doesn't seem to do anything with the GET form?

Yes, because SearchEngines do not submit forms, also I try to make the code simple and efficient.
22 Jan 2008, 20:10
#6
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Posts:
1,588
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Were can I find the new version?
22 Jan 2008, 20:24
#7
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Posts:
893
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Hi,

Just a thought, not sure how you are doing your URL rewriting but it might be worth using $PATH_INFO if you are not already using it. Means that you can have keyworded URLs without using a .htaccess file if mod-rewrite is not enabled. If mod-rewrite is enabled then it means a very simple .htaccess file to give a prettier URL.

Regards,
Christian.
22 Jan 2008, 20:58
#8
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

@CJPinder: the thing is that:
without mod_rewrite a link like this: http://www.site.com/index/cPath/Pin_Brooch-10/ may returns a file not found 404 page.

@jeking: it's just minor bug fix, but if you need I can send it to you. Any problem with the one I sent so far?
22 Jan 2008, 21:13
#9
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Posts:
893
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

yellow1912:

the thing is that:
without mod_rewrite a link like this: http://www.site.com/index/cPath/Pin_Brooch-10/ may returns a file not found 404 page.

If you use a URL like...
http://www.example.com/index.php/index/cPath/Pin_Brooch-10
...then it shouldn't return a 404 and you can use $PATH_INFO to pick up the bit after index.php . Then if mod-rewrite is available use it to tidy the URL up so appears without the index.php in it. Just an idea. It is how Wordpress does it and it seems to work well.

Regards,
Christian.
22 Jan 2008, 21:16
#10
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

That will be a bonus feature in a future release, with that "static" links SEO URL will be available as well. For now mod_rewrite is needed and no support for "static" links ^^.
23 Jan 2008, 00:20
#11
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Alpha 2.2 is now available for download and testing:
https://svn.rubikintegration.com/zencart_mods/Simple%20SEO%20URL/

This version fixed several bugs.

Alpha 2.3 will continue to fix more possible bugs + add support for no mod_rewrite as suggested by CJPinder.

Feedbacks are appreciated.

PS: as of now, Simple Seo Url is still under development and NOT recommended on live site. The more feedbacks and bug reports, the sooner it will be available for use.
23 Jan 2008, 03:29
#12
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Posts:
1,588
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I installed 2.3 on a clean install of Zen 1.3.8a and it's not working. All category and product pages come up blanket. The url displays but there is no page. The url is http://customtowelsunlimited.com/test/

I set the rewrite base in .htaccess, set the SSU folder to 0777, tried to one suggestion in the .htaccess file, still nothing.
23 Jan 2008, 03:44
#13
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

To attempt to show PHP debug errors on-screen, create and upload a new file, like this:
 Filename:  /includes/local/configure.php
 <?php
  define('STRICT_ERROR_REPORTING', true);
?>
 Then try to access your site again. You may see many warning messages on the screen.  
23 Jan 2008, 04:03
#14
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Posts:
1,588
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Okay, I did that and I do get error message. Unfortunately, they don't mean a whole lot to me.
23 Jan 2008, 04:05
#15
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Fatal error: Call to undefined function: str_ireplace() in /home/towel/public_html/test/includes/init_includes/init_ssu.php on line 19


You use an older version of PHP, you can re-download the file includes/init_includes/init_ssu.php from my server and re-upload to your site.
23 Jan 2008, 04:19
#16
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Posts:
1,588
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Yes, I've still got PHP 4. I downloaded/uploaded the file and it's working now. I removed the configure.php file because it was messing up the display.

I've found that when I click on an item, it won't bring up that item. It just reloads the page.
23 Jan 2008, 04:22
#17
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Check your PM.

jeking:

Yes, I've still got PHP 4. I downloaded/uploaded the file and it's working now. I removed the configure.php file because it was messing up the display.

I've found that when I click on an item, it won't bring up that item. It just reloads the page.
23 Jan 2008, 05:26
#18
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

It was a problem that the init class was loaded way later than it should have been. Should be fixed now.

jeking:

Yes, I've still got PHP 4. I downloaded/uploaded the file and it's working now. I removed the configure.php file because it was messing up the display.

I've found that when I click on an item, it won't bring up that item. It just reloads the page.
23 Jan 2008, 05:59
#19
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

I would like to thanks jeking for taking his time and follow the debug process with me. As painful as it is, it will help us a lot to get rid of all bugs before a stable release.

Version Alpha2.2b is now available. Several bugs were addressed:
1. Clean up the parameters
2. Make sure the ssu class is called when it should be.
24 Jan 2008, 02:31
#20
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Simple SEO URL (OLD version) [support thread]

Version 2.2c is now available for testing, this version fixed:
+ Better clean up of product/category names. Remove all non alphanumeric characters, replace by underscore
+ clean up excess underscore

Support for non-modrewrite is now delayed. The main goal of the next version will be 1 click install/uninstall through admin control panel.

https://svn.rubikintegration.com/zencart_mods/Simple%20SEO%20URL/