Post by Habel » Wed Mar 06, 2013 1:07 am

Ok so i am having a little trouble with sum seo urls. i checked apache is enabled, seo is on, and i edited htaccess.txt to .htaccess.

So i went in and changed all my seo and majority of them are working, all of the info pages are working, which includes recipes, blog with thru links etc.

Now by shop has two catergorys, lets call them cat a and cat b. cat a has 3 sub catergores, lets say a1, a2,a3, and cat b has 5, say b1,b2,b3,b4,b5

so if i click cat a, it will take me to domain/cata no problem. when i click a1 itwill take me to domain/cat-a/a1 no problem again.

So heres where its not working, when i clock cat b, it takes me to domain/cat-b seems fine so far, but if i click from here to get to b1-5 it doesnt work. it will laod up the url domain/cat-b/b1 but it will just display the page of cat b...

Whats even more confusing is that if i click on a link that has the orinigal url it will work so i will be in the page of cat-b/b1 but the name will be domain/index.php?route=product/category&path=34_43 for example, then if i click on a product in here (eg. product1) it will then have a working url! of domain/cat-b/b1/product1

I cant understand why this one catergory wont link up?! been playing about for two nites now and cant figure it out!

il copy over my .htaccess file see if this is the problem? shouldnt be as the rest are working fine.

Code: Select all

# 1.To use URL Alias you need to be running apache with mod_rewrite enabled. 

# 2. In your opencart directory rename htaccess.txt to .htaccess.

# For any support issues please visit: http://www.opencart.com

# For security reasons, Option followsymlinks cannot be overridden.
#Options +FollowSymlinks
Options +SymLinksIfOwnerMatch

# Prevent Directoy listing 
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini|log)">
 Order deny,allow
 Deny from all
</FilesMatch>

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ 

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

### Additional Settings that may need to be enabled for some servers 
### Uncomment the commands by removing the # sign in front of it.
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.

# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
# php_flag register_globals off

# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off

# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
# php_value upload_max_filesize 999M

# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value post_max_size 999M

# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_execution_time 200

# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
# php_value max_input_time 200

# 7. disable open_basedir limitations
# php_admin_value open_basedir none

Newbie

Posts

Joined
Wed Mar 06, 2013 12:56 am

Post by ocnewbie » Thu Apr 25, 2013 8:46 pm

I have a client that is experiencing a problem when SEO URLs is set to yes. When you go to http://rusticinterioroutfitters.com/Accessories it shows the products that are associated with the category “Accessories” and also the products associated with “Accessories>>Pillows & Pillow Covers” and “Accessories>>Pots”, as they are set up to show. However, when you click on any of the first five images or product titles, you are taken to the respective product page, like you should be. But, when you click on the next three images or product titles, the title bar changes to what it should (i.e. http://rusticinterioroutfitters.com/Acc ... n852-34X36 ), yet the view in the browser window remains the same as it was for the category “Accessories” instead of going to the product page.

At first I questioned if it may be tied to some category issue as the above problem clearly breaks when the products were in different category. However, if you go to http://rusticinterioroutfitters.com/Rugs/Indio-Rugs and click on the first item, it takes you to the correct product page. But if you click on the second product, the title bar shows the correct url but the window doesn't change.

When SEO URLs is changed to no, the above products pages show as they should. This is experienced in other categories and/or sub-categories throughout the site.

I have looked at a lot of other posts concerning SEO URLs and this is the only one I found that is near to what I am experiencing. I first posted this to the host provider who said that they were able to replicate the error but after going back and forth several times their final response was
Thank you for replying to support. We did review the server logs prior to our previous reply and were unable to detect any log entries indicating there was any issues. Since the issue is resolved upon disabling the SEO plugin, it could be that these links are cached with that plugin and when it is active, there is an issue with the link. You may wish to consult the plugin developer for further troubleshooting in this matter. If they suggest any configuration changes or require any additional information, please let us know so we can accommodate the changes if possible.
Here are the steps I have taken to try to solve this issue:
1. Looked at SEO Keywords in Categories to ensure I had unique keywords.
2. Looked at SEO Keywords in each Product to ensure I had unique keywords.
3. Made sure .htaccess matched original Version 1.5.5.1 .htaccess.txt
4. Replaced catalog/controller/common/seo_url.php on host server with the original Version 1.5.5.1 seo_url.php.
5. Uninstalled all VQModes except for VQMod Manager.
6. Cleared VQMode cache through admin.
7. Cleared VQMode cache on server side.
8. Cleared server cache.

I do not have any idea why this is happening, nor do I know how to correct it, or what else I should be trying. I have not experienced any of the problems others have cited when using SEO URls, i.e. issues with the shopping cart checkout, etc.

This is with Version 1.5.5.1

Does anyone have any idea?

Thanks,
Verne

Thanks,
Verne
OpenCart 1.5.5.1
Rustic Interior Outfitters


Newbie

Posts

Joined
Tue Mar 05, 2013 2:36 am

Post by s3d » Fri Dec 13, 2013 3:02 pm

Did you ever resolve this?
Im having same issue

http://www.senses.co.uk
Senses Web Soltuions

Latest Releases:
http://www.personalisedcanvas.com/
http://www.stampedelytham.co.uk/


User avatar
s3d
New member

Posts

Joined
Mon Oct 05, 2009 7:13 pm
Location - UK Midlands and North West

Post by billynoah » Fri Dec 13, 2013 4:54 pm

you cannot have the "#" symbol in a url or it will redirect to the same page. make sure none of your SEO keywords contain "#".

Image


Active Member

Posts

Joined
Tue Jan 15, 2013 12:46 pm

Post by ocnewbie » Fri Dec 13, 2013 5:30 pm

You're right billynoah, some products had the "#" in the name. Removed it and everything worked great.

Thanks,
Verne
OpenCart 1.5.5.1
Rustic Interior Outfitters


Newbie

Posts

Joined
Tue Mar 05, 2013 2:36 am
Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 36 guests