New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver Topic is solved

Need help installing Joomla! 5.x? For all Joomla! 5.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
HMVWebmaster
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Jan 04, 2015 11:07 am

New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by HMVWebmaster » Wed Jan 17, 2024 8:31 pm

Hello all,

I created a new Joomla! 5 Website on local XAMPP installation and it work well there.
See screenshot 1 attached.
screenshot 1.jpg
After I copied the website to webserver it seems that internal links do not work anymore.
See screenshot 2 attached.
screenshot 2.jpg
Unfortunatley it's the same with the Backend so I cannot check anything there.

I did the server migration manually as described in several articles on the web :

1. phpMyAdmin : export local SQL database and import to webserver database (same name)
2. FTP Joomla Website : copy complete Joomla Website folder via FTP Filezilla from local to webserver
3. configuration.php : adjust SQL database credentiales and log- and tmp- path to webserver needs

I have only around 45MB free webspace available. Could this be the issue ?

Did anyone experienced similar problem ? Any idea what can be the root cause ?

Thanks a lot .

Stefan
You do not have the required permissions to view the files attached to this post.

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9794
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by AMurray » Wed Jan 17, 2024 9:35 pm

Try again to copy, I would suggest, this time, backup your site with Akeeba Backup and copy the site using this method: https://docs.joomla.org/Copying_a_Joomla_website (Copying a website (Common Method)).

Assuming all requirements for web hosting for J5 are met, is the 45MB referring to your web hosting disk space? Yes, that could cause a problem (but don't know why it would cause links not to work).

I'd check with your web host, buy more diskspace, upgrade the hosting plan or something because that figure of 45MB you stated sounds very strange.
Regards - A Murray
General Support Moderator


HMVWebmaster
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Jan 04, 2015 11:07 am

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by HMVWebmaster » Thu Jan 18, 2024 5:28 am

Hello AMurray and Webdongle,

Thanks a lot for yout hints.

Yes, stadtkapelle-hmv-kehl.de works currently since it's linked to our old Joomla Website.

Regarding webspace we have an older webpackage with only 300MB of disk space.

Currently I have two Joomla installations stored there. The old one, which is still working and the new Joomla! 5, which I want to switch to in the end.

Next, I'll try copying the new website with Akeeba method as per above link from AMurray.

I'll let you know about the progress.

Thanks and Best Regards

Stefan

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 9794
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by AMurray » Thu Jan 18, 2024 9:20 am

I'm still doubtful that (as you state, an older web hosting package with only 300MB) is even capable of running Joomla 5 at all. I would say as I did above, the lack of disk space will quickly become an issue even if not contributing to the hyperlink problem originally reported on this thread.
Regards - A Murray
General Support Moderator

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30988
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by Per Yngve Berg » Thu Jan 18, 2024 12:32 pm

Do you have the .htaccess file? Rewrite is depending on it.

HMVWebmaster
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Jan 04, 2015 11:07 am

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by HMVWebmaster » Thu Jan 18, 2024 7:42 pm

I have the .htaccess with following content :

# php settings for Joomla

php_value memory_limit 256M
php_value upload_max_filesize 30M
php_value post_max_size 30M
php_value max_execution_time 30

This is because I'm not allowed to modify php.ini on webserver.

gws
Joomla! Champion
Joomla! Champion
Posts: 5976
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by gws » Thu Jan 18, 2024 8:32 pm

php_value upload_max_filesize 30M
php_value post_max_size 30M
These are both too small, change to 128M to have some overhead.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30988
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by Per Yngve Berg » Thu Jan 18, 2024 8:48 pm

Does your .htaccess file have the content of htaccess.txt?

HMVWebmaster
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Jan 04, 2015 11:07 am

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by HMVWebmaster » Thu Jan 18, 2024 9:14 pm

Per Yngve Berg wrote:
Thu Jan 18, 2024 8:48 pm
Does your .htaccess file have the content of htaccess.txt?
No, it doesn't.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30988
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by Per Yngve Berg » Thu Jan 18, 2024 9:50 pm

Those two files must be combined.

cat .htaccess htaccess.txt > .htaccess

HMVWebmaster
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Jan 04, 2015 11:07 am

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by HMVWebmaster » Fri Jan 19, 2024 6:29 am

Per Yngve Berg wrote:
Thu Jan 18, 2024 9:50 pm
Those two files must be combined.

cat .htaccess htaccess.txt > .htaccess
Hey Ingve, thanks for this advice. I'll try at the weekend.

HMVWebmaster
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Jan 04, 2015 11:07 am

Re: New Joomla! 5 Website - internal links do not work after migration from local xampp to webserver

Post by HMVWebmaster » Sat Feb 24, 2024 11:29 am

Hello all,

in the end I installed Akeeba Backup tool and did the backup and server upload with it.
Now the website is working properly : stadtkapelle-hmv-kehl.de

Thanks to all for your support and hints.

Best Regards

Stefan


Post Reply

Return to “Installation Joomla! 5.x”