Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#126 04-14-2005 16:20:03

celdirect
Member
From: UK
Registered: 04-01-2005
Posts: 782

Re: Now Available: An Seo Module For Ccp

hi,

been tring this - with no luck I get error 404


It's a bit more complicated than changing just the ste_layout.txt page.

It's simplest if you get a global text editor such as search and replace (free trial at .

You will have to use judgement about which ones to change.
General idea is to change
CODE
(CGIVAR)common_url(/CGIVAR)&pg=

to
CODE
(CGIVAR)seo_base_url(/CGIVAR)/page----

but I suspect that it is not safe to change the ones where extra stuff is being passed around during checkout, so I left them the "messy" urls.

To fix the output of the search form, change:
CODE
(CGIVAR)common_url_form(/CGIVAR)

to
CODE
(CGIVAR)seo_base_url(/CGIVAR)


I did not change the ones in admin files for fear of breaking something, but I did change them on all the ste_ files not involving checking out and it worked fine.
Safest is to just change the layout page and the user pages, but that still leaves several places where the messy urls get generated.

Note: if you're using mysql you need to change the data source for site elements to csv first, then fetch the files, do the edits, put them back and change the data source back to mysql.

any ideas?  i have download the stie elements CSV - not sure what to change in there.

regards
Charlie

Offline

 

#127 04-14-2005 16:37:08

steveblueradio
Member
From: Belfast, Northern Ireland
Registered: 06-28-2004
Posts: 755
Website

Re: Now Available: An Seo Module For Ccp

Hi charlie,
   Good to see you finally bought the SEO module, you'll not regert it. I had the same problem the first time.

What you have to do is change the hard coded urls on your ste_layout

the ones that look like (CGIVAR)common_url(/CGIVAR)&pg=store (elc)

now replace thses with the new SEO one ie

(CGIVAR)seo_base_url(/CGIVAR)/page--

to get the full url right you need to do this:

(CGIVAR)seo_base_url(/CGIVAR)/page--(Category Name)--(Category Reference String).html

I have a Category Reference String called Database with the , Category Name Database Software so this will give me the following url

(CGIVAR)seo_base_url(/CGIVAR)/page--Database-software--Database.html

always make sure theres two dashes after page-- , if the category name is two or more words put a dash between each word, then two dashes between the category name and the Category Reference String and a .html at the end

I hope I explaineed this clearly:-( 

Hope this helps let me know if you need more help.

Cheers
Steve 


I'm Gene Hunt, Your DCI, And it's 1973, Nearly Dinner Time, I'm havin hoops........

Cheers,
Steve
-------------------

Offline

 

#128 04-15-2005 15:32:51

celdirect
Member
From: UK
Registered: 04-01-2005
Posts: 782

Re: Now Available: An Seo Module For Ccp

cheers steve,

I will give it a whirrl.

all the best

Charlie

Offline

 

#129 04-15-2005 19:12:19

celdirect
Member
From: UK
Registered: 04-01-2005
Posts: 782

Re: Now Available: An Seo Module For Ccp

Steve you are a star wink

just did  what you said- it worked  like a treat! no more 404 errors!! hoo whooooooo


going to change other pages in time now.  you were right i should of got the seo mod ages ago, its paying off already. (big shout out to Mark here, great job, thanks)

on the same subject

on my splash page i have the code

(CGIGET TYPE="SUB" VALUE="ste_cat_disp")

but this is not showing the seo short url - just the messy one? why is this?  do i need to hard code the seo mod into this?

all the best

Charlie smile 

Offline

 

#130 11-28-2005 00:46:19

kaz
Member
Registered: 05-19-2004
Posts: 583

Re: Now Available: An Seo Module For Ccp

Hi Mark/Phil,

It seems that an SEO category with a question mark in the name - such as "Which Can I Walk On?" (which generates the URL )  - displays the main splash page.

If I remove the '?' it works OK but I need the ? to work.
What needs to be done to fix this?

This makes no sense, I thought that whatever was within the '----' was irrelevant.
If  works
why doesn't  ?


Kevin Zaleski -  -

Offline

 

#131 11-28-2005 01:30:14

Ed_H
Member
From: Smashachusetts
Registered: 09-12-2003
Posts: 397
Website

Re: Now Available: An Seo Module For Ccp

I believe that any "?" in a url is interpreted as the beginning of a query string.  If you don't mind not having it in the url, but want the question mark in the text you can try adding

$title =~ s/\?/-/g;

in: ste_seo.pl > sub ste_seo_make_url (with the similar entries)

Offline

 

#132 11-28-2005 11:05:19

ATS
Member
From: Near Chicago, Illinois
Registered: 12-20-2003
Posts: 183
Website

Re: Now Available: An Seo Module For Ccp

Regarding the question mark in the URL, Ed has the right idea. Phil will update your SEO mod to handle those.

Thanks,

Mark


ATS is an authorized provider of support and custom modifications to ClickCartPro software.

Offline

 

#133 11-28-2005 11:21:55

kaz
Member
Registered: 05-19-2004
Posts: 583

Re: Now Available: An Seo Module For Ccp

Thanks, Ed!   I thought the htaccess parsing took precedence over the query string parsing, guess I was wrong.

There's already enough dashes, I used

Code:

$title =~ s/\?//g;

instead (just removes the '?' from the URL).


Kevin Zaleski -  -

Offline

 

#134 12-09-2005 00:56:14

wvuatl
Member
From: Atlanta, GA
Registered: 03-13-2004
Posts: 106
Website

Re: Now Available: An Seo Module For Ccp

jrmanagement,11/24/2004 11:24:27 AM wrote:

how can i change my title

for example



the title is tape packs @ jungleravers.com

how do i take out the @ jungleravers.com ?

Does anyone know where I can make this change?

Thanks!

Offline

 

#135 04-17-2006 22:08:41

Ninja
Member
Registered: 08-06-2004
Posts: 48

Re: Now Available: An Seo Module For Ccp

First of all, I love the ATS SEO mod.. okay so heres the quesion:

I am integrating Google Analytics with the SEO modded website.  I am wondering if it would be possible to have each section of the checkout process with a seperate page title.  For example the checkout process would look like this:

1. domain.com/page--Enter-Information--cart.html
2. domain.com/page--Checkout-Select-Shipping--cart.html
3. domain.com/page--Review-Order--cart.html
4. domain.com/page--Order-Complete--cart.html

This would be insanely helpful.  It would be amazing in fact.  What do you think?

Offline

 

#136 07-09-2006 02:19:04

halo1234
Member
Registered: 03-16-2006
Posts: 56

Re: Now Available: An Seo Module For Ccp

Mark or anyone who can help. I've started to use the SEO & SEO pro mods & I have a few questions.

I tried the below as other have mentioned on this forum & was directed to the wrong page
(CGIVAR)seo_base_url(/CGIVAR)/page--Armani--Armani.html

So I tried this & it works fine. Is this ok to use?
(CGIVAR)seo_base_url(/CGIVAR)/cat--Armani--Armani.html

and

/cat--Armani--Armani.html for the hard coded index/splash page

On one of my links the url looks like the below. I've tried messing around, but I can't get rid of the %20's


Tops--Long%20Sleeve%20Tops.html




Thanks

Offline

 

Board footer