Skip to main content
spelling
Source Link
Jason Aller
  • 3.7k
  • 28
  • 43
  • 40

I had a problem with duplicated urls, like:

/term/this-is-the-term /term/this%20is%20the%20term 

WichWhich I already solved by making sure all the links use the - instead,

Now I want to redirect any indexed url with %20 so the problem dissapearsdisappears from googleGoogle webmasters (and is actually solved)

How can I redirect any url using %20 to - ?

I know basics of simple redirections but I smell this can only be achieved using a regex, wichwhich I am not so familiar with,

Any hint?

I had a problem with duplicated urls, like:

/term/this-is-the-term /term/this%20is%20the%20term 

Wich I already solved by making sure all the links use the - instead,

Now I want to redirect any indexed url with %20 so the problem dissapears from google webmasters (and is actually solved)

How can I redirect any url using %20 to - ?

I know basics of simple redirections but I smell this can only be achieved using a regex, wich I am not so familiar with,

Any hint?

I had a problem with duplicated urls, like:

/term/this-is-the-term /term/this%20is%20the%20term 

Which I already solved by making sure all the links use the - instead,

Now I want to redirect any indexed url with %20 so the problem disappears from Google webmasters (and is actually solved)

How can I redirect any url using %20 to - ?

I know basics of simple redirections but I smell this can only be achieved using a regex, which I am not so familiar with,

Any hint?

Source Link
Toni Michel Caubet
  • 20.3k
  • 59
  • 219
  • 390

.htaccess redirect all urls using %20 to -

I had a problem with duplicated urls, like:

/term/this-is-the-term /term/this%20is%20the%20term 

Wich I already solved by making sure all the links use the - instead,

Now I want to redirect any indexed url with %20 so the problem dissapears from google webmasters (and is actually solved)

How can I redirect any url using %20 to - ?

I know basics of simple redirections but I smell this can only be achieved using a regex, wich I am not so familiar with,

Any hint?