Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 9 votes

ULTIMATE Seo Urls 5 - by FWR Media


3594 replies to this topic

#3581 zipicip

  • Community Member
  • 54 posts
  • Real Name:Zip

Posted 01 February 2012, 06:38

Hello.

I have a question .....

ultimate_seo_urls5/includes/usu_general_functions

This is the original function

  function usu_cleanse( $value ) {
	    return preg_replace( '@[^a-z0-9_]@i', '', $value );
  }

I need [] because I use query array like gender[]=male&gender[]=female
And also I need "-" character because for example http://www.domain.com/product_info.php?products_id=6770&utm_campain=zz-cc it redirect to
http://www.domain.com/products-name-p-6770.html?utm_campain=zzcc and it removes the - character from the query

It is safe to change function to?

  function usu_cleanse( $value ) {
    return preg_replace( '@[^a-z0-9_ \%\+\[\]-]@i', '', $value );
  }

I added [], -

#3582 OSC_FREAK

  • Community Member
  • 29 posts
  • Real Name:osc_freak
  • Gender:Male
  • Location:Netherlands

Posted 01 February 2012, 13:51

I use ULTIMATE Seo Urls 5 several years now and i want to know if it's somehow possible to exclude/hide the products_id number in the URL? I've noticed that alot of urls found on google are linked to other product pages after updating/uploading products.

#3583 bassmaga

  • Community Member
  • 23 posts
  • Real Name:Kamil
  • Gender:Male
  • Location:Poland

Posted 01 February 2012, 21:17

View PostFWR Media, on 06 March 2011, 06:48, said:

Just to confirm for other users.

There was no bug in USU5 PRO, in this case the users includes/configure.php file was wrong.

DIR_FS_CATALOG must contain the full path to the root of the shop installation.

Hi,

I have error
strpos(): Empty delimiter in /raid0/www/.../catalog/includes/modules/ultimate_seo_urls5/main/bootstrap.php on line 121

DIR_FS_CATALOG contain the full path to the root

any solutions please

#3584 OSC_FREAK

  • Community Member
  • 29 posts
  • Real Name:osc_freak
  • Gender:Male
  • Location:Netherlands

Posted 02 February 2012, 02:00

I've upgraded ULTIMATE Seo Urls 5 to Ultimate Seo Urls 5 PRO r205 now my website went blank. I've changed all coding back to ULTIMATE Seo Urls 5 and reuploaded the ultimate_seo_urls5 file: still blank: now what to do?

Edited by OSC_FREAK, 02 February 2012, 02:04.


#3585 Jeff Swenson

  • Community Member
  • 3 posts

Posted 06 February 2012, 16:30

hey there, i am having some issues, i could use some help

having issues with getting all my links to rewrite.
could i get some assistance?

i have it partially working on my main live site, but the catagories are not rewriting: https://www.irepairworks.com/products.php?cPath=25_29
products are working : https://www.irepairworks.com/iphone-3gs-diagnostic-service-p-94.html

here is following .httaccess:
------------------------------------------------

Options +FollowSymLinks

<IfModule mod_rewrite.c>



RewriteEngine on



RewriteCond %{HTTP_HOST} ^irepairworks\.com [NC]

RewriteRule ^(.*)$ http://www.irepairworks.com/$1 [R=301,L]



RewriteCond %{HTTPS} off

RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]





# RewriteBase instructions

# Change RewriteBase dependent on how your shop is accessed as below.

# http://www.mysite.com = RewriteBase /

# http://www.mysite.com/catalog/ = RewriteBase /catalog/

# http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/



# Change RewriteBase using the instructions above

RewriteBase /

RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]

RewriteRule ^iPhone-3g-Repair\.html$ /products.php?cPath=25_28 [L]
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>

#3586 geoffreywalton

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

Posted 07 February 2012, 21:33

Hi

Just did a fresh install and added modular SEO header and this contribution.

Works fine except on products containing '®' (registered in case it snafus)

For example

Fat Grabbers® (180 caps) NEW SIZE!

URL generated ends

/catalog/product_info.php/fat-grabbers®-180-caps-new-size-p-158

and get this error message

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

Replace non alpa numerics is set to true.

If I add a char conversion I get

/catalog/product_info.php/fat-grabbersÂr-180-caps-new-size-p-158

Any thought on what can be causeing this?

(and how to resolve it too!!)

Thanks

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 ======>>>>>.

#3587 consolepro

  • Community Member
  • 3 posts
  • Real Name:Loek

Posted Yesterday, 08:56

Hello.
To improve my RC2A site SEO ranking I've recently upgraded from old chemo's v21da_1_2 to the new USU5 r205 , but some function is (still) not working:
  • When I manually enter a url for an item that is not active anymore it still displays the "product not found" page (with a normal HTTP/1.1 200 OK instead of a 404 error. Is this normal? Should I want a 404 page here? If yes: how can I make this to work?
  • Im using the Multi Language system now so my default language (Dutch) is normal / url and the English is /en/ , but google still has many ?language=en urls in its system, is it smart to to 301 the ?language=en to the /en/ urls? If so: how can I make this to work?


#3588 mamegaga

  • Community Member
  • 16 posts
  • Real Name:davy

Posted Yesterday, 09:29

Hello All!

I updated my OSC2.1.3 in encoding UTF8 (strpos-> mb_strpos, substr-> mb_substr, mb_strlen -> mb_mb_strlen etc..)

It works but I have this message in the forehead frontoffice and backoffice, I cannot write any more on the cache:

Warning: SQLiteDatabase::query() [sqlitedatabase.query]: attempt to write a readonly database in /home/mysite.com/public_html/catalog/includes/modules/ultimate_seo_urls5/cache_system/sqlite.php on line 161

I put well CHMOD 755 and 777 on directory:

catalog/includes/ultimate_seo_urls5/cache_system/cache/
catalog/includes/ultimate_seo_urls5/cache_system/sqlite/

but it changes nothing there, I can use functions: mb_strpos, mb_substr, mb_strlen???

Thank you ! ^_^

Edited by mamegaga, Yesterday, 09:30.


#3589 consolepro

  • Community Member
  • 3 posts
  • Real Name:Loek

Posted Yesterday, 10:07

I think I already managed to answer my 2) question, by adding to the .htaccess directly below rewritebase:
RewriteCond %{QUERY_STRING} language=en
RewriteRule ^(.*)$ /en/$1? [NC,R=301]
Now remains the 404 issue, would be glad if anyone could help.

Edited by consolepro, Yesterday, 10:12.


#3590 mamegaga

  • Community Member
  • 16 posts
  • Real Name:davy

Posted Yesterday, 10:08

Hello again,

I have another error message in my frontoffice:

Warning: SQLiteDatabase::query() [sqlitedatabase.query]: attempt to write a readonly database in /home/mysite.com/public_html/catalog/includes/modules/ultimate_seo_urls5/cache_system/sqlite.php on line 130


The line 130 is:

self::$db->query( $query );

:wacko: thank you

Edited by mamegaga, Yesterday, 10:19.


#3591 mamegaga

  • Community Member
  • 16 posts
  • Real Name:davy

Posted Yesterday, 10:24

View Postconsolepro, on 09 February 2012, 10:07, said:

I think I already managed to answer my 2) question, by adding to the .htaccess directly below rewritebase:
RewriteCond %{QUERY_STRING} language=en
RewriteRule ^(.*)$ /en/$1? [NC,R=301]
Now remains the 404 issue, would be glad if anyone could help.

Thank you for your help, I tried but, it does not work, I always have my message of error:


In front Office:

Warning: SQLiteDatabase::query() [sqlitedatabase.query]: attempt to write a readonly database in /home/mysite.com/public_html/catalog/includes/modules/ultimate_seo_urls5/cache_system/sqlite.php on line 130

Line 130:
self::$db->query( $query );

In Backoffice:
Warning: SQLiteDatabase::query() [sqlitedatabase.query]: attempt to write a readonly database in /home/mysite.com/public_html/catalog/includes/modules/ultimate_seo_urls5/cache_system/sqlite.php on line 161

Line 161 :
self::$db->query( 'DELETE FROM usu_cache' );

It is a problem of writing. :unsure:

#3592 consolepro

  • Community Member
  • 3 posts
  • Real Name:Loek

Posted Yesterday, 10:36

View Postmamegaga, on 09 February 2012, 10:24, said:

Thank you for your help, I tried but, it does not work

I was not helping you. I was unable to edit my post so I answered my own question, this solution you quote has nothing to do with your question.

#3593 geoffreywalton

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

Posted Yesterday, 11:41

View Postgeoffreywalton, on 07 February 2012, 21:33, said:

Hi

Just did a fresh install and added modular SEO header and this contribution.

Works fine except on products containing '®' (registered in case it snafus)

For example

Fat Grabbers® (180 caps) NEW SIZE!

URL generated ends

/catalog/product_info.php/fat-grabbers®-180-caps-new-size-p-158

and get this error message

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

Replace non alpa numerics is set to true.

If I add a char conversion I get

/catalog/product_info.php/fat-grabbersÂr-180-caps-new-size-p-158

Any thought on what can be causeing this?

(and how to resolve it too!!)

Thanks

G

SOLUTION

Put this in character_conversion.php

$char_convert = array( '®' => 'R', 'Â' => 'R');

HTH

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 ======>>>>>.

#3594 mamegaga

  • Community Member
  • 16 posts
  • Real Name:davy

Posted Yesterday, 11:53

Hello again,

I found!!!!

It was necessary to put the directory:

catalog/includes/ultimate_seo_urls5/cache_system/sqlite/

in CHMOD 777

I had of the put it in 755 :'( Sorry :blush: :blush: :blush: :blush:

Edited by mamegaga, Yesterday, 11:58.


#3595 orchidist

  • Community Member
  • 1 posts
  • Real Name:George Barnes

Posted Yesterday, 15:03

Hi, I am also having a problem with Ultimate SEO and oscommerce 2.3

I have used the old chemo seo on 2.2 and it works fine, the problem I am having is that I get error 500 messages, when trying to open catalog/index

If I use a clean applications_top the error ( and of course SEO ) vanishes.

Anyoone else had this problem.