- In the extension bar, click the AdBlock Plus icon
- Click the large blue toggle for this website
- Click refresh
- In the extension bar, click the AdBlock icon
- Under "Pause on this site" click "Always"
- In the extension bar, click on the Adguard icon
- Click on the large green toggle for this website
- In the extension bar, click on the Ad Remover icon
- Click "Disable on This Website"
- In the extension bar, click on the orange lion icon
- Click the toggle on the top right, shifting from "Up" to "Down"
- In the extension bar, click on the Ghostery icon
- Click the "Anti-Tracking" shield so it says "Off"
- Click the "Ad-Blocking" stop sign so it says "Off"
- Refresh the page
- In the extension bar, click on the uBlock Origin icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the uBlock icon
- Click on the big, blue power button
- Refresh the page
- In the extension bar, click on the UltraBlock icon
- Check the "Disable UltraBlock" checkbox
- Please disable your Ad Blocker
- Disable any DNS blocking tools such as AdGuardDNS or NextDNS
- Disable any privacy or tracking protection extensions such as Firefox Enhanced Tracking Protection or DuckDuckGo Privacy.
If the prompt is still appearing, please disable any tools or services you are using that block internet ads (e.g. DNS Servers, tracking protection or privacy extensions).
Question
firey
So I have a website (http://stattik.net/) that I am trying to get setup with SEO as I really want to start it. The website uses angular with routing to handle navigation. I modified the .htaccess so that any images, css, icons, txt, xml, etc will not be routed through the index.html page however for some reason
http://stattik.net/robots.txt keeps redirecting me back to the home page. However http://stattik.net/sitemap.xml doesn't redirect nor does http://stattik.net/test.txt
Here is my entire .htaccess
RewriteEngine On Options -MultiViews RewriteEngine On #robots.txt RewriteRule ^robots.txt$ http://stattik.net/robots.txt [NC] #make www. link to non-www. RewriteCond %{HTTP_HOST} ^www\.stattik\.net$ RewriteRule ^/?$ "http\:\/\/stattik\.net\/" [R=301,L] #any images, js, css,robots,sitemap,etc don't use the index.html RewriteCond %{REQUEST_FILENAME} !-f #RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.*\.(img|js|css|txt|ico|xml) RewriteRule ^ index.html [QSA,L] #disable libwww-perl RewriteCond %{HTTP_USER_AGENT} libwww-perl.* RewriteRule .* ? [F,L] #Cache static content for 6 months ExpiresActive On ExpiresByType image/png A15552000 ExpiresByType image/jpeg A15552000 ExpiresByType image/ico A15552000 ExpiresByType text/javascript A15552000 ExpiresByType text/css A15552000
Anyone have any ideas what could be going on?
Link to comment
https://www.neowin.net/forum/topic/1296152-robotstxt-redirect-issue/Share on other sites
4 answers to this question
Recommended Posts