Latest News: (loading..)
spidometrs

[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo

7,326 posts in this topic

Hi, thanks again for this invaluable contribution! I have a question, I'm hoping someone can answer. I recently upgraded my site from 2.2 to 2.3 and now it looks like the contribution may not be working properly. I'm getting this

 

http://www.subcitizen.com/?manufacturers_id=12

 

instead of

 

http://www.subcitizen.com/ames-bros-m-12.html

 

I'm also having problems with the Categories url's. Funny enough, the actual product url's are fine.

 

So my question is "Do I need to simply upgrade my version of this contribution"? My version according to my .htaccess file is Ultimate SEO V2.2d.

 

Thanks so much!

 

jason

Share this post


Link to post
Share on other sites

Hi, thanks again for this invaluable contribution! I have a question, I'm hoping someone can answer. I recently upgraded my site from 2.2 to 2.3 and now it looks like the contribution may not be working properly. I'm getting this

 

http://www.subcitize...facturers_id=12

 

instead of

 

http://www.subcitize...-bros-m-12.html

 

I'm also having problems with the Categories url's. Funny enough, the actual product url's are fine.

 

So my question is "Do I need to simply upgrade my version of this contribution"? My version according to my .htaccess file is Ultimate SEO V2.2d.

This addon works fine with 2.3. It would seem you either made a mistake in the installation, are not using the latest version or the manufacturers code in your shop has been altered in a non-oscommerce way.

Share this post


Link to post
Share on other sites

how to give special character conversions for "white space" replaced by "-" and also 4" inch...

Those should already be replaced by the code You may need to turn on the "Remove all non-alphanumeric characters?" setting. You could also try the conversion option in the settigs though I don't think those will be caught. . Otherwise, the code would have to be edited.

Share this post


Link to post
Share on other sites

Hi Chemo, I need your help, please.

I am installing the SEO module, but when I get to see each item, I get error, the strange thing is that the url of each product is already in html.

Share this post


Link to post
Share on other sites

Hi Chemo, I need your help, please.

I am installing the SEO module, but when I get to see each item, I get error, the strange thing isthat theurlof each productis already inhtml.

Chemo is no longer with us.

 

What is the error?

Share this post


Link to post
Share on other sites

Hi. Thanks for looking at my post. I'm having trouble trying to use a 301 redirect from an old page to a new one using the .htaccess file. This is the code I used:

 

 

redirect 301 /old/old.htm

 

It didn't work. Could it be the other code in the .htaccess file regarding Ultimate SEO URL's that is keeping me from doing this? How do I change it? Also, I heard that if you have too many lines of code in your .htaccess file it could slow down your site. Is this true?

 

Thanks so much,

 

Jason

Share this post


Link to post
Share on other sites

Hi. Thanks for looking at my post. I'm having trouble trying to use a 301 redirect from an old page to a new one using the .htaccess file. This is the code I used:

 

 

redirect 301 /old/old.htm

 

 

 

It didn't work. Could it be the other code in the .htaccess file regarding Ultimate SEO URL's that is keeping me from doing this? How do I change it? Also, I heard that if you have too many lines of code in your .htaccess file it could slow down your site. Is this true?

 

Thanks so much,

 

Jason

Redirect old url's isn't something covered in this trhead. You can post in the general forum or search the web for how to do it.

 

Yes, large .htaccess files can slow the site down. Actually, just using the .htaccess file in the first place will slow the site down. But the slowdown is minimal in most cases. I suppose if your .htaccess file reached 100 KB in size you might start noticing it but if it is that big, you are probably doing something wrong. Plus, it also has to do with the contents of the file, not just the size.

Share this post


Link to post
Share on other sites

Thanks Jack! I always think highly of your comments and experience. I guess what I was thinking was that somehow the text in the .htaccess file regarding the Ultimate SEO contribution was keeping me from redirecting old products and manufacturers using the 301 redirect code stated above. I guess this isn't the case?

 

Thanks so much!

 

Jason

Share this post


Link to post
Share on other sites

Thanks Jack! I always think highly of your comments and experience. I guess what I was thinking was that somehow the text in the .htaccess file regarding the Ultimate SEO contribution was keeping me from redirecting old products and manufacturers using the 301 redirect code stated above. I guess this isn't the case?

 

Thanks so much!

 

Jason

You're welcome. I appreciate the kind words.

 

If you don't have the rewrite engine command before your commands, then they would fail but the redirect code for this contribution wouldn't cause a problem, at least that I can think of.

Share this post


Link to post
Share on other sites

Hello,

 

I want to remove category id , manufacture id and product id from url as well i want to remove .html from url can you tell me how ?

 

Thanks,

Kaushik

Share this post


Link to post
Share on other sites

Hello,

 

I want to remove category id , manufacture id and product id from url as well i want to remove .html from url can you tell me how ?

 

Thanks,

Kaushik

Share this post


Link to post
Share on other sites

Hello All

I am just stuck.

I'm getting a 404 error when I click on a product or category. IE and FireFox

I'm installed in the root directory.

version 2.3.1 and 2.2d

 

any idea what I did wrong?

 

here's my entire .htaccess

 

# $Id$

#

# 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)

 

# php_value session.use_trans_sid 0

# php_value register_globals 1

 

 

# Begin Ultimate SEO V2.2d

Options +FollowSymLinks

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 the following line using the instructions above

 

RewriteBase /orleather.ipage.com/

 

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}

RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING}

RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING}

# End Ultimate SEO V2.2d

 

Thanks for your advice!!

Share this post


Link to post
Share on other sites

Hello All

I am just stuck.

I'm getting a 404 error when I click on a product or category. IE and FireFox

I'm installed in the root directory.

version 2.3.1 and 2.2d

 

RewriteBase /orleather.ipage.com/

 

The RewriteBase line contains your shops directory. If you shop located in the orleather.ipage.com directory? If so, please post your url.

Share this post


Link to post
Share on other sites

Thanks for your reply.

I started installing Ultimate SEO on a clean new install of OScommerce.

 

I'm at orleather.ipage.com for now.

 

Thanks

Share this post


Link to post
Share on other sites

You sent me in the right direction, thank you.

taking the domain out of that line and going with plain old

RewriteBase /

 

Worked perfect.

Thanks again

Share this post


Link to post
Share on other sites

Chemo is no longer with us.

 

What is the error?

 

Hi Jack_mcs

I am installing Ultimate SEO URLs module for osCommerce MS-2.2 or RC2, and upload the two files and change the other 4.

After loading the files, edit the last. Htaccess, but when I load it, I can not enter any of the products, because it redirects back to theindex. It is not happening.

 

Thanks so much!

CORENERED

Share this post


Link to post
Share on other sites

 

Hi Jack_mcs

I aminstallingUltimateSEOURLsmoduleforosCommerceMS-2.2orRC2, andupload thetwo filesandchangethe other 4.

After loadingthe files,edit thelast. Htaccess, but whenI load it, I can notenterany of the products, because itredirectsback to theindex. It is nothappening.

 

Thanks so much!

CORENERED

I'm not sure I understand the problem due to no spacing in your text but it sounds like you are using a template that has bad code in it. This is a common problem. See this post.

Share this post


Link to post
Share on other sites

Hi Jack_mcs

Sorry my english.

I'll try to explain you better.

I purchased a template from the perfectory.com page. Then install the module Ultimate SEO URLs v2.1 - by Chemo, but when I click on any product says, Not Found; Additionally, a 404 Not Found error was....

I no longer know what to do.

Help me please... unsure.png

Share this post


Link to post
Share on other sites

Hi Jack_mcs

Sorry my english.

I'll try to explain you better.

I purchased a template from the perfectory.com page. Then install the module Ultimate SEO URLs v2.1 - by Chemo, but when I click on any product says, Not Found; Additionally, a 404 Not Found error was....

I no longer know what to do.

Help me please... unsure.png

First, you should be using V2.2d, not 2.1. Once you update it, if you are still having the problem, please post the url to your shop and the .htaccess file in the root of the shop and I will take a look at them.

Share this post


Link to post
Share on other sites

First, you should be using V2.2d, not 2.1. Once you update it, if you are still having the problem, please post the url to your shop and the .htaccess file in the root of the shop and I will take a look at them.

 

Could you give me the direct link download?

Share this post


Link to post
Share on other sites

Hi,

 

I hope someone can help.

 

I have installed this contribution and it seemed fairly straight forward to install, however I am getting a 404 page for all of the URL's.

 

The admin section works fine and when I switch the contribution off in the admin cp, the site works fine again.

 

I have read about the RewriteBase / function and that if this is not configured correctly, then this can cause 404 pages (not loading), but my catalog is set in the root directory of the site, so I have set it to RewriteBase / but this still does not work.

 

My site is http://www.thelightershop.co.uk the catalog is located in the root directory.

 

This is my .htaccess file:

 

# Begin Ultimate SEO V2.2d

Options +FollowSymLinks

RewriteEngine On

RewriteBase /

RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}

RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING}

RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING}

# End Ultimate SEO V2.2d

 

In my configure.php file, I have the line:

 

define('DIR_FS_CATALOG', '/content/Hosting/t/h/thelightershop.co.uk/web/');

 

so, I have also tried:

 

RewriteBase /content/Hosting/t/h/thelightershop.co.uk/web/

 

and

 

RewriteBase /web/

 

But none of these work either. I have also double checked that I have edited and installed all of the files properly. Please help!

 

Thanks

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