Re: Parse .cfm files
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 20:20:47 -0500
Chung Leong wrote:
Jerry Stuckle wrote:
Chung Leong wrote:
Jerry Stuckle wrote:
Chung Leong wrote:
Jerry Stuckle wrote:
But .cfm is a Cold Fusion template file. Why would you have php code in it?
You'll be much better off in the long run if you change the extension to
something standard like .php. Or just get yourself a virtual private
server where you can do anything you want.
My guess is that the OP needs to preserve the URLs in existing links.
This is probably better handled through Apache rewrite than changing
the file extension of the source files.
A 301 redirect takes care of things quite nicely - and permanently.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
One would use rewrite to do that, naturally.
You can use a rewrite. But a redirect will allow the search engines to
pick up the change without affecting current page rank. So eventually
you can get rid of your redirects.
The easiest way to perform the redirection is with a rewrite rule, with
the R=301 flag.
See http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewriterule
True. You can use a rewrite to do a 301 redirect.
But not all rewrites are 301 redirects. A key point here.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- References:
- Parse .cfm files
- From: Matthew256
- Re: Parse .cfm files
- From: Jerry Stuckle
- Re: Parse .cfm files
- From: Chung Leong
- Re: Parse .cfm files
- From: Jerry Stuckle
- Re: Parse .cfm files
- From: Chung Leong
- Re: Parse .cfm files
- From: Jerry Stuckle
- Re: Parse .cfm files
- From: Chung Leong
- Parse .cfm files
- Prev by Date: Re: insert data -
- Next by Date: Re: Can no connects to mySQL database
- Previous by thread: Re: Parse .cfm files
- Next by thread: Re: Parse .cfm files
- Index(es):
Relevant Pages
|