![]() |
Changing links sitewide in Dreamweaver
After spending some time trying to figure out how to get rid of sponsor links in a fast way across an entire 'static' site, I (finally) discovered Dreamweaver can successfully use Regular Expressions to find the list of everchanging styles of links, whether they be banners or different text.
This goes in the 'Search For' box when finding within your source code option. Code:
<a(.*?)(SOMETHING_IN_URL_UNIQUE_LIKE_YOUR_AFF_ID)(.*?)">(.*?\s*?.*?)</a> Anyway, I know it's nothing special, but might save someone some time. Oh, and if you use Dreamweaver this url might come in handy before your next crash. http://mm-exporter.joexx.de/ |
:( only 12 views
Maybe I should add a sig and become an unsuccessful board whore:error Going against RRRed's advice and bumping my own thread:thumbsup |
not really sure what your trying to say.
But changing links site wide on dreamweaver is very simple, jusy hit CTRL F and make the change there and hit go. |
Quote:
I purchased a network of sites from a guy that did everything 'static', so when his sponsor changed the way they worked he got frustrated and quit basically as his links were all out of date, and fixing them was more a pain than he wanted. All his codes were different as each link went to different sites/campaigns with that sponsor, so just doing a 'specific tag' search for a specific sponsor URL didn't work very fast. The code above basically looks for a '<a' statement that contains something unique about all the links I was trying to replace. So basically I could ditch all those dead links in one go instead of finding and replacing each and every different style of link individually. If you read all that, I hope I was able to clear it up abit:( I think my my communication skills are lacking :) |
I always copy and paste to Notepad and use the 'replace all' function to do mass url changes.
I love notepad |
Cool tip, thanks. You'd still have to upload all those pages, although using the "Select Recently Modified" it might not be that bad.
|
Quote:
|
Find and replace...pretty simple...even shok knows that!
|
Quote:
|
Quote:
|
Thats the first time I've heard someone call Shok smart!
|
All times are GMT -7. The time now is 07:15 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123