Reputation
12,040
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
3 17 41
Newest
 Copy Editor
Impact
~191k people reached

Aug
30
comment Apache .htaccess mod_rewrite: use of [NC]
@SimonHayter Well, I don't really have any magic resources for learning this stuff unfortunately. A lot of trial & error, testing and questioning everything. Although the Apache docs are perhaps too concise in many areas, with few examples, I do find them an invaluable reference. Complex rewrites often involve complex regex, which the Apache docs don't cover at all. regular-expressions.info is my goto resource for regex, although navigation can be a bit tricky as well. askapache.com is a great resource with loads of code snippets and raw examples but little explanation.
Aug
30
answered Apache .htaccess mod_rewrite: use of [NC]
Aug
30
answered Google removing full path in search results
Aug
30
comment How to debug an unwanted subdomain redirect?
Since all requests (for non-existent / Magento files) go through the front controller (index.php) I would guess that it is Magento itself that is perhaps triggering the redirect?
Aug
29
revised Can servers ever return headers not beginning with HTTP?
Just clarified HTTP "protocol".
Aug
29
answered Can servers ever return headers not beginning with HTTP?
Aug
29
comment I found some weird exploit
That would seem to be a XSS-type vulnerability, since presumably anyone can potentially view your malicious "profile" page and be unwittingly redirected. At the very least it could simply break the profile page - which innocent users might do by accident!? (NReilingh pretty much nails it.)
Aug
29
comment I found some weird exploit
"write in your description" - is this some kind of profile page? Or a page generation tool of some kind? Or literally just a free-form type the description and hey-presto?
Aug
29
comment I found some weird exploit
Can you be a bit more specific... "has a meta" - what kind of meta? "type in the description" - do mean in a form/input control? It might be a vulnerability - depends what you can do with it. What you have described isn't necessarily XSS either.
Aug
29
revised I found some weird exploit
Formatting
Aug
29
revised Redirect non-www to www : .htaccess without giving the domain name
Minor fix to the URL formatting (URL had been split).
Aug
29
comment Redirect non-www to www : .htaccess without giving the domain name
That's an idea. I've updated my answer.
Aug
29
revised Redirect non-www to www : .htaccess without giving the domain name
Update regarding matching one dot.
Aug
29
reviewed Reviewed 5% Hitleap traffic in Analytics
Aug
29
revised 5% Hitleap traffic in Analytics
Typo
Aug
29
revised Redirect non-www to www : .htaccess without giving the domain name
added 233 characters in body
Aug
28
answered Redirect non-www to www : .htaccess without giving the domain name
Aug
28
comment How to do 301 redirect for complete URL?
I've updated my answer with regards to your posted .htaccess file. Note that the order of directives in .htaccess is important and this could be the route cause of the problem here.
Aug
28
revised How to do 301 redirect for complete URL?
Updated with respect to comments and noticed a bug (slash difference) in the original redirect / posted .htaccess
Aug
28
revised How to do 301 redirect for complete URL?
Updated with respect to comments and noticed a bug (slash difference) in the original redirect