I have seen this question posed everywhere but not with the answers that solved it for me. So I played and played and discovered, da dah, the problem. Let's say you log into newspaper.com/sports and all you see is code. That's because the correct url is newspaper.com/sports.html or sports.htm or sports.php. Chrome and others, because there is no newspaper.com/sports(with no dot.extension) finds the html or htm or php and displays its code instead of the page. You can correct this, if you're using File Manger, by changing your /sports.html to /sports(with no dot.extension), or, better yet, save it as both. It you don't know what File Manager is, just be sure to enter the full URL instead of the quickie and you'll see all the pretty colors and text instead of just the courier type style.
Henry77
0
Newbie Poster
Recommended Answers
Jump to PostI'm a little bit confused by what you're saying, but let me try to explain to you how it works:
When the browser request newspaper.com/sports, the WebServer (IIS or Apache or etc) will first see if there's any Rewrite Rules that match /sports.
If there's no rule that match /sports, …
All 3 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.