Re: Chemo's Ultimate URL's
Quote:
Originally Posted by
high2K
Are there details of these issues and any workarounds that you could point me to?
The client concerned want seo-friendly URLs, but I'm reluctant to add this cont. to her site if it's going to mess things up.
I really wouldn't add this to a live site. I know this is a *beta* but this mod is currently less usable than the earlier version. You could be pointed to issues, but many of them do not seem to have workarounds, and dreamscape doesn't seem to be all that motivated to get there. Just my .02.
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by
chris20492002
hi what is the latest version of the SEO mod and where can I get it?
Did this ever get answered? I can't find it. The one in the repsitory is for 1.3.6
Re: Chemo's Ultimate URL's
The SEO Urls are working fine with the main site however, i get this error on the admin page when updating product info..
"Warning: main(includes/reset_seo_cache.php) [function.main]: failed to open stream: No such file or directory in"
Any ideas? Thanks.
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by
high2K
Are there details of these issues and any workarounds that you could point me to?
The client concerned want seo-friendly URLs, but I'm reluctant to add this cont. to her site if it's going to mess things up.
There is a url for the bug site in the guide or you can search this thread or read from about middle forward. All the information is on this thread.
Re: Chemo's Ultimate URL's
Putting aside the BETA is there a version which works effectivley with 1.3.7?
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by
adamdowney
Putting aside the BETA is there a version which works effectivley with 1.3.7?
I've used 2.103 with zencart 1.3.7, and made any files changes needed for zen cart updates (don't remember how many there were, or any specifics). It worked, but "effectively" is quite a relative term. But it worked much better than this BETA, at least for me.
Re: Chemo's Ultimate URL's
How do I completely remove the new beta version from my test and live site? I removed all the files for the beta version from my test site, but I still see it in the Admin section. Any help will be appreciated.
Re: Chemo's Ultimate URL's
Quote:
Originally Posted by
ctcentralinfo
How do I completely remove the new beta version from my test and live site? I removed all the files for the beta version from my test site, but I still see it in the Admin section. Any help will be appreciated.
To safely remove this mod (BETA 3.0) from your site do the following:
1. Turn off SEO URL on your admin side.
2. Replace the changes made to your /includes/functions/html_output.php (you can simply override this file if with Zen Cart original if you don't have another mod that has modified it.
3. Remove all the files uploaded during your install that you no longer need.
4. Remove the configuration entry from your database.
5. Enter a new redirect rule for the search engines in your .htaccess to send 301 redirect.
IF you use blank default extension use this .htaccess
Code:
RewriteEngine On
RewriteBase /
# Remove Ultimate Seo Urls version 3.0
RewriteRule ^(.*)-p-(.*)$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)-c-(.*)$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)-m-([0-9]+)$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)-pi-([0-9]+)$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)-pr-([0-9]+)$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)-pri-([0-9]+)$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)-prw-([0-9]+)$ index\.php?main_page=product_reviews_write&products_id=$2&%{QUERY_STRING} [L,R=301]
I am not sure what to do for the rewrite for the other pages when default extension is blank.
Here is the .htaccess if default extension is .html
Code:
RewriteEngine On
RewriteBase /
# Remove Ultimate Seo Urls version 2.1
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [R=301,L]
RewriteRule ^(.*)-prw-([0-9]+).html$ index\.php?main_page=product_reviews_write&products_id=$2&%{QUERY_STRING} [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L,R=301]
Notice I was too lazy to change [L,R=301] to [R=301,L] The truth is it really doesn't matter.
Also, keep in mind that depending on your scenario you may need to do things different especially is you installed previous version with .html extension but the beta version with blank extension.
Re: Chemo's Ultimate URL's
BTW, I noticed Dreamscape was just online so please correct my post above if that's not correct. It works for but may not be the most efficient/right way to do it.
Some are of the opinion that you need RewriteCond %{REQUEST_FILENAME} !-f before each rewrite rule. I am not using it and everything works fine so if someone can explain the difference that would be great.
Re: Chemo's Ultimate URL's
I am trying to figure out why Seo Urls 3.0.0-beta1 is still showing up in the configuration section or admin? I looked at both Seo Urls 3.0.0-beta1 and ultimate SEO url just to make sure I removed everything but I still get that section showing with:
Quote:
Warning: call_user_func(seo_display_plugins) [function.call-user-func]: First argument is expected to be a valid callback in /home/admin/includes/functions/general.php on line 1538
Warning: call_user_func(seo_display_char_plugins) [function.call-user-func]: First argument is expected to be a valid callback in /home/admin/includes/functions/general.php on line 1538