Post by DanielK » Mon Jan 08, 2007 8:11 am

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?
Last edited by DanielK on Mon Jan 08, 2007 12:42 pm, edited 1 time in total.

Newbie

Posts

Joined
Mon Jan 08, 2007 4:57 am


Post by Daniel » Tue Jan 09, 2007 10:53 pm

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.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by DanielK » Wed Jan 10, 2007 12:11 am

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.

Newbie

Posts

Joined
Mon Jan 08, 2007 4:57 am


Post by Lord_Azure » Wed Jan 10, 2007 12:47 am

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

New member

Posts

Joined
Thu Nov 23, 2006 2:16 am

Post by DanielK » Thu Jan 11, 2007 12:38 am

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?

Newbie

Posts

Joined
Mon Jan 08, 2007 4:57 am


Post by Daniel » Thu Jan 11, 2007 11:14 am

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!

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Lord_Azure » Sat Jan 13, 2007 12:17 am

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.

New member

Posts

Joined
Thu Nov 23, 2006 2:16 am

Post by Daniel » Sat Jan 13, 2007 10:37 pm

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.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by DanielK » Tue Jan 16, 2007 11:40 pm

any ideas on the alias issue? anybody?

Newbie

Posts

Joined
Mon Jan 08, 2007 4:57 am


Post by ricardo » Sun Jan 21, 2007 7:33 am

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

Newbie

Posts

Joined
Sun Jan 21, 2007 6:38 am

Post by DanielK » Tue Jan 30, 2007 12:03 am

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  ;D .

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!

Newbie

Posts

Joined
Mon Jan 08, 2007 4:57 am


Post by chomp » Sun Feb 25, 2007 11:29 am

i added a mod to create sef urls automatically.

http://forum.opencart.com/index.php?topic=68.0

New member

Posts

Joined
Sat Feb 24, 2007 7:19 am

Post by d77 » Sat Apr 14, 2007 8:10 am

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!

User avatar
d77
Active Member

Posts

Joined
Sat Apr 14, 2007 8:04 am

Post by d77 » Sat Apr 14, 2007 10:02 am

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.

User avatar
d77
Active Member

Posts

Joined
Sat Apr 14, 2007 8:04 am
Who is online

Users browsing this forum: No registered users and 7 guests