CRE Loaded Community

Banner


Board index » Loaded Commerce Support » Tips & Tricks

All times are UTC - 5 hours




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Create SEO links
PostPosted: Thu Oct 30, 2008 10:21 am 
Offline
CRE Newbie

Joined: Wed Aug 20, 2008 6:40 am
Posts: 20
Hello,

I'm working on a Category Box which will be showen on each page under my footer. I'm getting the categories right from my database, but only my links (the hrefs) aren't working.

I want the category names linking to the SEO url's, like this:
Code:
<a href="/category-name-c-1.html">Category Name</a>


So if anybody can help me out here how I can generate the 'category-name-c-1.html' part of the link?
Allready looked at the code of my category box on the left side, but I can't make anything out of it...

Thanks in advance


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Thu Oct 30, 2008 12:19 pm 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11084
Location: Nappanee Indiana
Are you using an existing url rewrite?
if not, you are going to need one before you can rewrite urls.. or manually rewrite them via mod rewrites in the .htaccess file..
for exact usage for doing it yourself,
google 301 redirects as well as seo rewrite urls

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Thu Oct 30, 2008 12:40 pm 
Offline
CRE Newbie

Joined: Wed Aug 20, 2008 6:40 am
Posts: 20
I'm using SEO URLs from CRELoaded itself.

I'm now linking to this url's: index.php?cPath=1
Once on the page it rewrites the URL to category-name-c-1.php, but I want that url in my href of my link, so Google don't go to 'index.php?cPath=1' but goes to 'category-name-c-1.php'.


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Thu Oct 30, 2008 12:49 pm 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11084
Location: Nappanee Indiana
if the cart is re-writing it to category-name-c-1.php
that is the url you need to use in your example (php and not html.. copy it exactly)

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Thu Oct 30, 2008 1:15 pm 
Offline
CRE Newbie

Joined: Wed Aug 20, 2008 6:40 am
Posts: 20
sorry, my mistake, i meant category-name-c-1.html...

Not sure if my question is clear enough, I'm gonna form it a little bit simpler:
this is what I have now:
Code:
<a href="/forum.html?cPath=1">Category Name</a>

...and this is what I'm trying to do:
Code:
<a href="/category-name-c-1.html">Category Name</a>

I know the url will be rewritten to a SEO url, but I'm still linking to a ugly url.

Thx by the way for your quick answers ;)


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Thu Oct 30, 2008 2:19 pm 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11084
Location: Nappanee Indiana
if category-name-c-1.html is how the cart is re-writing, then your code is correct

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Thu Oct 30, 2008 2:38 pm 
Offline
CRE Newbie

Joined: Wed Aug 20, 2008 6:40 am
Posts: 20
He is redirecting correctly, but isn't Google gonna find 2 pages with the same content in it? -> /index.php?cPath=1 & /category-name-c-1.html


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Thu Oct 30, 2008 2:40 pm 
Offline
CRE Legend
User avatar

Joined: Fri Jan 13, 2006 1:00 am
Posts: 11084
Location: Nappanee Indiana
not if both urls are the same
<a href="/category-name-c-1.html">Category Name</a>
then they only have one path to follow

old links will still work, but they will be dropped once they can no longer find a path

or you can put in 301 redirects from old to new to speed up the process

_________________
Jason Miller
https://www.creloadedexpert.com
CRE Loaded Expert Team
CRE Loaded Support
Home of the FIRST 100% tableless CRE Loaded template


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Tue Jun 23, 2009 7:16 am 
Offline
CRE Newbie

Joined: Tue Jun 23, 2009 7:11 am
Posts: 1
snowball wrote:
sorry, my mistake, i meant category-name-c-1.html...

Not sure if my question is clear enough, I'm gonna form it a little bit simpler:
this is what I have now:
Code:
<a href="/index.php?cPath=1">Category Name</a>

...and this is what I'm trying to do:
Code:
<a href="/category-name-c-1.html">Category Name</a>

I know the url will be rewritten to a SEO url, but I'm still linking to a ugly url.

Thx by the way for your quick answers ;)


I am also done the same mistake, but still I have cleared from your posting. Thanks for your sharing..

_________________
Affordable website promotion services


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Thu Jul 02, 2009 7:00 am 
Offline
CRE Newbie

Joined: Thu Jul 02, 2009 6:51 am
Posts: 1
It seems very nice ideas included to your posting, I got more ideas from your posting,Thanks for your sharing guys,...

_________________
Seo training


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Tue Jul 14, 2009 2:40 am 
Offline
CRE Newbie

Joined: Thu Jul 09, 2009 8:02 pm
Posts: 11
your link can not work. you must write the whole link. :mrgreen:

_________________
For some useful modules to creloaded
http://www.commercexp.com/products/creloaded-modules/?


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Wed Sep 07, 2011 7:41 am 
Offline
CRE Newbie

Joined: Wed Sep 07, 2011 6:58 am
Posts: 2
Location: 4815 N Ridgeway Ave, Chicago, IL 60625-5714
You are right supportjason, here link is not complete...
snowball you must use the links in such format
<a href="www.example.com/category-name-c-1.html">Category Name</a>
Hope this will work!

_________________
discount dance shoes


Top
 Profile  
 
 Post subject: Re: Create SEO links
PostPosted: Tue Nov 29, 2011 2:03 pm 
Offline
CRE Newbie

Joined: Sat Nov 26, 2011 3:27 am
Posts: 3
You have to write the complete url started with http in anchor tag.hope this will work.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

Board index » Loaded Commerce Support » Tips & Tricks

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
It is currently Thu May 17, 2012 9:39 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy