Jump to content

Member List: new rewrite from acp work like a redrect!


ipbfuck

Recommended Posts

Hi!

I've try to make a new rewrite for a memberlist in my acp, but this seems to not work as expected...

member-list.thumb.png.a68b34041d50c86a3b

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.

Link to comment
Share on other sites

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;

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...