Page 1 of 1
URL alias issues
Posted: Mon Jan 08, 2007 8:11 am
by DanielK
When URL aliases are enabled, only product 1 under latest products appears to actually format properly (
http://domain.com/Product-1/), no other links appear to use the alias structure. The official demo reflects this as well.
Aside that, the alias does nothing on my install. click the link for product 1 and nothing happens. The browser sits and spins its wheels for a while, then stops, but the page doesn't change. all other links work ok, but the format of the link doesn't change regardless of whether alias is enabled or not. I'm guessing I'm missing a setting somewhere, probably php related. I checked with my host and am being told that mod_rewrite is turned on and functional. Ideas/suggestions?
Re: URL alias issues
Posted: Tue Jan 09, 2007 10:53 pm
by Daniel
Intreasting.
When you click the link and nothing happens it could be the .htaccess file is not working properly.
please msg a link to your web site or post in the forum.
Re: URL alias issues
Posted: Wed Jan 10, 2007 12:11 am
by DanielK
http://www.flatbrokeauctions.com/opencart/
i posted the link in my profile as well. I checked with the host and they don't believe its them. I haven't changed or hacked anything in the code, and have made minimal changes via admin. I even got the installer working, so that was done automatically as well. I thought it was an issue with mod_rewrite, but i am assured by the host it is working normally. I would tend to agree its an htaccess issue, but I am not sure where.
Re: URL alias issues
Posted: Wed Jan 10, 2007 12:47 am
by Lord_Azure
I had this problem and found that changing the url aliases slightly helped.
Check my url alias list on my shop
www.mysticaldaze.co.uk/shop
Re: URL alias issues
Posted: Thu Jan 11, 2007 12:38 am
by DanielK
Lord_Azure:
Hmm, maybe I missed something. I looked at your site, but the links looked like the URL format is the same as the default.
http://www.mysticaldaze.co.uk/shop/inde ... ry&path=23
I thought the alias was supposed to help make the URL appear more like a static address? Or am I not looking in the right spot?
Re: URL alias issues
Posted: Thu Jan 11, 2007 11:14 am
by Daniel
Lord_Azure wrote:
I had this problem and found that changing the url aliases slightly helped.
Check my url alias list on my shop
www.mysticaldaze.co.uk/shop
I'm so happy some one is actually using this shopping cart!
I think you are the first!
Re: URL alias issues
Posted: Sat Jan 13, 2007 12:17 am
by Lord_Azure
The first of many I am sure.
I am glad you like my shop, however, I would like to be able to incorporate the shop into a current web site to make it look part of it. But I'm sure that will come in time.
Keep up the good work.
Re: URL alias issues
Posted: Sat Jan 13, 2007 10:37 pm
by Daniel
Lord_Azure wrote:
The first of many I am sure.
I am glad you like my shop, however, I would like to be able to incorporate the shop into a current web site to make it look part of it. But I'm sure that will come in time.
Keep up the good work.
Its easy to do if you know html. OpenCart has its own template system.
Re: URL alias issues
Posted: Tue Jan 16, 2007 11:40 pm
by DanielK
any ideas on the alias issue? anybody?
Re: URL alias issues
Posted: Sun Jan 21, 2007 7:33 am
by ricardo
URL alias on opencart is not automatic at this point. You must add them one by one through the admin panel. Go to admin -> Configuration -> URL Alias. For example, if you want to have a static URL for Product 2, click the buttom "Insert":
URL Query: view=product&product_id=2
URL Alias: Product-2/
That's it!
What I really like about opencart is that is accepts international characters as well. If my product is called Açaí, it will display exactly that in the address bar, which is wonderful for web searches.
Ricardo
Re: URL alias issues
Posted: Tue Jan 30, 2007 12:03 am
by DanielK
Sorry about the delayed response, been moving for the past week. I appreciate the reply, even if it wasn't what I wanted to hear. I was thinking it was automatic, which is why I kept missing it. I'll have to poke around the code and see if i can figure out some way to automate it. I have too much revolving inventory to have to deal with setting everything manually. that, and I'm lazy

.
Now that that is figured out, any ideas on why the aliases don't work on my install? They just refresh the page, and don't appear to go anywhere. Did I break something or miss something else? Thanks for the help!
Re: URL alias issues
Posted: Sun Feb 25, 2007 11:29 am
by chomp
i added a mod to create sef urls automatically.
http://forum.opencart.com/index.php?topic=68.0
Re: URL alias issues
Posted: Sat Apr 14, 2007 8:10 am
by d77
hi guys, just starting to work with open cart - really liking it, can't wait to see what comes out of the next ver.
right now, i'm having the same issue with the aliases as described above. i've done nothing major to customize the install yet and the default aliases are not working (ie domain.com/store/about/).
the page just refreshes and doesn't actually go to the about page.
i found some code to help test mod_rewrite and it is enabled on my server.
could there be an issue with the rewrite rules and the fact that i am installed in a subfolder called "store" and not the root of my domain?
the "about us" is working on the demo cart here:
http://demo.opencart.com/
but is not working here:
http://www.flatbrokeauctions.com/opencart/ (same issue as me)
thanks!
Re: URL alias issues
Posted: Sat Apr 14, 2007 10:02 am
by d77
kinda answered my question. when i installed opencart, it was set up like this:
www.domain.com/store
i created a subdomain so its now:
store.domain.com
and the alias rewrite started working right away.