Confused about using wildcards for url's
-
yaksushi
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 9
-
Thank you received: 0
-
-
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
12 years 3 months ago #210
by admin
Hi,
the problem here is you may have other URLs like these, that match your rule why they should not. So, if this is not the case, you could use the rule:
But this matches also an URL like:
www.domain.com/yaksocial/234-is-a-demo/friends
The only secure solution is to create a rule for each URL As example:
^/yaksocial/113-soccerdad/friends$
This rule matches only with the first URL.
Hope this helps.
Luigi
Please Log in or Create an account to join the conversation.
-
yaksushi
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 9
-
Thank you received: 0
-
-
12 years 3 months ago #211
by yaksushi
Wow thanks for your extremely fast response! If I wanted to create a rule to put noindex on all the pages that have friends listed you first rule would work fine correct?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.180 seconds