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.
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
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
Offline
cheers steve,
I will give it a whirrl.
all the best
Charlie
Offline
Steve you are a star
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
Offline
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 ?
Offline
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
Regarding the question mark in the URL, Ed has the right idea. Phil will update your SEO mod to handle those.
Thanks,
Mark
Offline
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
$title =~ s/\?//g;
instead (just removes the '?' from the URL).
Offline
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
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
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