Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * - 3 votes

Ultimate Seo Urls 5 Pro


482 replies to this topic

#441 PureBlissBathCo

  • Community Member
  • 2 posts
  • Real Name:Conor

Posted 16 June 2011, 06:04

Love this mod, thanks so much for creating it Robert!

I have a quick question about using the USU5 .htaccess code alongside some unrelated code for canonical URLs (removing the "www" from everything). Right now this is what I have:

Options +SymLinksIfOwnerMatch
<IfModule mod_rewrite.c>
  RewriteEngine On

  # Canonical URL
  RewriteCond %{HTTP_HOST} ^www.mywebsite\.com [NC]
  RewriteRule ^(.*)$ http://mywebsite.com/$1 [R=301]

  RewriteBase / 
  RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]
  RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA]
  RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA]
  RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA]
  RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA]
  RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA]
  # Articles contribution
  RewriteRule ^([a-z0-9/-]+)-t-([0-9_]+).html$ articles.php [NC,L,QSA]
  RewriteRule ^([a-z0-9/-]+)-au-([0-9]+).html$ articles.php [NC,L,QSA]
  RewriteRule ^([a-z0-9/-]+)-a-([0-9]+).html$ article_info.php [NC,L,QSA]
  # Information pages
  RewriteRule ^([a-z0-9/-]+)-i-([0-9]+).html$ information.php [NC,L,QSA]
  # Links contribution
  RewriteRule ^([a-z0-9/-]+)-links-([0-9_]+).html$ links.php [NC,L,QSA]
  # Newsdesk contribution
  RewriteRule ^([a-z0-9/-]+)-n-([0-9]+).html$ newsdesk_info.php [NC,L,QSA]
  RewriteRule ^([a-z0-9/-]+)-nc-([0-9]+).html$ newsdesk_index.php [NC,L,QSA]
  RewriteRule ^([a-z0-9/-]+)-nri-([0-9]+).html$ newsdesk_reviews_info.php [NC,L,QSA]
  RewriteRule ^([a-z0-9/-]+)-nra-([0-9]+).html$ newsdesk_reviews_article.php [NC,L,QSA]
</IfModule>

Is this valid code? (Canonical URL bit in the right place with correct flags, won't mess up USU5 in any way?)
It seems to be working fine so far, but I'm in over my head here so I have any number of vague worries. :) Thanks!

Edited by PureBlissBathCo, 16 June 2011, 06:07.


#442 Cheepnis

  • Community Member
  • 92 posts
  • Real Name:Cheepnis
  • Gender:Male

Posted 17 June 2011, 13:00

What is the file usu_cache.db-journal and why does it show up in my \cache_system\sqlite folder? It has zero-length and zero permissions(!) but when it shows up, my store breaks with this error:

Fatal error: Call to a member function fetch() on a non-object in /users/MYDOMAIN.com/htdocs/store/catalog/includes/modules/ultimate_seo_urls5/main/usu5.php on line 308

I wrote about this problem before and in the meantime discovered that this file is what breaks the store (I delete it and everything works again) but I still haven't heard from anybody here about what is the source of this problem. I really cannot allow it to keep happening as it breaks my store.

Any help?

#443 ms35d4

  • Community Member
  • 60 posts
  • Real Name:mir

Posted 21 June 2011, 17:27

Hello Everyone

Thanks for taking time to read this,


I have been using this add on and the KissMT_1.0_r72_RC for while however over last couple of days I have been having major issues trying to install and get the realex payment add on to work, now I am no programmer, but having tried so many different things I was wondering if the issue I am having could be due to me using this add on. if it is then is there anyway of adding an exception to make a call back url work properly the issue is: I have asked this question is the KissMT_1.0_r72_RC support form too, and also in seperate post altogether, but no one seems to have an answer.

I am having alot of issues trying to install the realex redirect add on. Currently in TEST MODE

I downloaded the module from the site,


Follwoed the instructions,
The before_process.php file should be uploaded to the merchants shop (in the same directory as checkout_process.php)

Which is same as index.php so this is where I put that file.

I am using version
Type: OsCommerce 2.2 RC2a


instructions ask to choose and then rename file to realex.php

Install realexmsoscms3 if you are running OSCommerce 2.2 MileStone 3.
Install realexmsoscms2 if you are running OSCommerce 2.2 MileStone 2.

So in the download I renamed the file called
Install realexmsoscms3 if you are running OSCommerce 2.2 MileStone 3


Ok, I edited this file with merchant id and shared secret, when into admin for oscommerce enable the module and added the merchant id and shared secret

I have the module setup as far as I can see. With the files uploaded according to the locations in the download folder.

1. As far as I am awre the return url to provide realex with it http://www.mydomain....ore_process.php

is this correct?


2. Now I am able to go through checkout using test card numbers but get message after card has been accepted and processed
Your transaction has been successful but there was a problem connecting back to the merchant's web site. Please contact the merchant and advise them that you received this error message. Thank you.!


3.If I try and open the before_process.php file using full url in the browser


I see this error on screen.

Realex error
Hashes dont match - response not authenticated

4. Realex provided me with a log

here is parts of it


''_protocol'' => ''HTTP/1.1'',
''_content'' => ''<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>406 Not Acceptable</title>
</head><body>
<h1>Not Acceptable</h1>
<p>An appropriate representation of the requested resource /before_process.php could not be found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>


Realex say that their servers can not connect to your response URL, can you please ensure that this is set up correctly.

Please can someone explain where things are going wrong as this is the second whole day been stuck with this.

If anyone is using ocomemerce and realex redirect add on please get in touch.

Kind Regards

#444 FWR Media

  • Community Member
  • 6,463 posts
  • Real Name:Robert Fisher
  • Gender:Male
  • Location:Stowmarket - Suffolk - UK

Posted 21 June 2011, 18:05

View Postms35d4, on 21 June 2011, 17:27, said:

Hello Everyone

Thanks for taking time to read this,

Try turning off the W3C settings in USU5 but please don't ask for support of other contributions in this support thread.
Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls

KissMT Dynamic SEO Meta & Canonical Header Tags

KissER Error Handling and Debugging

If you found my post useful please click the green + sign to the right

Please only PM me for paid work.


#445 ms35d4

  • Community Member
  • 60 posts
  • Real Name:mir

Posted 21 June 2011, 18:42

Hi Robert

Thank you for your reply,

I already asked realex section, and also the people who uploaded the add ons, almost all of them have not been on for years.

I ended up creating 3 posts as I didn't know what can be causing this issue I am using both
KissMT Dynamic SEO Meta & Canonical Header Tags
and this Ultimate Seo Urls 5 Pro

So posted in both - im very sorry if I have unintentionally annoyed you or anyone else - sincere apologies

I tired your suggestions but still getting the same error.

As the log indicates the file can not be found when it is accessible in browser, thought this add on may be redirecting it or something - i am just clutching at straws having spent last 2 days trying numerous things, to get it to complete the order successfully.

Once again thank you for the suggestion and sorry for any inconvenience.

Regards

#446 Aperol

  • Community Member
  • 124 posts
  • Real Name:Aperol
  • Gender:Male
  • Location:Italy

Posted 04 August 2011, 19:39

hi,
i got a question: after resetted manually the cache of kissMT and Seo Url5 i don't know why google removed the links of all my products website of www.lastchaostore.com ... i mean if i type " last chaos store" or "lastchaostore" all is ok , but if i'm looking for a product like " pillola magica platino pet " nothing will be displayed on google , and i remember that i was on first page at first position...

any solution?
about " Set the number of days to store the cache. " on kissMT what u will suggest me?

#447 acidvertigo

  • Community Member
  • 140 posts
  • Real Name:Luca
  • Gender:Male
  • Location:Roma

Posted 07 August 2011, 16:28

Hello i'm using USUS5 pro but cannot use it in multilanguage mode because i cannot change some configuration on my server (external hosting)

I've noticed that i get a 301 redirect (in non multilanguage mode) on pages in other languages, for example:


http://www.example.com/catalog/product-name-p-10.html (english) redirects 301 to http://www.example.com/catalog/nome-prodotto-p-10.html (italian default language).

The reason is this code in /catalog/includes/modules/ultimate_seo_urls5/main/validator.php

//  If the incoming uri and the newly created uri do not match then we need to 301 redirect to the new.
      if ( Usu_Main::i()->getVar( 'request_compare_in' ) != Usu_Main::i()->getVar( 'request_compare_new' ) ) {
        $this->redirect( $new_url );
      }
    } // end method


if i disable it, I get 200 status code for all the pages in english, but if someone type a invalid url as for example http://www.example.com/catalog/no-p-10.html the scripts does not redirect and return 200 status code and duplicate content.

Can someone help me to chenge the code above to return 200 status code on pages in other languages without lost the useful 301 redirect on duplicate content?

#448 acidvertigo

  • Community Member
  • 140 posts
  • Real Name:Luca
  • Gender:Male
  • Location:Roma

Posted 08 August 2011, 09:06

To explain better:

www.example.com/catalog/nome-prodotto-p-20.html (default language)

returns:

TTP/1.1 200 OK =>
Date => Mon, 08 Aug 2011 09:02:06 GMT
Server => Apache/2.2
X-Powered-By => PHP/5.3.6
Expires => Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma => no-cache
Vary => Accept-Encoding
Connection => close
Content-Type => text/html; charset=iso-8859-1

www.example.com/catalog/product-name-p-20.html (english)

returns:

HTTP/1.1 301 Moved Permanently =>
Date => Mon, 08 Aug 2011 08:59:13 GMT
Server => Apache/2.2
X-Powered-By => PHP/5.3.6
Expires => Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control => no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma => no-cache
Set-Cookie => osCsid=qjn1mpd1jpn41ugsr9e6b5tkg6; path=/catalog/; domain=www.nagrit.com
Location => www.example.com/catalog/nome-prodotto-p-20.html?osCsid=qjn1mpd1jpn41ugsr9e6b5
Vary => Accept-Encoding
Connection => close
Content-Type => text/html

The browser is not redirected it shows the right page www.example.com/catalog/product-name-p-20.html, in firebug it shows status code 200, but googlebot and the other boot will be redirected to the page in the default language.

It's possible to change this behaviour?

#449 velvetpixel

  • Community Member
  • 115 posts
  • Real Name:Cameron

Posted 19 September 2011, 17:27

Thanks for the add-on!

I have a question about modifying the created URLs.

If I have a product called Cool Product in a category called Things my current URL looks like this using SEO URLs:

http://example.com/things-cool-product-p-29.html

How can I make the rewrites look like this:

http://example.com/things-cool-product

#450 Kevin360

  • Community Member
  • 80 posts
  • Real Name:Kevin Brown

Posted 20 October 2011, 03:37

Thanks a ton for this contribution. I just upgraded from an earlier version of SEO URLS. I also have Google SItemap XML installed and noticed that when I ran it all my sitemap urls were ...cPath?i-3 ... or however it does. Not actual product names or category names, just the cPath value... I just installed the included XML sitemap that comes with this contrib, and it's working fine for me, so no worries there.

My question is, I have, in application_top, my main root url link like this
<a href="<?=tep_href_link('index.php')?>">
however, so everything points to www.mydomain.com/ instead of www.mydomain.com/index.php, I had changed the above code to
<a href="<?=tep_href_link('/')?>">
Under the old SEO URLS that took me to www.mydoamin.com/. However now it wants to take me to www.mydomain.com// (double slashes). I've temporarily changed it back to 'index.php'... and I do have a rewrite in my .htaccess that sends all index.php to '/'. I'd just rather all my links point to www.mydomain.com/ any ideas? Am I overlooking something very simple?

#451 Kevin360

  • Community Member
  • 80 posts
  • Real Name:Kevin Brown

Posted 21 October 2011, 16:42

One more question... I have my own custom 404 page, where is the code I need to change so that I use my custom page as opposed to the notfound_404.php that is provided in the contrib?

Thanks

#452 lyonsperf

  • Community Member
  • 265 posts
  • Real Name:Matt
  • Gender:Male
  • Location:CT

Posted 28 October 2011, 12:42

I just upgraded from chemo;s ultimate seo 2.2d. When submitting my sitemaps in xml form to google I am getting the following error
Invalid URL
This is not a valid URL. Please correct it and resubmit.
URL:
[img]https://www.google.com/webmasters/tools/images/url_icon.gif[/img]http://

Parent tag: url
Tag: loc
Problem detected on: Oct 28, 2011

I also installed the xml sitemaps mod in the extras folder.
Any ideas? none of my links are being listed.
If the only tool you have is a hammer, all your problems look like nails

#453 lyonsperf

  • Community Member
  • 265 posts
  • Real Name:Matt
  • Gender:Male
  • Location:CT

Posted 28 October 2011, 22:13

Here are a few lines of the xml sitemap:
<?xml version="1.0" encoding="UTF-8" ?>

- <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">


- <url>


<loc>http://www.protoolzonline.com/product_info.php/tie-rod-ball-joint-pitman-arm/tie-rodpitman-arm-adjusting-tool-set/7802-p-9083</loc>

<lastmod>2011-10-15</lastmod>

<changefreq>weekly</changefreq>

<priority>0.5</priority>

</url>

- <url>


<loc>http://www.protoolzonline.com/product_info.php/tie-rod-ball-joint-pitman-arm/stepped-tie-rod-separator/lis18520-p-9095</loc>

<lastmod>2011-10-15</lastmod>

<changefreq>weekly</changefreq>

<priority>0.5</priority>

</url>

- <url>


<loc>http://www.protoolzonline.com/product_info.php/tie-rod-ball-joint-pitman-arm/stepped-pneumatic-pickle-fork-kit/lis41400-p-9097</loc>

<lastmod>2011-10-15</lastmod>

<changefreq>weekly</changefreq>

<priority>0.5</priority>

</url>
If the only tool you have is a hammer, all your problems look like nails

#454 sunrise99

  • Community Member
  • 139 posts
  • Real Name:David

Posted 26 November 2011, 11:47

Hi,
I install this module on osc22rc2a.
I get the following issue when I select manufature from drop-down menu, but some manufacture are correct. only 1~2 is wrong.


Catchable fatal error: Argument 1 passed to aPage_Modules::linkText() must be an array, null given, called in /html/includes/modules/ultimate_seo_urls5/page_modules/product_info.php on line 170 and defined in /html/includes/modules/ultimate_seo_urls5/abstracts/page_modules.phpon line 338

Would you please help to give some suggestion?

Thanks & Best Regards,
Sunrise

Edited by sunrise99, 26 November 2011, 11:47.


#455 Adamanto75

  • Community Member
  • 70 posts

Posted 19 January 2012, 07:36

does this work is osc 2.3?

#456 geoffreywalton

  • Community Sponsor
  • 7,731 posts
  • Real Name:Geoffrey Walton
  • Gender:Male
  • Location:Norfolk, UK (close to the centre of the universe)

Posted 19 January 2012, 09:00

View PostAdamanto75, on 19 January 2012, 07:36, said:

does this work is osc 2.3?

Yes, if you install the 2.3.1 version.

G
Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

Virus Threat Scanner
My Contributions
Basic install answers.
Click here for Contributions / Add Ons.
UK your site.
Site Move.
Basic design info.

For links mentioned in old answers that are no longer here follow this link Useful Threads.

If this post was useful, click the Like This button over there ======>>>>>.

#457 vakondweb

  • Community Member
  • 19 posts
  • Real Name:Varkondi Laszlo
  • Gender:Male
  • Location:Budapest

Posted 27 January 2012, 10:57

Hi,

This is a great addon, but I cant make it work on subdomain with rewrite.
Any idea?

#458 Adamanto75

  • Community Member
  • 70 posts

Posted 28 January 2012, 04:10

Hello,

I just installed this on a brand new version of osc 2.3.1 and when I go into the admin/configuration/seo URLs 5

It gives me this error on the top of the admin panel

"Warning: call_user_func(tep_reset_cache_data_usu5) [function.call-user-func]: First argument is expected to be a valid callback in/hermes/web08/b2492/moo.mysite/mysite.com/admin/includes/functions/general.php on line1277"


Does anyone know how to fix this?

Thanks

Adamanto75

Edited by Adamanto75, 28 January 2012, 04:16.


#459 Adamanto75

  • Community Member
  • 70 posts

Posted 28 January 2012, 06:13

Actually, Please ignore my last posts, this is the problem I am having.

I'm installing it on a fresh version of osc and I follow the simple instuctions to just upload the "uploads" directory and the "drop on top" directory. After I upload both of them I now can't access my admin it's giving me this error.

Parse error: syntax error, unexpected '.' in /path_to/includes/functions/general.php on line 846

It seems something is wrong with the general.php code when I overwrite this file with the original general.php but the second I upload the usu5 general.php it gives me this error.

Any help would be much appreciated

Thanks

Adamanto75

Edited by Jan Zonjee, 28 January 2012, 08:48.
do not post information on exact paths to file please!


#460 Adamanto75

  • Community Member
  • 70 posts

Posted 29 January 2012, 06:03

Nevermind I fixed it....