Streaming live at 10am (PST)

Unable to use query string parameters in 301 redirect


#1

Need the ability to add “?” and “=” to 301 redirects: a lot of URLs contain question marks and equality symbols.

For example, this: https://www.progress.org/articles/two-undeniable-arguments-for-lvt?google_editors_picks=true won’t redirect, but this: https://www.progress.org/articles/two-undeniable-arguments-for-lvt will.

Also, https://www.progress.org/articles/covering-up-bounty-wheres-a-good-conspiracy-theory-when-you-really-need-one&sa=U&ved=0ahUKEwj6iMeLw5nLAhVlEpoKHTk3ADsQpwIIGzAC&usg=AFQjCNEfQgQHZa_dJpS6cmaqjvMdQ-dE8w won’t redirect, whereas this https://www.progress.org/articles/covering-up-bounty-wheres-a-good-conspiracy-theory-when-you-really-need-one will.


#2

So I don't really understand what the bug is in Webflow.... Can you please verify. Thanks! :wink:


#3

The error being that you can’t put in a 301 redirect if the URL contains either a question mark (?) or an equality symbol (=).


#4

Where you able to do this before in Webflow? :wink:


#5

Hey @ConsciousApps currently it's not possible to create 301 redirects with the "?" and "=" characters. My recommendation will be to redirect the following:

https://www.progress.org/articles/two-undeniable-arguments-for-lvt -> /articles/two-undeniable-arguments-for-lvt

and

https://www.progress.org/articles/covering-up-bounty-wheres-a-good-conspiracy-theory-when-you-really-need-one -> /articles/covering-up-bounty-wheres-a-good-conspiracy-theory-when-you-really-need-one

Please let me know if this helps :smiley:


#6

@Waldo Woudnt this be in the Wish List area? :wink::grinning::blush:


#7

Thank you, @Waldo. The old path has to start with “/” so your suggestion won’t work.

@VLADinSACRAMENTO, it seems like an essential, yet non-existing feature, hence my filing this in the bug section.


#8

Okay, that's fine with me. :wink::grinning::blush:


#9

Hi @ConsciousApps, as @Waldo mentioned, the ability to use query string parameters is not yet supported, but this is already on the wish list here http://forum.webflow.com/t/ability-to-add-301-or-302-redirects-to-urls-with-querystring-parameters/23411

I hope this helps. I can understand that this would be useful. When there is an update to the wish list item, it will be announced.


#10

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.