Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 3 Hours, 47 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

How to replace random created outgoing links..
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to replace random created outgoing links..
#7814
How to replace random created outgoing links.. 1 Year, 11 Months ago  
Hi Peter

Your extensions are wery unique and interesting.
Trying out the ReReplacer, I need to know what and how I can replace random (66.7.215.129:2082/fronten/x3/xx1/ - 66.7.215.129:2082/fronten/x3/xx2/ - (66.7.215.129:2082/fronten/x3/xx9/) outgoing links (they all change but the only variable is
66.7.215.129).. to: mydomain.com

What would be the reg text to search for?
and how is the further set up..

Thanks in advance
iveth
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7816
Re: How to replace random created outgoing links.. 1 Year, 11 Months ago  
so what part needs to be replaced with mydomain.com?
66.7.215.129:2082/fronten/x3/xx1/ -> www.mydomain.com:2082/fronten/x3/xx1/ ???

And is the IP always the same?
If so, just replace 66.7.215.129 with www.mydomain.com
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
Last Edit: 2010/03/13 22:48 By peter.
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7821
Re: How to replace random created outgoing links.. 1 Year, 11 Months ago  
Peter

The problem is that all the links only have one fixed variable and that is: 66.7.215.129

but I need to change all the links and they are all different but the all contain: 66.7.215.129

so If I just change: 66.7.215.129 then my links will give an 404 error, because the:
66.7.215.129:2082/fronten/x3/xx1/ does not exist..
If I only change: 66.7.215.129 - the my new links would look like: mydomain.com:2082/fronten/x3/xx1/ and that does not work I need the new link to only show: www.mydomain.com

I hope I have explained it well

Thanks
iveth
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7825
Re: How to replace random created outgoing links.. 1 Year, 11 Months ago  
try this:
Search (regex):
66\.7\.215\.129[^"]*

Replace:
www.mydomain.com

or

http://www.mydomain.com
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7826
Re: How to replace random created outgoing links.. 1 Year, 11 Months ago  
Thanks

And if I had a text domain instead of an IP then I would make it like this:

mydomain.com[^"]*

Replace:
www.mydomain1.com

Is that correct?
iveth
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7828
Re: How to replace random created outgoing links.. 1 Year, 11 Months ago  
yes, a bit saver would be to also match the starting quote:
"mydomain.com[^"]* -> "www.mydomain1.com
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#7831
Re: How to replace random created outgoing links.. 1 Year, 11 Months ago  
Sorry

I am a beginnger here:
is it:
"mydomain.com[^"]* -> "www.mydomain1.com
replace
www.mydomain1.com


or

"mydomain.com[^"]* -> "www.mydomain1.com
replace
"www.mydomain1.com


or

"mydomain.com[^"]*
replace
"www.mydomain1.com


or

mydomain.com[^"]*
replace
"www.mydomain1.com


Thnaks
iveth
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#7839
Re: How to replace random created outgoing links.. 1 Year, 11 Months ago  
Search:
"mydomain.com[^"]*

Replace:
"www.mydomain1.com


That will replace stuff like:
<a href="mydomain.com/what/ever" ...

with:
<a href="www.mydomain1.com" ...


You can also search for:
"(mydomain.com|66\.7\.215\.129)[^"]*


That will replace both mydomain.com and 66.7.215.129.
Peter van Westen
Admin
Posts: 9169
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8006
Re: How to replace random created outgoing links.. 1 Year, 10 Months ago  
It Works! Thanks
iveth
Posts: 6
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
MaxCDN | Content Delivery Network | Accelerate your site to the max
Open Source Training | Online Joomla! Training and Support
hosting joomla