Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ULTIMATE Seo Urls 5 - by FWR Media


Recommended Posts

Hi,

Thank you very much for this contribution.

I installed it in a test folder on my site as I am trying to upgrade smoothly to OsCommerce 2.3.1.

I have English and Greek languages installed.

The contribution works perfectly with the english side of my site. When I switch to Greek it still shows only english urls. I have set enable multi language support to true and I have uploaded bm_languages file from the additional uploads folder. I added a greek.php file in character conversion folder.

Is there anything else I have to do?

Thank you in advance,

:)

Link to comment
Share on other sites

Hi,

 

Great contribution. Removed the Header tags Seo and installed the USU5 pro and kissMT and they both are great. I also installed the XML extra optional addon and I am getting the following error once the cron job is finished running.

 

X-Powered-By: PHP/5.2.12
Content-type: text/html


<br />
<b>Fatal error</b>:  Call to a member function retrieveDependencies() on a non-object in <b>/home/thechea6/public_html/includes/modules/ultimate_seo_urls5/uri_modules/osc_experimental.php</b> on line <b>51</b><br />

 

One of the user also had same problem on the page 151 of this topic which can be accessed on url below. I cannot find any answer on that page too regarding this issue. If someone can please help?, it would be greatly appreciated.

 

http://www.oscommerce.com/forums/topic/336702-ultimate-seo-urls-5-by-fwr-media/page__st__3000

Edited by sahilsaid
Link to comment
Share on other sites

Hi Robert

 

I was wondering if the way the links are constructed for foreign languages might have an impact of the way google caches pages?

I have a 4 language site and notice that my cached pages in google have a problem, the pages in languages other than English are all broken as if they didn't fully load. The english pages are fine though.

 

has anyone else seen this happen?

 

any help appreciated.

~ Don't mistake my kindness for weakness ~

Link to comment
Share on other sites

Hey guys, I finally got ULTIMATE Seo Urls 5 PRO working with rewrite enabled. It seems that the URL for prodcuts, in my shop, were changed but other page URLs were not.

 

For Example of URLs that did not change:

 

iPhone Repair Page URL: https://www.irepairworks.com/products.php?cPath=25

- I would like the URL to read https://www.irepairworks.com/iphone-repair

 

OR

 

iPhone 3g Repair Page URL: https://www.irepairworks.com/products.php?cPath=25_28

- I would like the URL to read https://www.irepairworks.com/iphone-3g-repair

 

The individual product URL rewrite has worked though, for example:

 

iPhone 3g Glass Replacement URL: https://www.irepairworks.com/iphone-3g-glass-replacement-digitizer-p-90.html

- is it possible to remove the '-p-90' at the end of the URL??

 

OR

 

iPhone 3g LCD Replacement URL: https://www.irepairworks.com/iphone-3g-lcd-screen-replacement-p-91.html

- is it possible to remove the '-p-91' at the end of the URL??

 

Below is my .htaccess file, I am assuming I need to add more lines of code in the .htaccess but I'm not entirely positive so I figured I would ask first. Any help is appreciated!

 

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 ^([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>

Edited by shah456
Link to comment
Share on other sites

Firstly I’d like to thank you for this great contribution (as well as your other great contributions which I also use).

 

It was ridiculously easy to install with the simple to follow instructions!

 

I had a little trouble getting it to function properly in places at first but that was entirely down to my code being very heavily modified and nothing at all to do with your code which works perfectly straight out of the box.

 

I just wanted to give you some feedback on the sitemap tool really. I know it’s an extra and possibly not that high on your priority list but if you decide to develop it further I have a couple of suggestions.

When running the script on my server it times out whilst writing the categories sitemap (so never even gets to the products sitemap). If it's affecting me then no doubt it will affect others too so maybe it would be possible to add in some code that stops the script before it times out and starts it again where it left off (database backup manager does this I believe).

Also there doesn’t appear to be any consideration for file size in the code. Sitemaps have a limit of 50,000 URLs so any store which has more than 50,000 products (or categories but I think that’s unlikely!) is going to run into a problem there as well.

 

Thanks

Edited by ProdigyMotorsport

Scott

Link to comment
Share on other sites

I just wanted to give you some feedback on the sitemap tool really.

 

Thanks for the kind words and the input.

 

Yes the sitemap had nowhere near the attention to detail as the USU5 PRO script, it was really added as an afterthought.

 

You made good points and I'll take a look at it when I get a chance.

Edited by FWR Media
Link to comment
Share on other sites

Hi

 

First thank you for this fine add-on.

 

I'm having a small problem that when I turn the seo to true my thumbnails are disaperring. I have Magiczommplus installed and I think these 2 have a problem, are there any known problems regarding this, or ideas to a solution.

 

Kind regards

Jesper

Link to comment
Share on other sites

Hi

 

First thank you for this fine add-on.

 

I'm having a small problem that when I turn the seo to true my thumbnails are disaperring. I have Magiczommplus installed and I think these 2 have a problem, are there any known problems regarding this, or ideas to a solution.

 

Kind regards

Jesper

 

USU5 produces URIs nothing more. Sometimes contributions are coded in such a way that they either don't use the tep_href_link() wrapper correctly or perhaps are hardcoded to only except the expected URIs delivered by osCommerce.

 

USU5 was coded to deliver a valid URI and expects the input into tep_href_link() to conform with the osCommerce standard.

Link to comment
Share on other sites

USU5 produces URIs nothing more. Sometimes contributions are coded in such a way that they either don't use the tep_href_link() wrapper correctly or perhaps are hardcoded to only except the expected URIs delivered by osCommerce.

 

USU5 was coded to deliver a valid URI and expects the input into tep_href_link() to conform with the osCommerce standard.

 

Thanks for the reply, being that i'm a php newbie I dont quiet understand the answer. I will hear the provider if he knows what to do.

 

Kind regards

Jesper

Link to comment
Share on other sites

Hi Robert

 

sorry to insist but this issue seems to be important:

 

the multilanguage url's interfere badly with the Google cache, so the cached pages are text only.

The source code of the google cache says:

<base href="h t t p://w w w.mysite.com/index.php/fr">

but the actual french page's source code says:

<base href="h t t p://w w w.mysite.com/" /> 

 

so the result is that the cached page's links to images, css, etc all have the wrong paths and therefore don't load.

 

If you need a link to my actual cached page, please let me know.

 

If you could advise me on this problem I'd be very grateful.

Edited by Biancoblu

~ Don't mistake my kindness for weakness ~

Link to comment
Share on other sites

Hey mate!!

 

Thanks for great addon!!

 

I'm getting an error : Parse error: parse error, unexpected T_OBJECT_OPERATOR in W:\www\GoodsDirect2U\includes\application_top.php on line 319

 

And this one when i try to get to admin: Parse error: parse error, unexpected T_OBJECT_OPERATOR in W:\www\GoodsDirect2U\spec\includes\functions\general.php on line 1503

 

Any soultions for this? I've tryed this 3 times now, restoring the orginal files. (i've also tryed with the files you provided but I got another error)

 

Please help becuase I Really Really Really want this addon before I start doing seo work :)

 

I've only added is Security Pro 2.0 ( r7 )

 

Using ver: v2.3.1

 

Cheers in advance,

 

Jonathan.

Link to comment
Share on other sites

Sorry for double post but top make it easier

 

319 is the frist line of code in this block.

 

 

/**

* ULTIMATE Seo Urls 5 PRO by FWR Media

*/

Usu_Main::i()->setVar( 'languages_id', $languages_id )

->setVar( 'request_type', $request_type )

->setVar( 'session_started', $session_started )

->setVar( 'sid', $SID )

->setVar( 'language', $language )

->setVar( 'filename', $PHP_SELF )

->initiate( ( isset( $lng ) && ( $lng instanceof language ) ) ? $lng : array(), $languages_id, $language );

Link to comment
Share on other sites

Further apologize for the triple post but there is no edit button after a certain time period,

 

I decided to install on my live beta site, too see if it would work,

 

the index page works and so does the admin

 

the urls have changed to I.E-

 

http://www.mysite.co.nz/beta/index.php/greenhouses-c-3?osCsid=d20e93a250faeff5b05aa891648463e7'>http://www.mysite.co.nz/beta/index.php/greenhouses-c-3?osCsid=d20e93a250faeff5b05aa891648463e7 on FF

and http://www.mysite.co.nz/beta/index.php/greenhouses-c-3 on IE

 

but when I click on them they wont load.

 

Question: Is there a database install? I'm guessing there must be.. but I can't find any information on where the files are? or which url I go to to activate it?

 

Also in admin I can't see the SEO URL config - again i'm assume this is because I havn't installed anything to the database...

Link to comment
Share on other sites

Hello.

 

I use this contribution with KissER Error Handling and Debugging.

 

I selected sqlite as cache system.

 

When I debugg to see query executed I get on every page

 

Number: 1

Time: 0.0001 Seconds.

Query: SELECT information_title FROM information WHERE information_id='10' AND language_id='1' LIMIT 1

 

(in header there is a link tep_href_link(FILENAME_INFORMATION, 'info_id=10')) but this link should be cached isn't it?

Link to comment
Share on other sites

 

(in header there is a link tep_href_link(FILENAME_INFORMATION, 'info_id=10')) but this link should be cached isn't it?

 

Not necessarily. USU5 PRO caches the links on a page on first page load, if new links are introduced to that page ( e.g. perhaps a box that loads random products ) then they will not be cached.

 

This system was adopted to stop the cache size increasing exponentially.

Link to comment
Share on other sites

Hi Robert

 

sorry to insist but this issue seems to be important:

 

the multilanguage url's interfere badly with the Google cache, so the cached pages are text only.

The source code of the google cache says:

<base href="h t t p://w w w.mysite.com/index.php/fr">

but the actual french page's source code says:

<base href="h t t p://w w w.mysite.com/" /> 

 

so the result is that the cached page's links to images, css, etc all have the wrong paths and therefore don't load.

 

If you need a link to my actual cached page, please let me know.

 

If you could advise me on this problem I'd be very grateful.

 

 

Sorry to be a bore again, but I searched and searched couldn't find a reason as to why Google caches my pages the wrong way, based on the wrong base href code?

 

Could you shed some light please Robert?

~ Don't mistake my kindness for weakness ~

Link to comment
Share on other sites

Question: Is there a database install? I'm guessing there must be.. but I can't find any information on where the files are? or which url I go to to activate it?

 

Also in admin I can't see the SEO URL config - again i'm assume this is because I havn't installed anything to the database...

Answer: No database install required.

Consult the quite excellent documentation in the package!

If you don't see the entry 'Seo Urls 5' at the bottom of 'configuration' section in admin, you must have skipped something during the installation procedure.

Consult the quite excellent documentation in the package!

 

The weak point of the documentation is the description of .htaccess and its how and why.

Rewrite rules are declared in .htaccess -file. Different content of .htaccess -> different rewrites.

 

Did you use the .htaccess from the package?

Link to comment
Share on other sites

the multilanguage url's interfere badly with the Google cache, so the cached pages are text only.

The source code of the google cache says:

<base href="h t t p://w w w.mysite.com/index.php/fr">

 

but the actual french page's source code says:

<base href="h t t p://w w w.mysite.com/" /> 

 

Sorry to be a bore again, but I searched and searched couldn't find a reason as to why Google caches my pages the wrong way, based on the wrong base href code?

 

Could you shed some light please Robert?

Consult the quite excellent documentation in the package!

Changing the file .htaccess is required to correct the rewrite base.

 

The weak point of the documentation is the description of .htaccess and its how and why.

Rewrite rules are declared in .htaccess -file.

Different content of .htaccess -> different rewrites.

Link to comment
Share on other sites

Answer: No database install required.

Consult the quite excellent documentation in the package!

If you don't see the entry 'Seo Urls 5' at the bottom of 'configuration' section in admin, you must have skipped something during the installation procedure.

Consult the quite excellent documentation in the package!

 

The weak point of the documentation is the description of .htaccess and its how and why.

Rewrite rules are declared in .htaccess -file. Different content of .htaccess -> different rewrites.

 

Did you use the .htaccess from the package?

Hi Denkster,

 

I highly appreciate your response!!!

 

I beg to differ though, I have used both the Drop on top version and my own personal edited version ( which I have gone through and done the edits 3 times now)

 

Furthermore I have looked over 100 pages off this topic and can only find one other person which was helped via pm...

 

My admin folder is called Spec but I don't believe this should make a difference as I have changed the config file...

 

Yes I used the .htaccess file made by FRW and changed the Root Rewrite as instructed.

 

I've spent hours on this now and really haven’t achieved anything for a simple 5 minute Job, I seriously don't understand where I’ve gone wrong,

 

Please anyone who can help, I'm dying to get this too work!!

 

Cheers,

 

Jonathan S.

Link to comment
Share on other sites

Consult the quite excellent documentation in the package!

Changing the file .htaccess is required to correct the rewrite base.

 

 

 

 

Thanks for the info, btw are you supporting this addon in place of FWRMedia now?

 

To get back to your point, my site is accessed as h t tp://w w w.mysite.com therefore rewrite rule is = RewriteBase / which is correct.

 

Furthermore, you didn't quite get what I said:

 

it is ONLY the Google cache that sees the page differently, ONLY the Google cache!

 

This is my actual french index

 

and this is its cached version.

~ Don't mistake my kindness for weakness ~

Link to comment
Share on other sites

Hey guys, I finally got ULTIMATE Seo Urls 5 PRO working with rewrite enabled. It seems that the URL for the individual prodcuts, in my shop, were changed but other page URLs were not.

 

For Example of URLs that did not change:

 

iPhone Repair Page URL: https://www.irepairworks.com/products.php?cPath=25

- I would like the URL to read https://www.irepairworks.com/iphone-repair

 

OR

 

iPhone 3g Repair Page URL: https://www.irepairworks.com/iphone-3g-repair

- I would like the URL to read https://www.irepairw...phone-3g-repair

 

The individual product URL rewrite has worked though, for example:

 

iPhone 3g Glass Replacement URL: https://www.irepairworks.com/iphone-3g-glass-replacement-digitizer-p-90.html

Link to comment
Share on other sites

Hey guys, I finally got ULTIMATE Seo Urls 5 PRO working with rewrite enabled. It seems that the URL for the individual prodcuts, in my shop, were changed but other page URLs were not.

 

For Example of URLs that did not change:

 

iPhone Repair Page URL: https://www.irepairw...ts.php?cPath=25

- I would like the URL to read https://www.irepairw...m/iphone-repair

 

OR

 

iPhone 3g Repair Page URL: https://www.irepairworks.com/iphone-3g-repair

- I would like the URL to read https://www.irepairw...phone-3g-repair

 

The individual product URL rewrite has worked though, for example:

 

iPhone 3g Glass Replacement URL: https://www.irepairw...tizer-p-90.html

 

products.php is bespoke code and does not exist in osCommerce .. therefore it cannot work.

Link to comment
Share on other sites

 

 

I've spent hours on this now and really haven’t achieved anything for a simple 5 minute Job, I seriously don't understand where I’ve gone wrong,

 

Please anyone who can help, I'm dying to get this too work!!

 

Cheers,

 

Jonathan S.

 

 

Hi Jonathan

 

first of all I don't have the pretention of being able to sort out your problem, as you can see I too have issues with this and obviously can't find a solution, but reading your posts I can say that yes there should be tables installed in the database, namely "SEO urls 5" into "configuration group", which would give you a link to the configuration of this addon within your shop's admin. This should have been installed automatically by uploading the package to your server and by making the changes to the required files. The parts relating to the admin are described in points 7 and 8 of the documentation.

What I would do in your place is wipe out the entire addon and start over, make sure the WHOLE uploads directory in the package has been uploaded to the server, and really go through the documentation step by step, make sure you read the explanations on .htaccess, and also, depending on your needs, check the "extras" and "additional_uploads" directories in the package.

Sorry I can't be of more help....I hope you manage to solve your issues, good luck! :thumbsup:

~ Don't mistake my kindness for weakness ~

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...