WordPress.org

Ready to get started?Download WordPress

Forums

url trailing trash - how to get rid of it? (3 posts)

  1. altfgcom
    Member
    Posted 2 years ago #

    Hello,

    Is there a plugin that could redirect the following (just an example)

    /blog/tag/xyz/?iframe=true&width=95%&height=95%

    to the actual url?

    /blog/tag/xyz/

    For some reason, the url featuring the "iframe..." isn't redirected on its own. It doesn't get a "404 error message" either. Instead, visitors/bots get to see that page "xyz/iframe..." Even though it doesn't really exist.

    The above, by the way, is just a sample. I've noticed this happening with other sorts of trailing url trash. Would like to get rid of them, if at all possible.

    Any assistance would be much appreciated.

  2. WordPress, by default, turns all ?blah blah blah add-ones into just showing the page.

    So if you went to domain.com/2011/postname?foo=baz&bar=zap, it would show you the CONTENT of domain.com/2011/postname/, but if you have a plugin that parsed foo=baz&bar=zap, they would be triggered as well.

    It's not a problem, and disabling that would break other tools you migth be using.

  3. altfgcom
    Member
    Posted 2 years ago #

    Thanks. In that case we'll just leave things as they are. It's not a common occurrence, anyway. Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags