The tag has no usage guidance.

learn more… | top users | synonyms

4
votes
3answers
142 views

How to detect if file with a .png extension contains code or an image?

I was in a trouble last few days since my web host was hacked for POST on PHP files. I've been dealing with files with .png extension that have PHP code inside. I can't even try to edit one-by-one to ...
4
votes
1answer
689 views

Apache 2.4 Loads Image Files Even Without Extension. Why?

I have an HTML page with the following: <img src=J3 width="100" height="150" alt="Student Name" style="float:left;"/> In the same directory there is an image file, J3.jpg. The page ...
1
vote
1answer
1k views

Using htaccess to internally and externally redirect a page at the same time [duplicate]

I've been trying to figure this out for two hours, and I give up. I want to externally redirect about.php to about/, and also have about/ internally redirect to about.php RewriteRule ^about/$ /test/...
1
vote
1answer
141 views

Why does a CDN strip the file extension of an image to protect against leeching

So I was reading on Quora and came across this awesome picture: http://qph.is.quoracdn.net/main-qimg-fa81af575c5e0ef69d78fc011a71e865?convert_to_webp=true Trying to isolate this resource I noticed ...
0
votes
1answer
75 views

Adding .html to the URL while it is not a HTML page hurt to SEO?

If I added .html to the URLs of my website while the pages are not in HTML, will it hurt SEOof my site or will it be helful to my site in search engine rankings? For example, say my domain is www....
1
vote
3answers
307 views

Url's with same content , but different: trailing slash and .html

I have a website with the following url: http://www.site.com/folder/ But I also have the following url: http://www.site.com/folder.html Is this really bad for Google SEO ?
11
votes
3answers
1k views

What is the best file extension for an SEO friendly URL?

I'm working for a website to convert the website URL to an SEO friendly URL. I plan to use this: example.com/category-name/pageid-123-page-name I looked at some similarly categorized, highly ranked ...