Excluding some pages to rewriting
2 posts
• Page 1 of 1
Excluding some pages to rewriting
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!
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!
- HeliconAndrew
- Posts: 1264
- Joined: 07 Mar 2012, 10:16
Re: Excluding some pages to rewriting
Hello,
Could you provide rewrite.log for the testing request?
However, I'd suggest using:
or even something like
instead of
Regards
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
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests