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

Posted in Joomla!, asked by , 5 years ago. 12469 hits.

0

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:
Log in to the website via FTP ( see What are my FTP details? )
Download the file '/public_html/.htaccess' to your desktop
Open it and look for '# RewriteBase /'.
Change it to 'RewriteBase /~'. For example 'RewriteBase /~mark'.
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.

5 years ago
Please register/login to answer this question.  Click here to login
- Just now

0

Just now
/faqs
/faqs/get_answer/7
/faqs/save_reply/7
/faqs/save_answer/7
/faqs/accept_answer/7
/faqs/unaccept_answer/7
/faqs/unpublish_answer/7
/faqs/delete_answer/7
/faqs/update_answer/7
/faqs/like/7
/faqs/dislike/7
/faqs/report_answer/7
/faqs/report_question/7