Post by Dimotar » Mon Feb 22, 2010 1:09 am

neither on local nor on live site.
RewriteEngine 0n, install check OK, .htaccess OK, but :
- URL for pages, categories and products with "slug" field not empty are changed to SEF type; others- with "slug" field empty- aren't. BTW- it could be great to make "slug" field required by default and add a script guessing its value from heading, just like Wordpress does.
- but when I click oh these changed URLs- i get 404 page. same moment i click on those URLs unchanged (with empty "slug")- i get correct page.

Any ideas?
Thanks in advance, Dmitri TARASOV.

Newbie

Posts

Joined
Mon Feb 22, 2010 12:44 am

Post by Xsecrets » Mon Feb 22, 2010 5:23 am

first of all if you are getting 404 when you click on a sef link then you don't have something setup correctly. As far as items without a seo name using standard url's it's working as "designed" weather or not you think that is the way it's "supposed" to work.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by Dimotar » Mon Feb 22, 2010 4:34 pm

Dear Xsecrets, I have enough brain to conclude myself that maybe I "don't have something setup correctly".
I ask community for concrete advice, idea, where to search for solution, what to check again, etc.
I believe you're cool, you don't need to perceive me. Please, answer promptly, if you have something to say on this issue.
RGRDS,
Dmitry.

Newbie

Posts

Joined
Mon Feb 22, 2010 12:44 am

Post by Xsecrets » Mon Feb 22, 2010 10:36 pm

there are many many threads on the forums about how to get seo url's working. basically your host has to support apache mod rewrite and you have to rename .htaccess.txt to .htacess and if your store is in a sub folder you have to change rewritebase from / to /foldername/

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by socal2 » Tue Feb 23, 2010 5:49 am

Xsecrets wrote:there are many many threads on the forums about how to get seo url's working. basically your host has to support apache mod rewrite and you have to rename .htaccess.txt to .htacess and if your store is in a sub folder you have to change rewritebase from / to /foldername/

Xsecrets , I think you may be on to something here with the subfolder busines.

.... 3 minutes later ...

bingo ... that was it !

Had to go in to the .htaccess.txt file and add the cart folder to the rewritebase path
from .../ .../mycart/

and make sure to take off the .txt at the end

awesome !

New member

Posts

Joined
Tue Dec 01, 2009 12:45 am
Who is online

Users browsing this forum: Majestic-12 [Bot] and 102 guests