texte = --0050450180b6a53c3e04b7351171Content-Type: text/plain; charset=ISO-8859-1Here is a link to a live page with a URL that is totally rewritten toprovide page content:http://www.connectedcollector.com/replacements/Arabia_Of_Finland_China/Paju.htmThe href in the link at the bottom of the page that reads "Click here formore info" is the result of a [thisurl]. I assure you that there is nodirectory for "Arabia_Of_Finland_China or a file named Paju.htm.BillIf you really want to dig into this, here is the rewrite:RewriteEngine On#permanent redirect of urls with _-_ to a conforming hyphenless urlRewriteRule ^/replacements/(.*)(_-_)(.*).htm /replacements/$1_$3.htm [R=301]RewriteRule ^/replacements/(.*)-(.*).htm /replacements/$1_$2.htm [R=301]#finds maker only (no number before .htm) => /replacements/search1.htmRewriteCond %{REQUEST_URI} !/index.htmRewriteRule ^/replacements/([0-9A-Za-z_]+[^0-9]).htm$/replacements/search1.htm?manufname=$1 [L,NC]#finds maker and range => /replacements/search2.htmRewriteCond %{REQUEST_URI} !/replacements/([0-9A-Za-z_]+[^0-9]).htm$RewriteRule ^/replacements/([0-9A-Za-z_]+)_([0-9]+).htm$/replacements/search2.htm?manufname=$1&start=$2 [L,NC]#finds maker and pattern => /replacements/search3.htmRewriteRule ^/replacements/([^/]+)/([0-9A-Za-z_]+).htm/replacements/search3.htm?manufname=$1&patternname=$2 [L,NC]Please note that the first two lines in the rewrite end with a 301 redirectso the browser actually sends a different request to the rewritten URL.Here's a portion of the code from /replacements/search3.htm (what is runeven though the browser's address is unchanged:
--0050450180b6a53c3e04b7351171Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printable
Here is a link to a live page with a URL that is totally rewritten to =provide page content:
The href in the link at the bottom of the page that rea=ds "Click here for more info" is the result of a [thisurl]. =A0I =assure you that there is no directory for "Arabia_Of_Finland_China or =a file named Paju.htm. =A0
Bill
If you really want to dig= into this, here is the rewrite:
RewriteEngin=e On
#permanent redirect of urls with _-_ to a con=forming hyphenless url
RewriteRule ^/replacements/(.*)(_-_)(.*).htm /replacements/$1_$3.htm [=R=3D301]
RewriteRule ^/replacements/(.*)-(.*).htm /replacements/$=1_$2.htm [R=3D301]
#finds maker only (no number be=fore .htm) =3D>=A0/replacements/search1.htm
RewriteCond %{REQUEST_URI} !/index.htm
RewriteRule ^/replace=ments/([0-9A-Za-z_]+[^0-9]).htm$ /replacements/search1.htm?manufname=3D$1 [=L,NC]
#finds maker and range =3D>=A0/replacemen=ts/search2.htm
RewriteCond %{REQUEST_URI} !/replacements/([0-9A-Za-z_]+[^0-9]).htm$=div>
RewriteRule ^/replacements/([0-9A-Za-z_]+)_([0-9]+).htm$ /replacem=ents/search2.htm?manufname=3D$1&start=3D$2 [L,NC]
<=div>#finds maker and pattern =3D> /replacements/search3.htm
Rewrit=eRule ^/replacements/([^/]+)/([0-9A-Za-z_]+).htm /replacements/search3.htm?=manufname=3D$1&patternname=3D$2 [L,NC]
Please note that the first two lines in the rewrite end with a 301 red=irect so the browser actually sends a different request to the rewritten UR=L. =A0
Here's a portion of the =code from /replacements/search3.htm (what is run even though the browser=9;s address is unchanged: =A0
<table width=3D"580" align=3D"ce=nter"><tr><td align=3D"center">
[switch value=3D[v_id]]
[case value=3DV001]
[mfrcl=ean] [patternname] [mfrsuffix]
[/case]
[case value=3DV0=02]
Find more [patternname] by [mfrclean]=A0
[/case]
[case value=3DV003]
Locate pieces in [mfrclean] [mfrsuffix]
=
[/case]
[case value=3DV004]
More [mfrclean] [patte=rnname] information can be found here.
[/case]
[case va=lue=3DV005]
Other sources of [patternname][/case]
[case value=3D]
<=div>[mfrclean] [patternname][/case]
[default]
Click her=e for more info...
[/default]
[/switch]
</=a>
</font></td></tr></table>
=
--0050450180b6a53c3e04b7351171--
Associated Messages, from the most recent to the oldest:
--0050450180b6a53c3e04b7351171Content-Type: text/plain; charset=ISO-8859-1Here is a link to a live page with a URL that is totally rewritten toprovide page content:http://www.connectedcollector.com/replacements/Arabia_Of_Finland_China/Paju.htmThe href in the link at the bottom of the page that reads "Click here formore info" is the result of a
[thisurl]. I assure you that there is nodirectory for "Arabia_Of_Finland_China or a file named Paju.htm.BillIf you really want to dig into this, here is the rewrite:RewriteEngine On#permanent redirect of urls with _-_ to a conforming hyphenless urlRewriteRule ^/replacements/(.*)(_-_)(.*).htm /replacements/$1_$3.htm [R=301]RewriteRule ^/replacements/(.*)-(.*).htm /replacements/$1_$2.htm [R=301]#finds maker only (no number before .htm) => /replacements/search1.htmRewriteCond %{REQUEST_URI} !/index.htmRewriteRule ^/replacements/([0-9A-Za-z_]+[^0-9]).htm$/replacements/search1.htm?manufname=$1 [L,NC]#finds maker and range => /replacements/search2.htmRewriteCond %{REQUEST_URI} !/replacements/([0-9A-Za-z_]+[^0-9]).htm$RewriteRule ^/replacements/([0-9A-Za-z_]+)_([0-9]+).htm$/replacements/search2.htm?manufname=$1&start=$2 [L,NC]#finds maker and pattern => /replacements/search3.htmRewriteRule ^/replacements/([^/]+)/([0-9A-Za-z_]+).htm/replacements/search3.htm?manufname=$1&patternname=$2 [L,NC]Please note that the first two lines in the rewrite end with a 301 redirectso the browser actually sends a different request to the rewritten URL.Here's a portion of the code from /replacements/search3.htm (what is runeven though the browser's address is unchanged:
[thisurl]">[switch value=[v_id]][case value=V001][mfrclean] [patternname] [mfrsuffix][/case][case value=V002]Find more [patternname] by [mfrclean][/case][case value=V003]Locate pieces in [mfrclean] [mfrsuffix][/case][case value=V004]More [mfrclean] [patternname] information can be found here.[/case][case value=V005]Other sources of [patternname][/case][case value=][mfrclean] [patternname][/case][default]Click here for more info...[/default][/switch] |
--0050450180b6a53c3e04b7351171Content-Type: text/html; charset=ISO-8859-1Content-Transfer-Encoding: quoted-printable