Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
is there a way to do it?

 

 


MEKAEEL
User

Jan 4, 2007, 1:08 AM

Post #1 of 5 (368 views)
Shortcut
is there a way to do it? Can't Post

Hello guys!

I'm facing a great problem which affected my articles, all because of my hosting company Frown recently the company moved to new servers and for some reason they changed the IP address of my website. Unfortunately I've been using the old IP address in many links in my articles, for several reasons, and now all the links are broken Frown the problem is that I have more than 2300 articles! and I use MySQL database. I can't really search all my articles to replace the old IP manually, so I was wondering if there is a simpler way around it maybe?

any kind of help is appreciated, I'm devastated with all the emails I'm getting from users about the links Pirate

best wishes,
mekaeel


simonwh
User

Jan 4, 2007, 6:01 AM

Post #2 of 5 (362 views)
Shortcut
Re: [MEKAEEL] is there a way to do it? [In reply to] Can't Post

Are these links in the article content itself? <gulp!!>

If they're in the templates it'd be an easy enough fix but im not sure of any magic-bullet way of updating every article unless you could extract the data from the mysql database and replace it with the amended text.

I know it should be possible but you'd probably need someone with mysql experience to do it for you.


MEKAEEL
User

Jan 4, 2007, 11:21 AM

Post #3 of 5 (355 views)
Shortcut
Re: [simonwh] is there a way to do it? [In reply to] Can't Post

yes they are in the article content Frown

I already changed all the templates links. I know however that there are only 100-150 articles that needs to be edited. And I was thinking about the same thing you suggested, I thought about changing the database type to flat files and then download the articles, after that I use the extensive search in Frontpage to search and replace all the files that contain the links, upload them again, and lastly change again to MySQL. But this sounds really scary, unless someone from interactivetools tells me this is totally safe I will not do it.

any ideas?


Donna
Staff / Moderator


Jan 5, 2007, 2:33 PM

Post #4 of 5 (336 views)
Shortcut
Re: [MEKAEEL] is there a way to do it? [In reply to] Can't Post

Hi Mekaeel,

What you're describing (switching to flat file) would work -- the only thing I would recommend is using a plain text editor, rather than FrontPage. FrontPage really isn't suitable for editing non-HTML pages. The database file is definitely not HTML, so FrontPage is likely to add in all sorts of things you don't want.

We use a program called UltraEdit here -- anything like that would work, or even Notepad if your database isn't too big.

The main thing to do to make sure that what you're doing doesn't harm anything is 1) Make a backup! 2) Test everything thoroughly while it's still flatfile before switching back to MySQL -- republish, poke around, take a look at some of the articles you modified, etc. That way, if anything DID go wrong, you can easily revert to your backed up file.

I hope this helps! :)

Donna


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.


MEKAEEL
User

Jan 5, 2007, 5:40 PM

Post #5 of 5 (329 views)
Shortcut
Re: [Donna] is there a way to do it? [In reply to] Can't Post

Thank you so much for the reply Donna!

I was about to start my plan when I thought of using the search engine to find how many articles include the old IP number, I don't know why I didn't think of this before! When I found that there are only 150 I hesitated and reconsidered, even though it would take some time to edit them all I think it's better and safer after all. If it was 500 or more articles to edit then yes I would go with the scary plan certainly.

anyway thank you again so much,
mekaeel

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4