![]() |
Recips & RegEx help please
I'm trying to set up reciprocal links but have no knowledge with RegEx (regular expressions). I'm not even sure it is possible to do this but before giving up, I thought I'd ask around.
Anyway, this is the base code for the reciprocal link: Now, I would like to know, if it is indeed possible, what is the RegEx code to use so that the "exquisiteangelz.gif" file could be located in any folder, not necessarily in the same folder as the gallery or free site (eg. /images/recips/exquisiteangelz.gif). Any help would be appreciated. Thank you! :) |
To prevent loops, you want to name the recip to something different than exquisiteangelz.gif and use something like:
Code:
RewriteEngine on Keep in mind, anywhere else on your site that you use RewriteEngine on, you will need to use RewriteOptions inherit or add the rule to that .htaccess as well. |
Quote:
This is actually not for my site but for submitters to link back to my site with the appropriate reciprocal link. |confused| |
Code:
RewriteRule .*exquisiteangelz.gif$ /images/recips/exquisiteangelzrecip.gif [L] |
Oh ok, thanks for the suggestion!
Do you happen to know the RegEx code that would suit my case at the same time? |
If I understand what you're asking:
Code:
RewriteEngine on Store your recip in /images/recips/ as exquisiteangelzrecip.gif and link to it as ![]() |
LOL! No, you completely misunderstood me. What I want is to install the code in my first post with RegEx so that submitters can use that code to link back to my site on their galleries and free sites. ;)
|
why do you need to use regular expressions to make a recip link?
|
|
Okay, thanks guys for your help!
I have finally found the issue and got it worked. :D |
All times are GMT -4. The time now is 10:57 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc