Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 239
  • Last Modified:

problem with url rewrite

i'm trying to point

/nl/blog/webdesign/in-2013-surfte-20-procent-via-een-tablet-of-smartphone

to

/nl/blog/webdesign/in-2013-was-gemiddeld-20-een-mobiele-website-bezoeker

This is what i have now.
What is wrong?

      RewriteRule ^nl/blog/webdesign/in-2013-surfte-20-procent-via-een-tablet-of-smartphone$  nl/blog/webdesign/in-2013-was-gemiddeld-20-een-mobiele-website-bezoeker
0
ads711
Asked:
ads711
1 Solution
 
Patrick BogersDatacenter platform engineer LindowsCommented:
Not very experienced with Apache but i would try:

RewriteRule ^nl\blog\webdesign\in-2013-surfte-20-procent-via-een-tablet-of-smartphone$  nl\blog\webdesign\in-2013-was-gemiddeld-20-een-mobiele-website-bezoeker
0
 
ads711Author Commented:
hmm, does not work
0
 
GaryCommented:
Redirect 301 /nl/blog/webdesign/in-2013-surfte-20-procent-via-een-tablet-of-smartphone /nl/blog/webdesign/in-2013-was-gemiddeld-20-een-mobiele-website-bezoeker

Open in new window


This sets a 301 permanent redirect and is assuming no querystring paramaters
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now