Remove Trailing Folder IIS 8.5
2 posts
• Page 1 of 1
Remove Trailing Folder IIS 8.5
Hi all,
I´am trying use rewrite rules to remove a trailing folder (/p/)
Old: pictures/my-picture-01.jpg/p/
New: pictures/my-pciture-01.jpg
^pictures/(.*)/p/$ pictures/$1 [R=301,NC,L]
But it doesn´t work
I´am trying use rewrite rules to remove a trailing folder (/p/)
Old: pictures/my-picture-01.jpg/p/
New: pictures/my-pciture-01.jpg
^pictures/(.*)/p/$ pictures/$1 [R=301,NC,L]
But it doesn´t work
Re: Remove Trailing Folder IIS 8.5
Hello.
The full .htaccess config would look like:
RewriteEngine On
RewriteRule ^pictures/(.*)/p/$ pictures/$1 [R=301,NC]
The full .htaccess config would look like:
RewriteEngine On
RewriteRule ^pictures/(.*)/p/$ pictures/$1 [R=301,NC]
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 30 guests