bksbeat Posted July 21, 2012 Share Posted July 21, 2012 (edited) 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? trueEnable the cache? trueEnable multi language support? falseOutput W3C valid URLs? trueSelect your chosen cache system? mysqlSet the number of days to store the cache. 7Choose the uri format standardChoose how your product link text is made up pFilter Short Words 3Add category parent to beginning of category uris? falseRemove all non-alphanumeric characters? falseAdd cPath to product URLs? falseEnter special character conversions. (Better to use the file Turn performance reporting on true/false. falseTurn variable reporting on true/false. falseForce www.mysite.com/ when www.mysite.com/index.php trueReset USU5 Cache Edited July 21, 2012 by bksbeat Quote Link to comment Share on other sites More sharing options...
bksbeat Posted July 21, 2012 Share Posted July 21, 2012 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? Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 21, 2012 Author Share Posted July 21, 2012 @@bksbeat USU5 has install and operation instructions, if you read them all will become clear. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
bksbeat Posted July 22, 2012 Share Posted July 22, 2012 (edited) 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 July 22, 2012 by bksbeat Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 23, 2012 Author Share Posted July 23, 2012 @@bksbeat Sounds like the server does not have mod_rewrite loaded. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
JackSim Posted July 23, 2012 Share Posted July 23, 2012 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? Quote Link to comment Share on other sites More sharing options...
bksbeat Posted July 23, 2012 Share Posted July 23, 2012 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! Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 23, 2012 Author Share Posted July 23, 2012 @@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. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 23, 2012 Author Share Posted July 23, 2012 Any idea how this could be done? USU is redirecting correctly, you would need to make some code modifications. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
bksbeat Posted July 23, 2012 Share Posted July 23, 2012 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 Quote Link to comment Share on other sites More sharing options...
crwhite57 Posted July 23, 2012 Share Posted July 23, 2012 (edited) 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 July 23, 2012 by crwhite57 Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 24, 2012 Author Share Posted July 24, 2012 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. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
al3ks Posted July 24, 2012 Share Posted July 24, 2012 (edited) 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 July 24, 2012 by al3ks Quote Find this post helpful? Click the 'Like this' button. :) Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 25, 2012 Author Share Posted July 25, 2012 (edited) 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 July 25, 2012 by FWR Media Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
al3ks Posted July 25, 2012 Share Posted July 25, 2012 (edited) 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 July 25, 2012 by al3ks Quote Find this post helpful? Click the 'Like this' button. :) Link to comment Share on other sites More sharing options...
randy4uk Posted July 26, 2012 Share Posted July 26, 2012 (edited) 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 July 26, 2012 by randy4uk Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 26, 2012 Author Share Posted July 26, 2012 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 Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Guest Posted July 29, 2012 Share Posted July 29, 2012 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 Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted July 29, 2012 Author Share Posted July 29, 2012 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. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
caravansplus Posted August 2, 2012 Share Posted August 2, 2012 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. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 2, 2012 Author Share Posted August 2, 2012 (edited) 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 August 2, 2012 by FWR Media caravansplus 1 Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
cfemoca Posted August 2, 2012 Share Posted August 2, 2012 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. Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 2, 2012 Author Share Posted August 2, 2012 (edited) 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 August 2, 2012 by FWR Media Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
caravansplus Posted August 2, 2012 Share Posted August 2, 2012 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? RE: Redirect Loop Hi Robert, Thanks for the reply. I hope I can eliminate at few options and give some more clues as to where the problem lies. I'm on a Unix server, I dont think there is any problem there. I have another site that uses the original SEO URL and works fine. I have got the redirect index.php to root domain turned off in admin. I have tried all the url path admin settings with the same result. path_rewrite is my priority. If I Enable SEO URLs 5, it will generate a nice url but I get the redirect loop message. If I disable the module and then refresh the product_info page it will use the .htaccess rule RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA] to display the product_info page but goes to "no product found" When I use a modified rule RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php?products_id=$2 [NC,L,QSA] It will display the product_info page properly, but when I enable the module it has the redirect loop error again. So the .htaccess redirect works but not when the module is enabled. I think the problem is separate to the .htaccess settings. Even when I strip all the rewrites from .htaccess I get the same redirect loop error. If there is a problem in my includes/configure.php settings I can't see it, but am happy to show them to you. Another clue may be when I first did the install the cache database table did not install and I had to run SQL query manually to insert the usu_cache table. I have tried turning the enable cache setting off in admin. Also when I try Reset USU5 Cache I get an error (but this might just be because the table is already empty). I don't know if I have narrowed it down at all... Thanks for your time. Steve Quote Link to comment Share on other sites More sharing options...
♥FWR Media Posted August 3, 2012 Author Share Posted August 3, 2012 This worries me: - RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA] to display the product_info page but goes to "no product found" When I use a modified rule RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php?products_id=$2 [NC,L,QSA] It will display the product_info page properly, but when I enable the module it has the redirect loop error again. That is incorrect ( on any version of server I've ever seen ). RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA] Cannot match a standard product_info.php url, what your new RewriteRule did was pretty much nothing. QSA means Query String Attached. Have you asked the people who run your server because in years of this contrib being available I've never heard anything like this. Quote Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.