Jump to content
Latest News: (loading..)
FWR Media

ULTIMATE Seo Urls 5 - by FWR Media

Recommended Posts

I currently have no multi language osCommerce to use in order to attempt to replicate this.

 

Could you send your own DB please to me? if so PM me your email address.

 

I can't share my DB, sorry. But it should be easy to replicate on a stock OSC with two languages set up and a few dummy products with a different name for each language.

Share this post


Link to post
Share on other sites

Since I am using the multilanguage option, I would like to automatically remove the "language=XX" parameter from all URLs. If we use an old, pre-usu5 URL with the language parameter to access the site, the new, redirected URL shouldn't include the "language" parameter, as it is no longer used and redundant.

 

How do I change this?

 

Example:

 

This old URL from Google's index:

http://www.example.com/product_info.php/products_id/1234/language/de

 

redirects to this:

http://www.example.com/de/my-category/my-product-p-1234.html?language=de

 

The "?language=de" part should not be carried over from the old URL.

Share this post


Link to post
Share on other sites

I installed this about 3 years ago and to be perfectly honest I have no idea if it is actually working or not. I am not sure if there were bugs at that time but one thing that I know that is defintely not working and is my main concern, is for my website, i.e. www.nontando.com when you select one of my categories, lets say masks it displays the url as

http://www.nontando.com/index.php/masks-c-29

 

where based on my config settings (see below) it should not be displaying the index.php

Ideally all I want for SEO purposes is just: www.nontando.com/masks

Anyway, I dotn know if this the problem but the config settings has it as "mysite". I have no idea how I can reset/change this to nontando.com - defintely cannot do it thru config?

Below is my current settings as appearing on config ...

 

ANy guidance will be much appreciated

Gary

 

 

 

Enable SEO URLs 5? true

Enable the cache? true

Enable multi language support? false

Output W3C valid URLs? true

Select your chosen cache system? mysql

Set the number of days to store the cache. 7

Choose the uri format standard

Choose how your product link text is made up p

Filter Short Words 3

Add category parent to beginning of category uris? false

Remove all non-alphanumeric characters? false

Add cPath to product URLs? false

Enter special character conversions. (Better to use the file

Turn performance reporting on true/false. false

Turn variable reporting on true/false. false

Force www.mysite.com/ when www.mysite.com/index.php true

Reset USU5 Cache

Edited by bksbeat

Share this post


Link to post
Share on other sites

Okay had someone take a look at my issue...here is his comments....

Initial Investigation:

Site urls are appearing http://www.nontando.com/index.php/beadwork-c-54 because "Choose the uri format" to "Standard" in Seo Urls 5 configuration. To remove index.php from url "Choose the uri format" should be set to "rewrite".

I tried to do but gives 404 error on front end.

Also checked htaccess and found no rules has been defined.

Please ask your developer who installed the contribution to add respective htaccess changes.

I found your store is on production mode and there are orders coming.

Changing anything in htaccess can might down the site.

 

Can someone that knows this contr. give me an idea why resetting it to "rewrite" will cause a 404 error?

Share this post


Link to post
Share on other sites

@@bksbeat

 

USU5 has install and operation instructions, if you read them all will become clear.

Share this post


Link to post
Share on other sites

This is what my root htaccess file looks like now.....

 


# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
 <IfDefine SSL>
   SetEnvIf User-Agent ".*MSIE.*" \
            nokeepalive ssl-unclean-shutdown \
            downgrade-1.0 force-response-1.0
 </IfDefine>
</IfModule>



# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter
#
# AcceptPathInfo On

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
#
#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
#  php_value register_globals 1
#</IfModule>

 

 

this is what I am recommended to inset as per the contribution (or partly thereof)

 

# If you are getting errors you may need to comment this out like ..
# Options +FollowSymLinks
Options +SymLinksIfOwnerMatch
<IfModule mod_rewrite.c>
 RewriteEngine On
 # 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>

 

 

This is how I would like my shop to be accessed.

 

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

 

 

At this moment, if I take the recommended htacess code and insert it in and ftp it across as soon as I change my config settings for uri format to rewrite

I get an error and forced to remove the code that I have added to htacess.

 

Hence, if someone can just tell me, based on what i am trying to do, what code exactly am I suppose to add to htaccess.

 

Thanks, Gary

Edited by bksbeat

Share this post


Link to post
Share on other sites

@@bksbeat

 

Sounds like the server does not have mod_rewrite loaded.

Share this post


Link to post
Share on other sites

Since I am using the multilanguage option, I would like to automatically remove the "language=XX" parameter from all URLs. If we use an old, pre-usu5 URL with the language parameter to access the site, the new, redirected URL shouldn't include the "language" parameter, as it is no longer used and redundant.

 

How do I change this?

 

Example:

 

This old URL from Google's index:

http://www.example.com/product_info.php/products_id/1234/language/de

 

redirects to this:

http://www.example.com/de/my-category/my-product-p-1234.html?language=de

 

The "?language=de" part should not be carried over from the old URL.

 

Any idea how this could be done?

Share this post


Link to post
Share on other sites

Robert,

 

Just spoke to my web hosting company. They did not have a clue if mod_rewrite was loaded?

I dont know....Cannot say I did not try here!

Share this post


Link to post
Share on other sites

@@bksbeat

 

It's their job to know.

 

I can't know your server settings, all I can say is that if you install USU5 correctly, as per the instructions then it will work.

 

<?php
phpinfo();

 

Saved as a file will show you if mod_rewrite is loaded.

Share this post


Link to post
Share on other sites

Any idea how this could be done?

 

USU is redirecting correctly, you would need to make some code modifications.

Share this post


Link to post
Share on other sites

Thanks Robert - I appreciate your support and patience.

Between my hosting company and Oscommerce, it has become too frustrating for me.

I dont how to resolve this. I have shared with you my htaccess file and anything I seemed to add to this file, causes an error. I dont know enough about server settings, etc, and what is required here.

 

I am planning to recreate my website using weebly - i know a few others that have moved across and they are all extremely happy

Share this post


Link to post
Share on other sites

Sorry if this has been answered but I can't find it.

I just installed this to an exsiting site and it works great except one thing. I now don't have any of my bottons and the top shows

HEADER_TITLE_TOP » HEADER_TITLE_CATALOG » Candles » Scented Jars » 13799

It looks like there is something wrong in the def's but can't find where. They were fine befor the install.

Check www.a1worldofgifts.com out and you will see what I mean.

Edited by crwhite57

Share this post


Link to post
Share on other sites

Sorry if this has been answered but I can't find it.

I just installed this to an exsiting site and it works great except one thing. I now don't have any of my bottons and the top shows

HEADER_TITLE_TOP » HEADER_TITLE_CATALOG » Candles » Scented Jars » 13799

It looks like there is something wrong in the def's but can't find where. They were fine befor the install.

Check www.a1worldofgifts.com out and you will see what I mean.

 

This is not related to USU5.

 

Most of these defines are in the language files ( like TEXT_GREETING_GUEST is includes/languages/[my_language].php )

 

The ones at the top relate to the header tag script.

Share this post


Link to post
Share on other sites

Hi

The contribution is great, I just wanted to remove the .php extension from custom information pages such as shipping.php or about_us.php.

I tried adding this to the .htaccess

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

 

but didn't work, @@FWR Media is it possible to remove the .php extension is osc?, i have read how to do it on a website but the methods didn't work for my oscommerce site.

Edited by al3ks

Find this post helpful? Click the 'Like this' button. :)

Share this post


Link to post
Share on other sites

This thread is for USU5 support and your question is outside of that, really for the general forums.

 

Try something like: -

 

RewriteRule ^shipping$ shipping.php [NC,L,QSA]

 

or multiples: -

 

RewriteRule ^(account|contact|privacy|shipping)$ $1.php [NC,L,QSA]

Edited by FWR Media

Share this post


Link to post
Share on other sites

sorry for posting in the wrong forum.

 

I tried the two examples but they didn't work, I have made a thread in general forums.

Thanks.

Edited by al3ks

Find this post helpful? Click the 'Like this' button. :)

Share this post


Link to post
Share on other sites

I have installed the 21 Mar 2011 version of this contribution and it all seems to work fine. Should i be seeing an instant increase in traffic with this installed correctly? As it has been about 4 weeks and all I have seen is a decline on my web stats - dropping from 1100 visits a day to nearer 100 a day. I know search engines can take a while to catch up but is this normal?

 

Can anyone help or give me an indication of how long it took to see an increase in traffic

 

Cheers

Edited by randy4uk

Share this post


Link to post
Share on other sites

No .. absolutely nothing SEO based has an immediate effect, it can take months to see improvements.

 

Also bear in mind that informative link text no longer has so much of an SEO benefit, although it is still thought to have some.

 

Also don't forget the other 50% of SEO which is the user.

 

If you were looking for a red Ferrari would you click the link

 

product_id=34&cPath=38

 

or

 

beautiful-red-ferrari-p-34.html

Share this post


Link to post
Share on other sites

Robert,

 

One hundred and eighty five pages of support and your still going strong, many thanks for your contribution and your time! I would hope you don't find my upcoming request too troublesome.

 

Currently, my product pages are linked using the brand product format (bp) as set in the admin panel. Links of this sort appear on my site (correctly) as:

sunice-golf-grove-full-stretch-waterproof-pant-black-p-1623.html

 

On the same page if you desire to read a product review the link appears as:

grove-full-stretch-waterproof-pant-black-pr-1623.html

 

As you can see, the reviews link is missing the brand name. Is there a way in which I can add the brand name, and if so, would you be willing to help me accomplish this goal?

 

Thanks for your reading, I look forward to your reply.

 

- Ryan


plasma.jpg

Share this post


Link to post
Share on other sites

Is there a way in which I can add the brand name, and if so, would you be willing to help me accomplish this goal?

 

Thanks for your reading, I look forward to your reply.

 

- Ryan

 

You need to look at catalog/includes/modules/ultimate_seo_urls5/page_modules/product_reviews.php

 

Change the query to extract the manufacturers name

 

Create code or a method to order the link_text array to manufacturer - product_name before it is passed into $this->linktext() near the bottom. E.g. the product_info.php module has Product_Info_Page_Module::linkTextOrder().

 

If you do this however you must also create permanent 301 redirects from the old uri to the new.

Share this post


Link to post
Share on other sites

Hi Robert and all, This is a great contribution and I would really like to get it working.

 

I am getting an error. The new urls generate fine, however the page will not display. The error message I get is "This webpage has a redirect loop" .

 

I am using a pretty old and modified 2.2-MS2 PHP 5.2.17.

 

Years ago I had tried the original Ultimate SEO URL without any luck. I have uninstalled that one, and I have tried removing any redirects from my .htaccess but the "redirect loop" error remains.

 

I imagine I have some nonstandard function somewhere from something thats been changed over the years?

 

I would appreciate any advise from anyone who has any suggestion on what to try.

 

Thanks for the help.

 

Steve.

 

P.S. Have been using osCommerce since 2003 and this is my first call for help. Its a great package.

Share this post


Link to post
Share on other sites

I am getting an error. The new urls generate fine, however the page will not display. The error message I get is "This webpage has a redirect loop" .

 

Sorry I didn't reply to your personal contact, caught me a bit busy.

 

If the URLs are being generated fine then it is one of a few things.

 

1) .htaccess settings ( although I wouldn't expect a redirect loop from here )

2) Admin settings - turn off the option to redirect index.php to root domain.

3) Your includes/configure.php settings are incorrect.

4) You are using path_standard and AcceptPathInfo is not set to On ( this can go in .htaccess )

5) You have a very strnge server set up that I've never come across :)

 

Is it a linux server?

Edited by FWR Media

Share this post


Link to post
Share on other sites

Hi, I've just installed the module on the v2.3.2. The module worked well for the english language, however for asian languages (e.g. japanese, chinese) the links do not come out well and have strange symbols attached to the link, both in FF and IE. Any advice is appreciated. Thank you.

Share this post


Link to post
Share on other sites

You need to add a character converion file named the same as your language in: -

 

catalog/includes/modules/ultimate_seo_urls5/includes/character_conversion/

 

Have a look at the ones in "extras" in the download to see what to do.

 

This file MUST be saved as the correct charset.

 

Reset the cache in admin once done so the links can be rebuilt.

Edited by FWR Media

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×