Page 1 of 2

Does SEO URLs work in v1.3?

Posted: Tue Aug 04, 2009 12:54 am
by blueantz
Been trying to get seo urls to work in order to get rid of the clumsy urls like:
http://www.mydomain.com/[b]index.php?ro ... duct_id=47[/b]

Steps already taken:
1. enable mod_rewrite on apache
2. rename htaccess.txt to .htaccess

URLs are still not seo'd. What additional steps am I missing?
There is a post from crazydog, but that doesn't work either - http://forum.opencart.com/viewtopic.php?f=24&t=5146

Any help appreciated. Seems like a lot of other people are in same boat as me.

Re: Does SEO URLs work in v1.3?

Posted: Wed Aug 05, 2009 1:14 am
by blueantz
OK, I added new products and seo urls works up until the product page. Is there a way to separate words with hyphens(-) or underscores(_)?

It comes up as blank spaces right now:
www.mydomain.com/category-page/this is my item with blank spaces

Is it also possible to end each web page with .htm extension using seo urls?

Re: Does SEO URLs work in v1.3?

Posted: Wed Aug 05, 2009 2:22 am
by Rich
OK, I added new products and seo urls works up until the product page. Is there a way to separate words with hyphens(-) or underscores(_)?

It comes up as blank spaces right now:
http://www.mydomain.com/category-page/this is my item with blank spaces
When you are adding the product and you are typing the SEO in just type with underscores like this: this_is_my_item_with_blank_spaces and you will be fine.

Re: Does SEO URLs work in v1.3?

Posted: Wed Aug 05, 2009 6:17 am
by blueantz
That did the trick. Thanks.

Re: Does SEO URLs work in v1.3?

Posted: Wed Aug 05, 2009 7:46 pm
by gavin m
How did you get them to work in the first place?

I have it on, the mod rewite is on etc but I still get the mad urls.

Re: Does SEO URLs work in v1.3?

Posted: Wed Aug 05, 2009 10:11 pm
by orionweb
you need to modify each product / category to have an SEO keyword.

Re: Does SEO URLs work in v1.3?

Posted: Wed Aug 05, 2009 10:38 pm
by gavin m
orionweb wrote:you need to modify each product / category to have an SEO keyword.
Ah, of course. I'll give that a go and fingers crossed.

Re: Does SEO URLs work in v1.3?

Posted: Thu Aug 06, 2009 7:16 pm
by gavin m
OK, I tried that and it seemed to kind of work in as much as the url was now displaying correctly (www.mysite.co.uk\seo temr I used) but it only dispalys the home page, not the actual page it should be displaying.

Have I missed something? I will check with my host to make sure that the Mod Rewrite is on, but as the URL is displaying, I guess it is.

Any ideas?

Re: Does SEO URLs work in v1.3?

Posted: Thu Aug 06, 2009 7:33 pm
by orionweb
make sure you don't include any spaces in the seo keyword box, replace spaces with underscores, see if that helps

Re: Does SEO URLs work in v1.3?

Posted: Thu Aug 06, 2009 8:42 pm
by gavin m
It was a single word I used.....

Re: Does SEO URLs work in v1.3?

Posted: Fri Aug 07, 2009 12:01 am
by nmtechlv
I had the exact same problem. Single keywords never generated an SEO friendly URL. I had apache rewrite enabled and added the .htaccess file as suggested. It got so frustrating that I uninstalled the cart. If anyone can really come up with a solution to the SEO URL's working in this cart, I will re-install it.

On this discussion, will the SEO URL's work if the cart is installed in the root directory versus a subfolder directory? This was one of the things the crazydog topic was suggesting. That if you installed the cart in a subfolder, it wasn't working...which is what I did. i.e. domain.com/cart

I'd love to use this cart if anyone can help on this issue. Thanks!

Re: Does SEO URLs work in v1.3?

Posted: Fri Aug 07, 2009 1:52 am
by orionweb
ok, and have you added the seo title to both the categories and products?

Re: Does SEO URLs work in v1.3?

Posted: Fri Aug 07, 2009 3:17 am
by gavin m
orionweb wrote:ok, and have you added the seo title to both the categories and products?
Yep, just tried that too. Originally, I just added a SEO to a category, but I just tried it for a categroy and an item in that category. Still the same problem. I click on the category link, the page loads and I get the main home page although the url now displays when the SEO is.

grrrrr

Any ideas?

Thanks

Re: Does SEO URLs work in v1.3?

Posted: Fri Aug 07, 2009 3:57 am
by gavin m
OK, I seem to have it working.

I'm afraid the issue here was me..... I had thought I had renamed the htaccess but I hadn't. D'Oh.

Cheers for all your help guys.

Re: Does SEO URLs work in v1.3?

Posted: Fri Aug 07, 2009 4:41 am
by orionweb
hahaha lol nice one :P

Re: Does SEO URLs work in v1.3?

Posted: Thu Aug 20, 2009 1:55 am
by midwest
Im having some issues trying to get the SEO friendly URLs working as well. When it says rename the htaccess.txt to .htaccess, I only found one .htaccess in the folder: \upload\admin\view\javascript\fckeditor\filemanager\connectors\py\ Is this the correct location of that file.

Also, when I issued the command MV htaccess.txt .htaccess to rename it, it dissappeared. Is that because it is now a hidden file?

Any help would be great since Im now getting a error when you click on a link.

Thx,
S

Re: Does SEO URLs work in v1.3?

Posted: Thu Aug 20, 2009 4:05 am
by gavin m
The file is generally in your root directory, unless there are some files/folders you don't want it to effect, in which case, put copies in all the folders you do want it to effect.

It will effect everything that is in the folder it's in and all sub folders and their content.

It will disappear once it is renamed as it becomes hidden. Although, you may be able to see if form with in the file manager that can be accessed via your Cpanel.

Re: Does SEO URLs work in v1.3?

Posted: Tue Aug 25, 2009 8:47 pm
by OC2PS
What does it mean when the documentation says
apache module mod-rewrite must be installed
How do I go about doing this?

Re: Does SEO URLs work in v1.3?

Posted: Tue Aug 25, 2009 9:52 pm
by OC2PS
Ok, I checked with my host, and the mod is enabled. :P

So,

I have the Apache mod enabled
and have renamed htaccess.html to .htaccess

On clicking products, categories, etc I am getting the correct URLs as defined in SEO keywordsc.

BUT the pages arent displayed ??? . Instead, I get the HTTP 404 error message. :'( :'(

Please help!

Re: Does SEO URLs work in v1.3?

Posted: Tue Aug 25, 2009 9:59 pm
by OC2PS
sooskriszta wrote:renamed htaccess.html to .htaccess
I obviously meant that I've renamed htaccess.txt to .htaccess :P