Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
ipbfuck Posted November 8, 2015 Posted November 8, 2015 Hi! I've try to make a new rewrite for a memberlist in my acp, but this seems to not work as expected... when i go in the new /member-list url it go in the classic url (like a classic redirect, no a really rewrite) :/ is the first time i test rewrite feature, but seems to not work as rewrite. someone can test and verify if is only a my problem or a bug? thanks in advance, S.N.
ipbfuck Posted November 8, 2015 Author Posted November 8, 2015 Semi_OT: thanks to this experience i've see an edit in htaccess: from: RewriteRule \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) - [L,NC,R=404] to: RewriteRule \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) /404error.php [L,NC] - now, if url is *.js|css|jpeg|jpg|gif|png|ico and file not exist, it go in /404error.php (The file you were looking for could not be found) - I've see this, but no report from ips in changelog/release notes... - Some little customization: https://laltroweb.it/404error.php <?php header("HTTP/1.0 404 Not Found"); print <<<EOF <html> <title>Ops... File Not Found (Error 404)!</title> <body style="background-color: #D9E8F3"> <h1> <span style="border-bottom: 1px dotted gray; width: auto;padding-bottom: 10px">The file you were looking for could not be found... :(</span> </h1> <h2> <a href="../" title="Back to the community!!!">Back to the community</a> :) </h2> </body> </html> EOF; exit;
Recommended Posts
Archived
This topic is now archived and is closed to further replies.