[svlug] gotten myself in trouble with permalinks,

Don Marti dmarti at zgp.org
Sun Mar 26 08:33:52 PST 2006


begin Rick Moen quotation of Sun, Mar 26, 2006 at 02:38:18AM -0800:

> Or, he could fix his underlying WordPress / Apache httpd configuration
> problem to make the URLs be the way he wants them in the first place.

Once other sites start making incoming links, though,
you have to do something, and it usually isn't
possible to get every maintainer of every incoming
link to fix theirs.

If you're just redirecting an old URL that you have
no intention of ever using again, be sure to use an
R in your RewriteRule directive, so the "right" and
"wrong" URLs don't look like duplicate content.

Here's an example from when I replaced all my GIFs
with PNGs:

RewriteRule (.*)\.gif $1.png [R]

-- 
Don Marti                    
http://zgp.org/~dmarti/                
dmarti at zgp.org    




More information about the svlug mailing list