pawann
July 12, 2024, 10:43am
1
500 Internal Server Error Something on the website crashed!
https://acharyapawan.com.np/lifehack works but
https://acharyapawan.com.np/app-ads.txt doesn’t
And strange issue is
https:// www. acharyapawan.com.np/app-ads.txt works
.htaccess file content
RewriteEngine On
RewriteRule ^lifehack$ /lifehack.html [L]
RewriteRule ^app-ads.txt$ /app-ads.txt [L]
Admin
July 12, 2024, 10:52am
2
What’s the purpose of this rule? The URL /app-ads.txt
will load the file /app-ads.txt
automatically, no .htaccess rule required. Adding a rule to do that anyway would essentially just create an infinite loop.
Or maybe you want to do something else? If so, please tell us what you want to do so we can help you figure out the right .htaccess rules to use for it.
2 Likes
pawann
July 12, 2024, 11:02am
3
I want that
this URL https://acharyapawan.com.np/app-ads.txt will load the app-ads.txt file
I removed RewriteRule ^app-ads.txt$ /app-ads.txt [L] rule still I get the same error.
Please clear your browser cache by pressing a few times Ctrl + F5 while visiting your website.
If that doesn’t work (because some browsers are stubborn) then follow this guide:
2 Likes
pawann
July 12, 2024, 11:35am
5
Thanks, it is working now
Removing the rule was the solution and of course clearing browser cache.
1 Like
system
Closed
July 19, 2024, 11:35am
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.