Zen Cart Logo
Forums / Search Engines / Ultimate SEO URLs

Ultimate SEO URLs

Views: 125,988

Results 641 to 660 of 1,097
15 Dec 2008, 6:38 PM
#641
yellow1912 avatar

yellow1912

Totally Zenned

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

Ultimate SEO URLs

@tekram:

If you think about it, this is just like you are using Windows 98 here. It may still run fine, no one argues it, but it is not supported by microsoft any more. No one writes application for it, no more update, security patch etc...

25 Dec 2008, 12:09 AM
#642
cntgifts avatar

cntgifts

Totally Zenned

Join Date:
Sep 2005
Posts:
836
Plugin Contributions:
0

Re: Ultimate SEO URLs

I uploaded all the files but the option for it is not displaying in admin

28 Dec 2008, 5:42 PM
#643
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

CnTGifts:

I uploaded all the files but the option for it is not displaying in admin

Few things to check.....

First, close your browser and reload your admin logging back in... Look under the Configuration menu for the SEO urls options menu, if its not there hit [CONTROL] & [F5] to refresh it cleanly.

Second, back over the file upload and re-upload and check the files.

~Melanie

3 Jan 2009, 1:48 AM
#644
equin avatar

equin

New Zenner

Join Date:
Mar 2006
Location:
NJ, USA
Posts:
12
Plugin Contributions:
0

Re: Ultimate SEO URLs

kyrylkov:

Default configuration of Ultimate SEO may damage your site for at least 2 reasons:

  1. it makes it possible to create duplicate URL's for the same content, which people say Google doesn't like

I'm SEO guy and all my customers are on the top of Google with ZenCart driven stores. I use this SEO Urls patch and pretty happy.
Actually, duplicate content is just a notice from Google (in webmaster tools panel) - for most cases. The site must be VERY overstuffed the same content for tens, hundreds of pages to get a red flag from Google.

Now I have a customer who have a huge inventory but all product names are pretty useless for SEO. So I pushed this customer to rename all products for SEO purposes. Of course I started to see a growing list of duplicates in Google's Webmaster Tools panel. So, I've just made a quick hack that works only for "wrongname-p-123.html" (most annoying thing). This is a quick hack (sorry, I'm too busy to make a nice patch for all cases, like for categories, etc):

/includes/classes/seo.url.php:

Just find this function (1187 line):

	function need_redirect() {
		$this->need_redirect = ((preg_match('/main_page=/i', $this->uri)) ? true : false);

and add the following code after $this->need_redirect = ((preg_match('/main_page=/i', $this->uri)) ? true : false); :

		// pg@ check product name from URL and redirect if not equal to real product name to avoid duplicates
		if ( preg_match('/-p-[0-9]/i', $this->uri) && preg_match('/main_page=product_info/i', $this->real_uri) ) {
			$productname_from_url = preg_replace('/-p-[0-9].*/i','',$this->uri);
			$productid_from_url= preg_replace('/.*-p-([0-9]+)\.html/i','$1',$this->uri);
			if ( $this->get_product_name($productid_from_url) != $productname_from_url ) {
				$this->need_redirect = true;
			// repeating procedure from function check_redirect() but for real_uri
			if ($this->is_attribute_string($this->real_uri)) {
			$parsed_url = parse_url($this->real_uri);
			$this->uri_parsed = parse_url($parsed_url['scheme']);
			$this->uri_parsed['query'] = preg_replace('/products_id=([0-9]+)/', 'products_id=$1:' . $parsed_url['path'], $this->uri_parsed['query']);
		} else {
			$this->uri_parsed = parse_url($this->real_uri);
		}
			}
		} // pg@

This code compares product name from URL with real product name and if not equal - initiate 301 redirect to the correct URL.

Let me know if it work for you guys.

Equin 0x

5 Jan 2009, 4:32 PM
#645
thomasharding avatar

thomasharding

Zen Follower

Join Date:
Sep 2007
Location:
Manchester, England
Posts:
168
Plugin Contributions:
0

Re: Ultimate SEO URLs

OK, I give up - I'm stuck. :D

I've followed the instructions to a tee (installed the zen_cart_folder followed by the 1.3.8 specific files) and then merged the htacess with the one I've currently got (need it for ezthumbnails).

Annoyingly, when i click onto a product/category, I get a page not found.

In addition to that, I can't find any new configuration setting in my admin area (configuration > seo url, right?).

Can anyone help? I tend to skim instructions, but I can't have missed anything out. :smartalec:

Thanks!
T

5 Jan 2009, 7:08 PM
#646
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

Rewrite Base

The first line check it correct just / for root and the /directory/ if ZC is in a directory.

The admin utility is in the configuration menu.... IF you don't see it log out, close your browser and relogin to check.

If its still not there check the admin install files again.

~Melanie

6 Jan 2009, 6:28 PM
#648
stevear avatar

stevear

New Zenner

Join Date:
Sep 2008
Posts:
25
Plugin Contributions:
0

Re: Ultimate SEO URLs

im having an issue with my install od ultimate seo

i get this error

Not Found

The requested URL /home/myusername/public_html/index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Here's my htaccess file that im sure is the issue

Options +FollowSymLinks
RewriteEngine On
RewriteBase /home/myusername/public_html

# From Ultimate SEO URLs
RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]

# For Open Operations Info Manager
RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]

# For dreamscape's News & Articles Manager
RewriteRule ^news/?$ index\.php?main_page=news&%{QUERY_STRING} [L]
RewriteRule ^news/rss.xml$ index\.php?main_page=news_rss&%{QUERY_STRING} [L]
RewriteRule ^news/archive/?$ index\.php?main_page=news_archive&%{QUERY_STRING} [L]
RewriteRule ^news/([0-9]{4})-([0-9]{2})-([0-9]{2}).html$ index\.php?main_page=news&date=$1-$2-$3&%{QUERY_STRING} [L]
RewriteRule ^news/archive/([0-9]{4})-([0-9]{2}).html$ index\.php?main_page=news_archive&date=$1-$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+)-comments.html$ index\.php?main_page=news_comments&article_id=$2&%{QUERY_STRING} [L]
RewriteRule ^news/(.*)-a-([0-9]+).html$ index\.php?main_page=news_article&article_id=$2&%{QUERY_STRING} [L]

# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f [NC] 
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
6 Jan 2009, 6:51 PM
#649
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

RewriteBase /home/myusername/public_html

This must be changed to the http path.

RewriteBase /

Cheers,
Melanie

6 Jan 2009, 7:02 PM
#650
stevear avatar

stevear

New Zenner

Join Date:
Sep 2008
Posts:
25
Plugin Contributions:
0

Re: Ultimate SEO URLs

mprough:

RewriteBase /home/myusername/public_html

> 
> ```
RewriteBase /
```Cheers,
> Melanie

thank you so much! :clap:
7 Jan 2009, 11:34 AM
#651
thomasharding avatar

thomasharding

Zen Follower

Join Date:
Sep 2007
Location:
Manchester, England
Posts:
168
Plugin Contributions:
0

Re: Ultimate SEO URLs

mprough:

Rewrite Base

The first line check it correct just / for root and the /directory/ if ZC is in a directory.

The admin utility is in the configuration menu.... IF you don't see it log out, close your browser and relogin to check.

If its still not there check the admin install files again.

~Melanie

I'm looking through those - shouldn't there be a file in the extra boxes folder in order to display it in the menu?

This is really confusing.

8 Jan 2009, 10:32 AM
#652
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: Ultimate SEO URLs

Wonderfull addon....but I have some trouble with a site with SSL. When I disable it....SSL works (https) but when i enable it, the SSL wont work, it stucks on hhtp instead of https

What is the problem?

8 Jan 2009, 12:25 PM
#653
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

Looks like you certificate is expired

https://www.top-cms.nl uses an invalid security certificate.

The certificate expired on 6/25/2008 7:59 PM.

(Error code: sec_error_expired_certificate)

So when enabled you get fresh pages... when not you might be getting cached pgs on your pc... not really working.

~Melanie

8 Jan 2009, 2:43 PM
#654
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: Ultimate SEO URLs

mprough:

Looks like you certificate is expired

So when enabled you get fresh pages... when not you might be getting cached pgs on your pc... not really working.

~Melanie
It's about another domain https://www.nature-galerie.com

8 Jan 2009, 2:52 PM
#655
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

SSL is working... Are you enabling it properly for ZC... Because they are really rather unrelated to the SEO urls.

~Melanie

8 Jan 2009, 3:24 PM
#656
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: Ultimate SEO URLs

mprough:

SSL is working... Are you enabling it properly for ZC... Because they are really rather unrelated to the SEO urls.

~Melanie
It's simple (the problem)....that is a zen-cart shop v1.3.8a installed Ultimate_SEO_URLs_v2.105 with a SSL-certificate.
The SSL in the backend works great. In the front-end also when i disable Ultimate SEO. But when I enable it. It doesn't work.

Go to the login page and you stay on the http://www.nature-galerie.com instead of the https://www.nature-galerie.com

8 Jan 2009, 3:35 PM
#657
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

I am guessing you have not configured it correctly.

The ONLY setting needed to apply SSL to your checkout and account pages is in public_html/includes/configure.php set the following to true.

  // Use secure webserver for checkout procedure?
  define('ENABLE_SSL', 'true');

Also, make sure you haven't incorrectly changed the http & https base url settings in both Zen Cart configuration.php files.

Cheers,
Melanie

8 Jan 2009, 4:36 PM
#658
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: Ultimate SEO URLs

mprough:

I am guessing you have not configured it correctly.

The ONLY setting needed to apply SSL to your checkout and account pages is in public_html/includes/configure.php set the following to true.

// Use secure webserver for checkout procedure?
define('ENABLE_SSL', 'true');

> 
> Cheers,
> Melanie
All done, like I said....when i disable the seo....the https works great
8 Jan 2009, 5:09 PM
#659
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,278
Plugin Contributions:
37

Re: Ultimate SEO URLs

Might contact your webhost and make certain you have cURL support for your SSL compiled them.

~Melanie

8 Jan 2009, 6:09 PM
#660
raimond avatar

raimond

Zen Follower

Join Date:
Jul 2004
Location:
The Netherlands, Wierden
Posts:
423
Plugin Contributions:
0

Re: Ultimate SEO URLs

mprough:

Might contact your webhost and make certain you have cURL support for your SSL compiled them.

~Melanie
Thnx for your help Melanie,

Also done, another domain on the same server works great.:(