Post by javiecastillo » Fri Jan 14, 2011 1:38 am

So I've searched the forums and all over Google, but seem to have a unique issue. Either that or I'm blind and would appreciate a nudge in the right direction.

I have SEO URLs enabled for my sites; let's call them site1.com, site2.com, and site3.com. All of the SEO keywords have been entered for categories, products, and information pages, .htaccess is working, etc.

SEO URLs are working perfectly for site1.com, but site2.com and site3.com are throwing me 404s. Looking at the address bar, the links seem to be directing correctly -- i.e. the 'About Us' link on site2.com goes to 'site2.com/about-us' -- but the page 'doesn't exist'.

Of course, everything works fine with SEO keywords disabled.

I've found this tidbit:
http://forum.opencart.com/viewtopic.php ... rl#p121094
Xsecrets wrote:if you are getting a 404 there are only three real possibilities.
1) mod rewrite is not installed or working properly or you are not on an apache server (if you are on windows IIS there are other threads for that.
2) you did not rename the file correctly should be .htaccess no period after it and a period before it.
3) you do not have your RewriteBase correct.

If those three things are correct it will work. Some setups have problems with some of the lines in the .htaccess, but those servers will throw a 500 error, so that's not the problem here.
But, I assume that if SEO URLs are working perfectly for the default 'site1.com', all three of the issues outlined above are correct, right?

Here is the content of my .htaccess:

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 /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
Any help would be much appreciated -- thank you all in advance!

OpenCart v1.4.9.1; clean install.

Newbie

Posts

Joined
Fri Dec 31, 2010 2:27 am

Post by javiecastillo » Fri Jan 14, 2011 5:06 am

Really need some help with this one, guys -- anyone have any ideas?

Newbie

Posts

Joined
Fri Dec 31, 2010 2:27 am

Post by rph » Fri Jan 14, 2011 5:42 am

Did you make sure the pages are all assigned to the proper stores?

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by javiecastillo » Wed Jan 19, 2011 12:16 am

rph wrote:Did you make sure the pages are all assigned to the proper stores?
Thank you for replying! It doesn't look like very many people are willing to lend a hand :-\

Yes; all of the pages/categories/products are actually assigned to all three stores.

If they weren't, they wouldn't even be showing up in the navigation, correct? Is there something else I need to do besides checking the proper site boxes for each page in admin?

Any other ideas?

Newbie

Posts

Joined
Fri Dec 31, 2010 2:27 am

Post by Chones » Wed Jan 19, 2011 2:26 am

I don't think you can set up multi-store like that.

I think you have to do it with sub-domains. So your stores should be at

http://site1.yoursite.com
http://site2.yoursite.com
http://site3.yoursite.com

http://forum.opencart.com/viewtopic.php?t=17492#p90138

http://scarletandjones.com/
http://sharpdressedman.co.uk/
http://coffincompany.co.uk/
http://horsesculptures.co.uk/
If I've helped you out, why not buy me a beer? http://craigmurray.me.uk


User avatar
Active Member

Posts

Joined
Wed Mar 24, 2010 9:07 pm
Location - London

Post by javiecastillo » Wed Jan 19, 2011 8:26 am

Chones wrote:I don't think you can set up multi-store like that.

I think you have to do it with sub-domains. So your stores should be at

http://site1.yoursite.com
http://site2.yoursite.com
http://site3.yoursite.com

http://forum.opencart.com/viewtopic.php?t=17492#p90138
Is that really true?

I mean, I've already set up the stores and they work with the exception of the SEO URLs...

Here are the test websites I am currently working on:
http://www.californiafoldingchairs.com/
http://www.floridafoldingchairs.com/
http://www.newyorkfoldingchairs.com/

CA is the primary site, while FL and NY are the secondary sites. As you can see, CA is working fine. The other two return 404s.

If absolutely necessary, I can just disable SEO URLs, but I feel as though this should have probably been addressed before. Or I have to be doing something super wrong :-[

Has anyone out there set up multiple stores with completely different URLs (not sub domains) as I have and had the same problem?

Or, better yet, has anyone done with this with no issues whatsoever and possibly be willing to walk me through what they did?

Newbie

Posts

Joined
Fri Dec 31, 2010 2:27 am

Post by javiecastillo » Thu Jan 20, 2011 1:27 am

No one?

Newbie

Posts

Joined
Fri Dec 31, 2010 2:27 am

Post by myshop » Tue Mar 22, 2011 7:57 am

Did you get this working? The sites dont seem to return 404's?

Newbie

Posts

Joined
Tue Mar 22, 2011 7:49 am

Post by jenny1406 » Fri Aug 05, 2011 12:44 pm

Google likes unique content in general -- if you have the same content as other websites, they know you've probably got default text in there.

SEO services California

Newbie

Posts

Joined
Fri Aug 05, 2011 12:41 pm

Post by labeshops » Mon Aug 08, 2011 8:43 am

Yes, I have the same problem and haven't figured it out yet either :P

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by uksitebuilder » Mon Aug 08, 2011 8:00 pm

SEO URLs will not work if your main domain store is installed in a subfolder and your other domains have no subfolder suffix

This is because of this line in your .htaccess

RewriteBase /subfolder/

which you would have set-up for your main domain

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: Google [Bot] and 121 guests