Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Forums

  • Welcome to Support
  • Guidelines
  • Get involved
  • Log in
  • Welcome to Support
  • Guidelines
  • Get involved
  • Log in
Skip to content

Forums / Plugin: Redirection / redirect loop / how can I not match a string?

redirect loop / how can I not match a string?

  • vaidab

    (@vaidab)


    10 years, 7 months ago

    I need to redirect http://www.onlinepersonalitytests.org/the-five-love-languages-quiz/words to http://www.onlinepersonalitytests.org/the-five-love-languages-quiz/words-of-affirmation
    Sometimes the first URL gets a lot of other tracking codes (like words&…)

    If I do a redirect with regexp for http://www.onlinepersonalitytests.org/the-five-love-languages-quiz/words to http://www.onlinepersonalitytests.org/the-five-love-languages-quiz/words-of-affirmation I actually go into a loop: http://www.onlinepersonalitytests.org/the-five-love-languages-quiz/words-of-affirmation-of-affirmation-of-affirmation

    What can I do?

    https://wordpress.org/plugins/redirection/

The topic ‘redirect loop / how can I not match a string?’ is closed to new replies.

  • Redirection
  • Frequently Asked Questions
  • Support Threads
  • Active Topics
  • Unresolved Topics
  • Reviews

Tags

  • redirect loop
  • regex
  • 0 replies
  • 1 participant
  • Last reply from: vaidab
  • Last activity: 10 years, 7 months ago
  • Status: not resolved
  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.