Post by OneBadFlower » Fri Sep 21, 2007 9:03 am

stupid question but...
what is it?  can you give me an example of what it makes different if i use it? 

have things running fairly smooth and dont want to mess it up if it won't be helpful. 

thanks for your time.

Newbie

Posts

Joined
Mon Aug 27, 2007 8:44 am


Post by tchemis » Fri Sep 21, 2007 11:02 am

Hello,

URL Aliases are shortcuts for your website, if you notice when viewing a product or something similar you have a huge URL in the address bar, http://domain.tld/index.php?controller= ... oduct_id=1. Search engines do not generally like this. When you enable URL Alias your URL's will look like so http://domain.tld/Product-1/ this is not only easy to copy and paste for reference, but search engines prefer this method.

As far as I know, this is currently broken in 0.7.6.1, if you want to get more information, key in "Search Engine Friendly URL" in your search engine.

If you want to see this working live look at http://demo.opencart.com/
Last edited by tchemis on Fri Sep 21, 2007 11:04 am, edited 1 time in total.

Active Member

Posts

Joined
Tue Aug 21, 2007 9:23 am

Post by OneBadFlower » Fri Sep 21, 2007 1:03 pm

tchemis,
thanks for the explanation.

what is wrong if i turn it on and it uses the new url but i get a 404 error?  did i miss a step somewhere?

Newbie

Posts

Joined
Mon Aug 27, 2007 8:44 am


Post by d77 » Fri Sep 21, 2007 1:26 pm

i have not seen a 404, but as mentioned, the url alias feature is broken in 0.7.6.1. daniel is aware of this issue but not sure when the fix will be released.

User avatar
d77
Active Member

Posts

Joined
Sat Apr 14, 2007 8:04 am

Post by tchemis » Fri Sep 21, 2007 9:15 pm

OneBadFlower wrote: tchemis,
thanks for the explanation.

what is wrong if i turn it on and it uses the new url but i get a 404 error?  did i miss a step somewhere?
did you rename htaccess.txt to .htaccess?

Active Member

Posts

Joined
Tue Aug 21, 2007 9:23 am

Post by OneBadFlower » Fri Sep 21, 2007 9:43 pm

i did rename the file.  it may have something to do with the mod_rewrite thing that's needed.  not sure how/where to discover if it's there or not.

thanks man.

Newbie

Posts

Joined
Mon Aug 27, 2007 8:44 am


Post by tchemis » Sat Sep 22, 2007 12:00 am

OneBadFlower wrote: i did rename the file.  it may have something to do with the mod_rewrite thing that's needed.  not sure how/where to discover if it's there or not.

thanks man.
Go to Admin > Configuration > Server Info in your store admin section and look for mod_rewrite

Active Member

Posts

Joined
Tue Aug 21, 2007 9:23 am

Post by d77 » Sat Sep 22, 2007 12:10 am

interesting. i've never thought to do that, however i have the url aliases working in previous opencart installations and see no "mod_rewrite" information on the server info page?

User avatar
d77
Active Member

Posts

Joined
Sat Apr 14, 2007 8:04 am

Post by OneBadFlower » Tue Sep 25, 2007 8:36 am

i'm running 7.3.1 and when i look at server info there is no "mod_rewrite".
here's what my .htaccess file looks like.  anyone see a mistake?  it's in the top level directory of the cart.

# converts from php4 to php5 for directory
AddType x-mapp-php5 .php

# 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

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
Last edited by OneBadFlower on Tue Sep 25, 2007 11:53 am, edited 1 time in total.

Newbie

Posts

Joined
Mon Aug 27, 2007 8:44 am


Post by BFTUK » Fri Sep 28, 2007 7:46 pm

d77 wrote: , but as mentioned, the url alias feature is broken in 0.7.6.1. daniel is aware of this issue but not sure when the fix will be released.
Any idea on when a fix for this might be available?

SEO Blog | UK Website Directory


New member

Posts

Joined
Sun Jul 29, 2007 4:20 pm

Post by BFTUK » Tue Oct 02, 2007 4:40 am

Any ideas when a fix for this might be available?

I'm almost ready to release a live shop using opencart but i really need 'pretty' SEO friendly URLS.

SEO Blog | UK Website Directory


New member

Posts

Joined
Sun Jul 29, 2007 4:20 pm

Post by Daniel » Tue Oct 02, 2007 5:34 am

This wll be with the next release.

Unfortantly I have started a mamouth task of redesigning the admn. I can not release another version until its complete.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by BFTUK » Tue Oct 02, 2007 3:11 pm

Thanks for the update Daniel.

Any idea of a timescale for this? Looks like i'll have to release with what i've got and then sort out 301 redirects for the relevant URLS.

SEO Blog | UK Website Directory


New member

Posts

Joined
Sun Jul 29, 2007 4:20 pm

Post by Daniel » Wed Oct 03, 2007 4:29 am

BFTUK wrote: Thanks for the update Daniel.

Any idea of a timescale for this? Looks like i'll have to release with what i've got and then sort out 301 redirects for the relevant URLS.
I would say maybe 2 weeks.

There are a few extra features I'm adding into the next release.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by carlosmoutinho » Wed Oct 03, 2007 8:28 pm

HI,

Congrats on opencart!

I see that in the demo, url aliases are working.
Are there any code changes from the "vanilla" 0.7.6.1?
Or just a different .htaccess?


Posts

Joined
Wed Oct 03, 2007 8:16 pm
Who is online

Users browsing this forum: No registered users and 6 guests