Joomla Wired

Favourites Create PDF Email Print

Why when testing my site through the temporary URL I see 404 Not Found

Why when testing my site through the temporary URL I see 404 Not Found

Author:
Joomla Wired
Hits:
14110
favoured:
0 Favour

Answer

 The reason for this is because Joomla's Search Engine Friend (SEF) URLS is turned on and the .htaccess file has not been modified to work with the temporary URL.  To correct this simply:
  1. Log in to the website via FTP ( see What are my FTP details? )
  2. Download the file '/public_html/.htaccess' to your desktop
  3. Open it and look for '# RewriteBase /'.
  4. Change it to 'RewriteBase /~<you cpanel name>'.  For example 'RewriteBase /~mark'.
  5. Upload the file back to the '/public_html' folder

Remember to add a '#' infront of the 'RewriteBase' line when you switch to the live URL otherwise you will see a 404 error.

Alternatively you can switch off the SEF functionality within the Global Configuration while the website is being accessed via the temporary URL and switch on the SEF system when you move to the live URL.

Category

You are here  : Home Why when testing my site through the temporary URL I see 404 Not Found? Hosting Related Why when testing my site through the temporary URL I see 404 Not Found