Support

Site Restoration

#14582 Site restores smoothly, however some links do not work and generate 404 errors.

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by q12321 on Wednesday, 09 January 2013 12:29 CST

q12321

Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Joomla! version: local / remote 2.5.8
PHP version: local 5.3.1/ remote 5.3.8
MySQL version: local 5.1.41/remote 5.1.56
Host: MochaHost
Akeeba Backup version which took the backup: 3.6.12
Kickstart version used to extract the backup: 3.6.0

Description of my issue:

I develop and test my website on a local server XAMPP. Then I backup it using Akeeba Backup and restore on remote server using Kickstart. I have been doing like that for over two years without a problem. A few months ago, I installed Admin Tools. All was working fine until recently I noticed that some links i.e. http://jobera.com/Regions/Canada-USA/, http://jobera.com/Regions/Mid-East-Africa/ generate 404 errors. I tried all suggested solutions without success. Please help.

nicholas
Akeeba Staff
Manager

First remove your .htaccess file. Then log in to your site's backend and go to Components, Admin Tools, .htaccess Maker. Scroll all the way down. Edit the following parameters:

  • Host name for HTTPS requests (without https://)

  • Host name for HTTP requests (without http://)

  • Base directory of your site (/ for domain's root)

to reflect the new location of the site, then click on Save and Create .htaccess.

For example, if your site is restored into http://localhost/example you have to set:

  • Host name for HTTPS requests (without https://): localhost

  • Host name for HTTP requests (without http://): localhost

  • Base directory of your site (/ for domain's root): /example

 

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nicholas
Akeeba Staff
Manager

In case the example wasn't very straightforward. If your site is restored to http://jobera.com (without www, without a subdirectory):

  • Host name for HTTPS requests (without https://): jobera.com
  • Host name for HTTP requests (without http://): jobera.com
  • Base directory of your site (/ for domain's root): /

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

q12321

In Components there is no Admin Tools but com_admintools and there is no .htaccess Maker in it. There is no .htaccess Maker in the entire website.

q12321

Sorry, I misunderstood your instructions. I followed your instruction but nothing changed.

Why most of links are correct but some generate 404 errors?

nicholas
Akeeba Staff
Manager

Can you post a screenshot of the 404 error? I am under the impression that you are getting a Joomla! 404 page, not a hosting 404 page. That would mean that your SEF extension has cached the wrong URLs and you need to purge its cache. I'd recommend talking to the developers of your SEF extension.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

q12321

The screenshot of the 404 error is attached:

Β 

nicholas
Akeeba Staff
Manager

As I guessed are getting a Joomla! 404 page, not a hosting 404 page. That would mean that your SEF extension has cached the wrong URLs and you need to purge its cache. I'd recommend talking to the developers of your SEF extension.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

q12321

You are right. Thanks.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!