Redirect 301 with comma in the URL
9 posts
• Page 1 of 1
Redirect 301 with comma in the URL
Dear all,
I would like to make a 301 redirect from this URL :
http://www.anatum.com/FR/Bagages,et,voy ... gories.awp
to this URL
http://www.anatum.com/sacs-bagages-et-m ... gories.awp
what is the simpliest way to make it ?
BR
Patrice
I would like to make a 301 redirect from this URL :
http://www.anatum.com/FR/Bagages,et,voy ... gories.awp
to this URL
http://www.anatum.com/sacs-bagages-et-m ... gories.awp
what is the simpliest way to make it ?
BR
Patrice
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Redirect 301 with comma in the URL
Hello,
The simpliest way would be:
Regards
Andrew
The simpliest way would be:
- Code: Select all
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP:Host} ^www\.anatum\.com$ [NC]
RewriteRule ^FR/Bagages,et,voyages,publicitaire-categories\.awp$ /sacs-bagages-et-maroquinerie-categories.awp [NC,R=301,L]
Regards
Andrew
Re: Redirect 301 with comma in the URL
I have an other question
How to redirect
http://www.anatum.com/FR/something.awp to http://www.anatum.com/something.awp
BR
Patrice
How to redirect
http://www.anatum.com/FR/something.awp to http://www.anatum.com/something.awp
BR
Patrice
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Redirect 301 with comma in the URL
you want to redirect one page only or you want the rule to hide FR for all pages?
regards
Andrew
regards
Andrew
Re: Redirect 301 with comma in the URL
In fact i would like to cancel all the FR from all the pages
If you can help me
Thank you
BR
Patrice
If you can help me
Thank you
BR
Patrice
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Redirect 301 with comma in the URL
The redirect rule would look like:
Regards
Andrew
- Code: Select all
RewriteRule ^FR/(.*) /$1 [NC,R=301,L]
Regards
Andrew
- tidaltides
-
- Posts: 24
- Joined: 27 Nov 2012, 21:57
Re: Redirect 301 with comma in the URL
This is only applicable for running FRs, right?
- HeliconAndrew
-
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Redirect 301 with comma in the URL
Yes, all paths that start with FR folder.
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 7 guests