On Friday 28 Mar 2008, Nate Willard wrote:
cfset newUrl = reReplaceNoCase(arguments.theString, \W, -, ALL)
But that results in Who-watched-Jay-Leno-s-Show--Last-Night--
cfset newUrl =
reReplaceNoCase(arguments.theString, [^a-zA-Z0-9], -, ALL)
i.e. turn everything that isn't letter or number
Subject: Re: Search Engine Safe/Friendly URLS
On Friday 28 Mar 2008, Nate Willard wrote:
cfset newUrl = reReplaceNoCase(arguments.theString, \W, -, ALL)
But that results in Who-watched-Jay-Leno-s-Show--Last-Night--
cfset newUrl =
reReplaceNoCase(arguments.theString, [^a-zA-Z0-9], -, ALL
On Friday 28 Mar 2008, exH wrote:
With a plus on the end
[^a-zA-Z0-9]+
Ahh, yes.
May or may not be what the OP wants, but I think your's works better.
--
Tom Chiverton
Helping to quickly generate visionary designs
on: http://thefalken.livejournal.com
But that would turn Blah is the movie's ending's
into : blah-is-the-movie-s-ending-s
right? It doesn't handle punctuation?
Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 28 Mar 2008, exH wrote:
With a plus on the end
[^a-zA-Z0-9]+
Ahh, yes.
May or may not be what the OP wants, but I think
On Friday 28 Mar 2008, Nate Willard wrote:
But that would turn Blah is the movie's ending's
into : blah-is-the-movie-s-ending-s
right? It doesn't handle punctuation?
It does what it says on the tin :-)
If you want to remove all the ' first, just replace() them into nothing then
do the reg.
Id just do it with 2
[^a-z0-9] with nothing
Then spaces with _
-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: Friday, March 28, 2008 12:54 PM
To: CF-Talk
Subject: Re: Search Engine Safe/Friendly URLS
On Friday 28 Mar 2008, Nate Willard wrote:
But that would
I'm trying to use the following:
cfset newtitle = reReplaceNoCase(newtitle, \W, -, ALL)
The problem with the above is the following string microsoft-yahoo is turned
into microsoft--yahoo adding another dash... Is there a way to add a negative
or escape to the code above so dashes aren't
I'm working to turn the follow below into a friendly URL.
Who watched Jay Leno's Show [Last Night]
I tried using:
cfset newUrl = reReplaceNoCase(arguments.theString, \W, -, ALL)
But that results in Who-watched-Jay-Leno-s-Show--Last-Night--
Is there a regex that can do this task in a way to
Google does treat SES URLs slightly differently in that it will spider pages at
a significantly slower rate if it thinks the pages are dynamic. It is designed
that way so that it doesn't bring the site down by over enthusiastic spidering.
I redeveloped an existing application into fusebox, so
: 25 April 2005 13:34
To: CF-Talk
Subject: RE: Are search engine safe URLs really necessary?
I use a custom 404 handler that does a database lookup from a table of
vanity URLs. It evaluates the last value of a list separated by / and
searches the database for the url...
Simple enough
For those of you taking a lot of time getting your dynamic site URLs
to look like static ones, this article may be of interest to you:
http://www.emediawire.com/releases/2005/4/emw232456.htm
(I am in no way affiliated with the site. It just happened to come up
in a Google Alert and covers a
Subject: Are search engine safe URLs really necessary?
For those of you taking a lot of time getting your dynamic site URLs
to look like static ones, this article may be of interest to you:
http://www.emediawire.com/releases/2005/4/emw232456.htm
(I am in no way affiliated with the site. It just
, April 25, 2005 6:18 AM
To: CF-Talk
Subject: RE: Are search engine safe URLs really necessary?
Yeah, I think search engines are happier about querystrings now, but:
We have customers who put their URLs in printed marketing materials, so
there is no way we are going to have users typing in:
/index.cfm
Subject: RE: Are search engine safe URLs really necessary?
I use a custom 404 handler that does a database lookup from a table of
vanity URLs. It evaluates the last value of a list separated by / and
searches the database for the url...
Simple enough for me.
HTH,
Jeff
-Original
On 4/25/05, Jeff Garza [EMAIL PROTECTED] wrote:
I use a custom 404 handler that does a database lookup from a table of
vanity URLs. It evaluates the last value of a list separated by / and
searches the database for the url...
You realise that when a search engine hits a 404 it turns around
Couldn't you combine it with a cfheader statuscode=200 or something
though?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: 25 April 2005 14:44
To: CF-Talk
Subject: RE: Are search engine safe URLs really necessary?
Jeff,
While that works, doesn't
My point exactly ;-)
~k
-Original Message-
From: Kay Smoljak [mailto:[EMAIL PROTECTED]
Sent: 25 April 2005 13:44
To: CF-Talk
Subject: Re: Are search engine safe URLs really necessary?
On 4/25/05, Jeff Garza [EMAIL PROTECTED] wrote:
I use a custom 404 handler that does
Al Everett wrote:
For those of you taking a lot of time getting your dynamic site URLs
to look like static ones, this article may be of interest to you:
http://www.emediawire.com/releases/2005/4/emw232456.htm
(I am in no way affiliated with the site. It just happened to come up
in a
I use a similar setup to Jeff purely for search engine optimisation. You can
set the HTTP status code to 200 and googlebot does index.
Another point is that while google may index sites with complex URL's this in
itself does not constitute search engine optimisation but rather is just a
Message -
From: Kay Smoljak [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, April 25, 2005 6:44 AM
Subject: Re: Are search engine safe URLs really necessary?
On 4/25/05, Jeff Garza [EMAIL PROTECTED] wrote:
I use a custom 404 handler that does a database lookup from
This is an excellent product for SEF URLS:
http://helicontech.com/linkfreeze/
Best part about it is that you do not have to modify your existing url key
pair schema.
Just my 2 cents.
Phil
---
[This E-mail has been scanned for viruses.]
Just finished my article. Enjoy
http://www.fusionauthority.com/Article1.cfm/ArticleID=4226
Great article Michael.I tried to implement the code you posted, and found one thing people should be aware of. The use of a colon in a URL may not be allowed if you're using Microsoft IIS.It seems that
Just finished my article. Enjoy
http://www.fusionauthority.com/Article1.cfm/ArticleID=4226
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
? http://cfeclipse.tigris.org
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Dinowitz
Sent: Tuesday, July 06, 2004 9:44 PM
To: CF-Talk
Subject: Re: search engine safe URLs
I have. When I redid the HoF site in SES urls, the amount of search
agents
thats why u stick your dynamic content in your meta tags
been that way 4 yrs now
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
http://www.mysite.com/index.cfm?page=productSummarycatID=12
however, most search engines will only index the index.cfm
page sine
the remainder of the url is dynamic.
This seems to be a commonly voiced fear but searching on
various search engines simply doesn't seem to back this
Hello all,
I have an app that calls pages dynamically via switching statements and
url variables similar to early fusebox applications.
Something like:
http://www.mysite.com/index.cfm?page=productSummarycatID=12
however, most search engines will only index the index.cfm page sine the
remainder
however, most search engines will only index the index.cfm page sine the
remainder of the url is dynamic.
I wonder how much that is still true. Admittedly, I do mostly intranet-based work, but I recently built a site for my wife's real estate business and had no problems with URLs for a Fusebox
http://www.mysite.com/index.cfm?page=productSummarycatID=12
however, most search engines will only index the index.cfm page sine the
remainder of the url is dynamic.
This seems to be a commonly voiced fear but searching on various
search engines simply doesn't seem to back this up and I
It doesnt take much searching on google or yahoo to see that dynamic
pages DO get indexed.
I read somewhere recently that its not an issue of dynamic pages being
indexed, however, the issue is that the search engines will not spider
pages from a dynamic url.
This is not something that i have
, 06 Jul 2004 22:36:24 -0700
Subject: Re: search engine safe URLs
To: CF-Talk [EMAIL PROTECTED]
It doesnt take much searching on google or yahoo to see that dynamic
pages DO get indexed.
I read somewhere recently that its not an issue of dynamic pages being
indexed, however, the issue
Has anybody tried this FriendlyURL Servlet.
http://www.spike.org.uk/go/friendly-urls
If yes please email me some sites whicha re using that.
Ketan Patel
G3 Technology Group, LLC
http://www.instantposition.com
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User
www.ukcfug.org
Spike does good stuff.
Stephen
Ketan Patel wrote:
Has anybody tried this FriendlyURL Servlet.
http://www.spike.org.uk/go/friendly-urls
If yes please email me some sites whicha re using that.
Ketan Patel
G3 Technology Group, LLC
http://www.instantposition.com
[Todays
reap, but by the seeds you plant.
--Robert Louis Stevenson
Reply Separator
Subject:RE: Search engine safe urls
Author: [EMAIL PROTECTED]
Date: 8/3/2003 10:50 PM
I've looked high and low and I can't find an answer that works so I'm going to ask
I've looked high and low and I can't find an answer that
works so I'm going to ask here. In the release notes for
the updater it says as one of the features fixed:
Search engine safe URLs of the form *.cfm/* did not work
properly, so a URL such as http:/server/test.cfm/alpha/beta
would
I've looked high and low and I can't find an answer that works so I'm going to
ask here. In the release notes for the updater it says as one of the features
fixed:
Search engine safe URLs of the form *.cfm/* did not work properly, so a URL such
as http:/server/test.cfm/alpha/beta would not execute
Michael,
Just a shot in the dark: is your web server software intercepting the urls and pumping
out 404's before CF can get hold of them?
--
---
Matt Robertson, [EMAIL PROTECTED]
MSB Designs, Inc. http://mysecretbase.com
safe urls
I've looked high and low and I can't find an answer that works so I'm going
to
ask here. In the release notes for the updater it says as one of the
features
fixed:
Search engine safe URLs of the form *.cfm/* did not work properly, so a URL
such
as http:/server/test.cfm/alpha/beta would
: Search engine safe urls
I've looked high and low and I can't find an answer that works so I'm
going to
ask here. In the release notes for the updater it says as one of the
features
fixed:
Search engine safe URLs of the form *.cfm/* did not work properly, so a
URL such
as http:/server/test.cfm
Michael, check this tutorial out:
http://tutorial90.easycfm.com/
Pablo
- Original Message -
From: Heald, Tim [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, July 28, 2003 3:41 PM
Subject: RE: Search engine safe urls
The two main things I have heard about this are:
1
28, 2003 3:41 PM
Subject: RE: Search engine safe urls
The two main things I have heard about this are:
1. Make sure to have a base tag in you head
2. Uncheck the check for files existence (or something like that) in
Internet Services Manager Home Directory Configuration
So far
Nope. A 500:
http://lotauctions.com/index.cfm/name=a
The server encountered an error and was unable to complete your request.
Message: ISAPI DLL D:\CFusionMX\runtime\lib\wsconfig\2\jrun.isa returned error
status for this request.
Basically, the url is being passed to the CF engine and it has no
I have something that works here for me in CFMX with the latest updater. Its a
modification of Ben Forta's cf_FakeURL, which threw a 500 when I just tried it a
second ago. So did Pablo Varando's code.
The problem is cgi.path_info is coming back as the same value as what I'd expect to
see
-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 2:31 PM
To: CF-Talk
Subject: Re: Search engine safe urls
I have something that works here for me in CFMX with the latest
updater. Its a modification of Ben Forta's cf_FakeURL, which
So does this code work for you? I'm running on the internal web server, but
as I said its throwing the identical error you reported.
Nope. I've used my original code as well as new tests and the core problem is
that the url is not being recognized as containing a valid template by CFMX. It
To: CF-Talk
Subject: Re: Search engine safe urls
Nope. A 500:
http://lotauctions.com/index.cfm/name=a
The server encountered an error and was unable to complete your request.
Message: ISAPI DLL D:\CFusionMX\runtime\lib\wsconfig\2\jrun.isa
returned error
status for this request.
Basically
, July 28, 2003 4:55 PM
To: CF-Talk
Subject: Re: Search engine safe urls
Nope. A 500:
http://lotauctions.com/index.cfm/name=a
The server encountered an error and was unable to complete your request.
Message: ISAPI DLL D:\CFusionMX\runtime\lib\wsconfig\2\jrun.isa
returned error
To: CF-Talk
Subject: Re: Search engine safe urls
I think your missing the point and origin of SES urls. Basically, it goes
back
to 96 or 97 and has to do with a small 'feature' where anything AFTER the
file
name would be pumped into the CGI.path_info. It didn't matter if it had
question
marks, equal
: Monday, July 28, 2003 3:08 PM
To: CF-Talk
Subject: Re: Search engine safe urls
I think your missing the point and origin of SES urls. Basically, it goes
back
to 96 or 97 and has to do with a small 'feature' where anything AFTER the
file
name would be pumped into the CGI.path_info
://somedomain.com/test.html/name/value
Mark
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 28, 2003 3:43 PM
To: CF-Talk
Subject: Re: Search engine safe urls
Did you do something to IIS or to CFMX? Are you on a single site machine or
multi-homed? I'm
Hi
Can anyone tell me how you turn urls into search engine safe urls in
Coldfusion Mx
i.e
TURN
index.cfm?user=Joe Bloggsbgcolor=bluecounty=2
INTO
index.cfm/user=Joe Bloggs/bgcolor=blue/county=2
etc etc
Thanks in Advance
Jerry Staple
Web Application Developer
Certified
descriptionfile creates url variables from search engine safe
urls/description
/fileInfo
---
cfswitch expression=#thisTag.executionMode#
cfcase value=start
cfloop list=#caller.cgi.path_info# index=item
delimiters
Message-
| From: Taco Fleur [mailto:[EMAIL PROTECTED]
| Sent: Monday, June 30, 2003 13:15
| To: CF-Talk
| Subject: RE: Search engine safe urls in CFMX
|
|
| You could form al your links like index.cfm/var=foo
|
| And use the custom tag I wrote, remove the cf_error tag
anything else, so a good spot
for it would be in the application.cfm file.
Taco Fleur
-Original Message-
From: Taco Fleur [mailto:[EMAIL PROTECTED]
Sent: Monday, 30 June 2003 9:15 PM
To: CF-Talk
Subject: RE: Search engine safe urls in CFMX
You could form al your links like index.cfm/var=foo
Interesting..
-Original Message-
From: Hugo Ahlenius [mailto:[EMAIL PROTECTED]
Sent: Monday, 30 June 2003 9:20 PM
To: CF-Talk
Subject: RE: Search engine safe urls in CFMX
Taco,
Your documentation/header seems invalid, if it is supposed to be XML:
you forgot to close the createDate tag
Would the following url be search engine safe?
http://www.autopartsland.com/Cart.cfm?model_id=21make_id=4
Or would it need to be like so
http://www.autopartsland.com/Cart.cfm/model_id/21/make_id/4/
Douglas Brown
Email: [EMAIL PROTECTED
Douglas,
Number two...
Any question marks in your URL and anything after it becomes a query string.
Regards
Stephen
- Original Message -
From: Douglas Brown [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 5:22 PM
Subject: Search engine safe
Would
Would the following url be search engine safe?
http://www.autopartsland.com/Cart.cfm?model_id=21make_id=4
Or would it need to be like so
http://www.autopartsland.com/Cart.cfm/model_id/21/make_id/4/
It depends on the engine, but I'd tend to use the slashed version as all
engines will like
To: CF-Talk
Subject: RE: Search engine safe
Would the following url be search engine safe?
http://www.autopartsland.com/Cart.cfm?model_id=21make_id=4
Or would it need to be like so
http://www.autopartsland.com/Cart.cfm/model_id/21/make_id/4/
It depends on the engine, but I'd tend to use
PROTECTED]
Sent: Wednesday, May 22, 2002 9:26 AM
Subject: RE: Search engine safe
how do accomplish something like this? Never did this before.
Would be a
good thing know.
Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org
-Original Message-
From: Philip
This script does an ok job of SES for non boxed apps.
http://cfhub.com/contributions/SES/
Any help doing so would be appreciated.
__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ:
, May 22, 2002 5:26 PM
Subject: RE: Search engine safe
how do accomplish something like this? Never did this before. Would be a
good thing know.
Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org
-Original Message-
From: Philip Arnold - ASP [mailto
Ben forta wrote an article (non fusebox) on this. put arachnophobia forta
into google and you'll find stuff. DRE
-Original Message-
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 10:41 AM
To: CF-Talk
Subject: Re: Search engine safe
Yeah I am having
]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 9:26 AM
Subject: RE: Search engine safe
how do accomplish something like this? Never did this before.
Would be a
good thing know.
Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED]
http://www.sheriff.org
Douglas,
Although Erik's tag is a FB3 component, it can still be used on its own.
Regards
Stephen
- Original Message -
From: Douglas Brown [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 5:41 PM
Subject: Re: Search engine safe
Yeah I am having trouble
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 9:27 AM
To: CF-Talk
Subject: RE: Search engine safe
how do accomplish something like this? Never did this before. Would be a
good thing know.
Anthony Petruzzi
Webmaster
954-321-4703
[EMAIL PROTECTED
Have a look here...
http://www.erikv.com/downloads.html
Only warning is that the tag is written for CF5, so you'll
have to convert it from CFScript if you want to use it on cf4.x
CFScript works in CF4.5... Not as speedy as it is in CF5, but it still
works
Philip Arnold
Technical Director
how do accomplish something like this? Never did this before.
Would be a good thing know.
Look in CGI.SCRIPT_NAME or CGI.REQUEST_URI (depends on your server
software), then treat it as a list with / as the delimiter
After the template name, the first entry is the variable name, the
second is
because as I said the important search engines should index you
correctly.
Robert Everland III
Dixon Ticonderoga
Web Developer Extraordinaire
-Original Message-
From: Shawn Kernes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 12:45 PM
To: CF-Talk
Subject: RE: Search engine safe
Has
69 matches
Mail list logo