-
☆ A M B ☆
- 24,524 Posts
If you have error_page set to 1, and the resource #1 is available, then it will use that page.
If your site is set to offline, however, unless you have your site_unavailable_page set to #1 then the page can't be accessed (although logged-in Manager users can still view an offline site).
Thanks for replying.
Please bear with me if my knowledge is incorrect.
My site_status is set to 1 and the landing page is accessible when going to the domain www.mydomain.co.uk, which is resource 1 (the only resource I have programmed).
Just can't get the 404 Not Found to redirect back to home if the url is anything other then www.mydomain.co.uk, i.e www.mydomain.co.uk/advertiser/signup.asp
-
☆ A M B ☆
- 24,524 Posts
What is it doing? Does your site have default .html or .shtml files in the web root?
discuss.answer
-
☆ A M B ☆
- 24,524 Posts
You need to enable friendly URLs. It works fine if you use index.php?id=some-outrageous-number.
With the rewrites enabled, the web server will pass the request on to the MODx index.php file if it doesn't find the file requested (web servers always think a request is for a file). Without the rewrites, it doesn't find blah.whatever, and uses its own Not Found message.
[ed. note: sottwell last edited this post 13 years, 11 months ago.]