Images vanished after Domain switch Images vanished after Domain switch
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Images vanished after Domain switch

Started by whisky, October 12, 2005, 03:21:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

whisky

Hi,
   I switched the domain name that I have associated with my account with my hosting provider and after that when I goto the new domain my Gallery is there but no image shows up. Why is this so? How can this problem be solved? Please help me out...

the Gallery is at http://www.evilpeshawar.com/Gallery/

Thanks in advance!

Casper

I tried to view the images direct, and got a 'you don't have permission' error.

Look into your htaccess files.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

whisky

Thanks for the prompt reply. I tried to replace the old domain inside the .htaccess file with the new one but it didn't help. When I try to open the pictures from File Manager in Cpanel, they still don't show. Although they are there  :(

Nibbler

Temporarily rename the .htaccess file and see if that affects anything.

whisky

Yeah that worked! Thanks Nibbler. Do I really need the .htaccess file?

Nibbler

Post the contents of the file here and we can tell you if you need it or not. Remove any sensitive information if necessary.

whisky

I deleted the old file and a new file with the same name was created automatically. Everything's fine now :D