Excluding some pages to rewriting

Helicon Ape provides support for Apache .htacces and .htpasswd configuration files for Microsoft IIS.
User avatar
Posts: 14
Joined: 11 Jun 2014, 10:50

Excluding some pages to rewriting

17 Jul 2014, 12:55

Hi!

I've a problem with a seo rule.

I want to exclude a link contains the keyword "wbcrop".

To do this, i've tried this code:

----SeoCond %{REQUEST_URI} !wbcrop
----Seorule ^(.+)\.asp(.*)$ $1.html$2 [Redirect, Scope=A]

but anyway seo_rule transform my link in ***/wbcrop.html?path=/***.

I've tried this code as well:

----SeoCond %{REQUEST_FILENAME} !wbcrop
----Seorule ^(.+)\.asp(.*)$ $1.html$2 [Redirect, Scope=A]

but nothing change.

Can you help me? Thanks a lot for it!

User avatar
Posts: 1264
Joined: 07 Mar 2012, 10:16

Re: Excluding some pages to rewriting

18 Jul 2014, 16:24

Hello,

Could you provide rewrite.log for the testing request?
However, I'd suggest using:

Code: Select all
SeoCond %{REQUEST_URI} !^/wbcrop.*

or even something like
Code: Select all
SeoCond $1 !wbcrop.*

instead of
Code: Select all
SeoCond %{REQUEST_URI} !wbcrop

Regards

Return to Helicon Ape

Who is online

Users browsing this forum: No registered users and 3 guests