Posted by Jerry Stuckle on 10/31/06 01:20
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@attglobal.net
>>>>==================
>>>
>>>
>>>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@attglobal.net
==================
Navigation:
[Reply to this message]
|