After moving to new server, links are no longer working.

Permalink
I rented a new dedicated server and moved all my web sites to this new server. My mysql databases seem to have transfered okay because the pages are being served up normally. Some links embedded in blocks that point to other internal pages will no longer work. It doesn't mater whether I am using pretty URLs or cID numbers to reference with. Now, I am finding out that the <a href="http://external.domain/webAPI..."> and <img src="http://External.domain/image"> won't work ether.

This has got to be something I'm missing. Could anyone point me in the right direction?

Thanks,
Tom

ThomasJ
 
creativeorange replied on at Permalink Reply
creativeorange
Odd. The exact same thing happened to me just now too. Transferred to a new server and half of the images aren't working even tho they show up in the File Manager.

I'm wondering if it's a Pretty URL/htaccess error.

Let's stay posted on this
ThomasJ replied on at Permalink Reply
ThomasJ
I tried switching pretty URL off and referencing with cIDs but that didn't help ether. I originally thought this was just an internal error to but I am now finding that my banner <a href> links to other domains are also not working which are pure HTML. Could there be some C5 based JavaScript interfering with HTML links?
creativeorange replied on at Permalink Reply
creativeorange
Did you have any 301 redirects setup with the old server? I'm thing at least with my stuff, that there is a redirect conflict going on. I never resolved it. I had to go back to the old server for now but I'm very certain there is something that is trying to point the primary domain in two different directions. I went through the DNS records and cPanel to see if I left something behind but to no avail. I might try looking at the htaccess file tonight.
ThomasJ replied on at Permalink Reply
ThomasJ
Nope, no redirects. I have 2 concrete web sites doing this same thing.

UPDATE;
I have a third site, not c5, that is an old piece of work that's php driven and seemed to be doing the same thing. I found this web site's problem to be that on my new server, the php.ini file had the php short tags,"<?", turned off and I used to use the short tag a lot in my older work. With this older site, the "<?" tags wern't working and my functions that produced the data for my text fields were not working because of this.

Since your's is also a new server setup, you might see if short tages are dissabled in our php.ini file and if they are, turn them on to see if things start working again. Don't forget to restart Apache or whatever web server you are using to reinitialize php.

My links are now working but this still hasn't fixed my anchor tags to external banners. I have reduced the banner code to just the <img scr="///" alt="..."> tag and there is still nothing being displayed in the block, not even the alternate text. I coppied the same FQDN to the top of my browser and the image does load from the source web site. So, this hase to be a problem related to the internal c5 structure.
ThomasJ replied on at Permalink Reply
ThomasJ
I feel incredibly stupid right now. I finally found the problem for my banner and button links. I am posting this final reply for those who have also overlooked the obvious. In the course of my work, I decided to install Adblock in my Firefox browser to stop a few pages of reference information I use from taking minutes to open because of all the advertising and many other external links that take their time responding and loading.

Yes, my final problem here is not a c5 issue. It is just another case of me being so focused on making the web site work, I forgot about ad blocking in my browser.