| bio | website | |
|---|---|---|
| location | London, United Kingdom | |
| age | ||
| visits | member for | 1 year, 11 months |
| seen | 1 hour ago | |
| stats | profile views | 94 |
|
Nov 14 |
comment |
.htaccess rule to redirect from 404 to search results @Oddant Have a look at URL of this question -- do you think that there is real file with such path? That's just a "nice" URL. That's why this rule is placed at the end of other rules. Now .. if requested resource is not a real file or folder .. and it was not already processed (converted/rewritten from nice URL to a real file/folder), then it is a request to non-existing resource (as this is the last rule, which works like 404 handler, just in "manual" mode). |
|
Nov 12 |
comment |
Error 500 on phpMyAdmin via https from “self-signed certificate”? Check your Apache's error log -- it will have good enough detailed error message. |
|
Nov 11 |
answered | .htaccess rule to redirect from 404 to search results |
|
Oct 17 |
comment |
How does 301 redirection work across the network? & should I use it if there is a chance we made need to change the resource back to the original URL? Try at least numbering your questions -- at least it will be easier to read and answer them. Right now it's TL;DR |
|
Oct 11 |
comment |
IIS 7 Still Serving old SSL Certificate Which browser specifically? Some "clever" browsers (like Google Chrome) do "cache" SSL certificates .. and the only cure I know is to wait -- max in 2 days browser will fetch new one -- I have seen it before. Try another browser if you have not done it yet. |
|
Sep 23 |
revised |
.htaccess RewriteRule $1 contains wrong value deleted 2 characters in body |
|
Sep 23 |
awarded | Fanatic |
|
Sep 22 |
revised |
.htaccess RewriteRule $1 contains wrong value improved formatting |
|
Sep 22 |
answered | .htaccess RewriteRule $1 contains wrong value |
|
Sep 21 |
comment |
Prevent hotlinking of attachments Please provide an example of attachment URL that you are trying to work with. |
|
Sep 18 |
comment |
Sitemap vs nofollow Sitemap is advisory only while nofollow is an instruction. Therefore nofollow > sitemap. |
|
Sep 15 |
comment |
Which method is the best to specify the language of a page? If you are using HTML5 then use 2nd option -- the 1st one is now deprecated. |
|
Sep 13 |
comment |
Rewriting isn't doing what's expected @Charlie I suggest replacing PT flag by R=302,L and run a test: request problematic URL (e.g. /static/reset.css) -- then you should see where it may be wrong (I recommend watch some HTTP debugger as well, like Net panel of Firebug) as the rewrite rule seems fine to me. |
|
Sep 13 |
comment |
Rewriting isn't doing what's expected Where this .htaccess is located? In website root folder ( example.com/.htaccess) .. or example.com/public/.htaccess ? |
|
Sep 13 |
comment |
Clear the cache of the last visited page @Kevin Maybe it is time to ask this question on StackOverflow.com -- a place for programming questions -- you may have your question answered quicker there. I've told you what headers to use. The other part (JS/HTML) may be answered there. |
|
Sep 13 |
comment |
Clear the cache of the last visited page @Kevin Well -- the only other thing that I can think of right now is not to use history.go(-1), but do the same what you do for onoffcheck.php: add some random parameter at the end of URL. Another thing -- look at JavaScript methods -- maybe there is some functionality/event that is triggered when page is loaded in such "go-back-page" way, so that you can refresh status manually (on timer). I'm not JavaScript guru so cannot advise on this. |
|
Sep 12 |
comment |
Can server break clients' cache settings? Browser usually has limited cache (even with automatic cache management in some browsers, they limit it to 1 GB or so). Most users will have much smaller cache which means older page will be removed from cache quicker (unless user visits that website very often -- like everyday or so). In vast majority of situations pages are only cached for a duration of session (until browser restarts) while images/css/js are cached for much longer periods. This means that you have very good chances that visitor will request fresh page pretty much all the time .. or at least within few days. |
|
Sep 12 |
comment |
URL redirection to same domain on different server The only thing that comes into mind is a Reverse Proxy -- you can do this in Apache (mod_rewrite + mod_proxy) or IIS 7 (URL Rewriting module + Application Request Routing module). Just keep in mind -- if your new server is far from your old server, the response time/page load time will be long, as request will travel trough old server first. |
|
Sep 12 |
comment |
Clear the cache of the last visited page @Kevin Don't know why it still complains on meta tags. Any way -- try my suggestion about converting it to php ( status.php) to send these headers in a proper way to ensure that browser got the headers for sure. Other than that -- no more ideas at the moment. |
|
Sep 12 |
comment |
Clear the cache of the last visited page @Kevin The status.html does not validate (check here) -- this still may be the reason. In any case -- try converting it to PHP (php part will be just sending those headers, the rest will not change) -- this should definitely help. |