Forum Moderators: phranque
At the end is my URL
The full test is to read at www.example.com/article.
I just checked my log files, already around 10 people wrote as URL
www.example.com/article.
So when placing an article in a print media, it's a good idea to create some redirects like
RedirectPermanent /article. http://example.com/article/index.htm
RedirectPermanent /article, http://example.com/article/index.htm
This is print media user secure .htaceess design
# Remove trailing punctuation for printed-text links (Remove any trailing
# hex-encoded characters or any characters not one of a-z, A-Z, or 0-9)
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.+)(\%(25)*[0-9a-f]{2}¦[^a-z0-9])\ HTTP/[0-9]+\.[0-9]$ [NC]
RewriteRule . http://%{HTTP_HOST}/%1 [R=301,L]
Replace the broken pipe "¦" character in the code above with a solid pipe character before use; Posting on this forum modifies the pipe characters.
Jim