Post by Seuldieu » Sat Feb 12, 2011 4:12 pm

I'm a little confused.

When I enable SEO urls in the admin settings (with the appropriate .htaccess file,) I get an unusual side-effect. The url's show up great, but I am no longer able to change currency.

I don't mean change default currency, I mean when I change currency in the drop down menu... it does NOT change on the page; deleting my cookies does nothing for it.

Likewise, with SEO urls enabled, when I 'login'--the header on the home page does not reflect this... it shows "specials" and "login," as opposed to what it should display (and what other pages like "product," and "category" properly show:) "special," "my account" and "logoff."

I've confirmed this by disabling SEO urls and renaming my .htaccess file back to .txt... and the currency changer, and login are functioning properly. Might anyone be able to shed some light on this? I'd really like to use SEO urls O0


Just in case, here is my .htaccess file:

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

# Options +FollowSymlinks

# Prevent Directoy listing 
# Options -Indexes

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

# SEO URL Settings
RewriteEngine On
RewriteBase /ocart/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

RewriteCond %{QUERY_STRING} ^route=common/home$
RewriteRule ^index\.php$ http://www.inversepenguin.com/ocart/? [R=301,L]


### 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, then 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

New member

Posts

Joined
Fri Dec 10, 2010 7:21 am

Post by Seuldieu » Tue Feb 15, 2011 8:52 am

Bump. Anyone have any ideas?

New member

Posts

Joined
Fri Dec 10, 2010 7:21 am

Post by Seuldieu » Thu Mar 03, 2011 5:03 am

Bump. Still have found no fix for this problem...

New member

Posts

Joined
Fri Dec 10, 2010 7:21 am

Post by ipalyka » Thu Mar 03, 2011 7:43 am

Hello Seuldieu,

Unfortunately, I cannot help you, but I posted virtually the same problem a few days ago. Here is the link:
http://forum.opencart.com/viewtopic.php?f=20&t=27894

No replies so far. Unless we both made the same mistake in the setup, this might be a bug.
Please post if you find a solution!

Newbie

Posts

Joined
Wed Feb 02, 2011 5:59 am

Post by Seuldieu » Wed Mar 16, 2011 6:12 pm

Hey Ipalyka,

I found that the problem isn't SEO url specific--but actually due to "www." being present in the URL bar. When I remove the "www." everything seemingly functions correctly. I started a new thread--hopefully someone can help.

New member

Posts

Joined
Fri Dec 10, 2010 7:21 am

Post by Qphoria » Wed Mar 16, 2011 6:49 pm

interesting. I'll look into this

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by perhaps » Tue Oct 25, 2011 10:52 pm

I have same problem, I also opened a thread: http://forum.opencart.com/viewtopic.php?f=20&t=43697
And now I discovered what ipalyka says: cart is loosing content when using SEO URLs. What can I do?

Newbie

Posts

Joined
Mon Oct 17, 2011 11:17 pm

Post by Cigs » Tue Nov 29, 2011 12:30 am

Same problem. Please help.

New member

Posts

Joined
Thu Nov 24, 2011 5:23 am

Post by Cigs » Wed Nov 30, 2011 6:10 pm

can anybody on this forum help???

New member

Posts

Joined
Thu Nov 24, 2011 5:23 am

Post by Cigs » Sat Dec 03, 2011 6:43 am

Please help me find the issue ???
Last edited by Cigs on Mon Dec 05, 2011 7:57 am, edited 2 times in total.

New member

Posts

Joined
Thu Nov 24, 2011 5:23 am

Post by BrandEvo » Mon Dec 05, 2011 4:25 am

Yes. I too had this problem. As a matter of fact, I was ordering up my SSL Certificate and as you may or may not know, you've got to specify www. or a NON www address.

I almost always go for www. but could not do so because of this problem. When I enabled www. through .htaccess, I could not log in through the admin section or even reset my password.

It turned out that the www. was affecting the store log in and after changing the configuration back to a NON www. address, everything started working again.

This is definitely an issue that needs some attention.

Newbie

Posts

Joined
Sat Dec 03, 2011 1:07 pm

Post by Cigs » Mon Dec 05, 2011 7:54 am

It unfortunately seems no one on this forum can help tho :-[ Thinking of migrating to Prestashop.

New member

Posts

Joined
Thu Nov 24, 2011 5:23 am

Post by Cigs » Fri Dec 09, 2011 4:57 am

uksitebuilder has finally helped me. Solution - http://forum.opencart.com/viewtopic.php?f=20&t=47974

New member

Posts

Joined
Thu Nov 24, 2011 5:23 am

Post by paymentday » Tue Feb 07, 2012 6:33 am

I am having a problem with my website that SEO urls are not working, Can anyone help me the reason on this

Newbie

Posts

Joined
Tue Feb 07, 2012 6:30 am

Post by athar » Mon Mar 11, 2013 9:56 pm

I haven't seen any answer of this issue yet my issue is same as it already mentioned but there is no answer.. When I enable SEO urls in opencart 1.5.2.1 in the admin settings I get an unusual side-effect. The url's show up great, but I am no longer able to switch between currencies on product page. but it work fine if I turned off seo url in admin setting

Newbie

Posts

Joined
Sat Mar 09, 2013 4:12 am
Who is online

Users browsing this forum: No registered users and 30 guests