Using a custom URL parameter in Wordpress (with permalinks)?

Posted by kiko on Stack Overflow See other posts from Stack Overflow or by kiko
Published on 2010-03-12T05:09:56Z Indexed on 2010/03/12 5:17 UTC
Read the original article Hit count: 178

Hello -

Is there a way to perhaps edit .htaccess to add a custom URL parameter to Wordpress, so that the parameter is not stripped out by permalinks?

I have a Wordpress site with a page that queries a separate (non-Wordpress) database. I passed the URL parameter "pubID" to display individual books and it is working OK.

Example: http://www.uglyducklingpresse.org/catalog/browse/item/?pubID=63

But the individual books are not showing up properly in Google - maybe because they all have the same auto-generated "canonical" URL meta tab - one with the "pubID" parameter stripped out.

Thank you for any help.

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about .htaccess