The tag has no usage guidance.

learn more… | top users | synonyms

19
votes
5answers
4k views

Why are extensions often hidden on URLs?

Many times I see that URL extensions are hidden (e.g. .html, .php), but not all websites do this. Why do webmasters hide the extension? Is it for security, for the URL to look cleaner, or for some ...
3
votes
1answer
3k views

Clean URLs without PHP file extension

I want to make my URLs clean, for example: http://sample.com/about-me instead of: http://sample.com/about-me.php This is my code: RewriteEngine On RewriteBase / RewriteCond %{...
3
votes
0answers
95 views

Using Nginx to rewrite a friendly URL to index.php handler gives 404 errors

I am having some issues getting the below to work the way I expect. What I am trying to do is take a url like https://example.com/TOPIC/courses/details/143911 but have it sent to php with the ...
2
votes
1answer
830 views

Clean URLs - is it better to not have a colon or comma them?

I'm trying to create the following kind of URL: www.example.com/state:ca/type:apartment,condo/price:0,20000/ or www.example.com/state/ca/type/apartment/condo/price/0/20000 Is it better to not ...
1
vote
1answer
68 views

Canonical URL's for interchangeable parameters

I'm wondering how should I use canonical tags in such a case: I compare two items, lets say shoe brands. So one of my pages look like this: http://shoes.com/compare/adidas/vs/nike/ and another ...
0
votes
2answers
820 views

Rewrite rule for clean URLs using .htaccess isn't working for ID after “latestnews”

I am trying to implement clean URLs using .htaccess. Basically after searching for some time I found out this code RewriteRule latestnews/([a-zA-Z0-9]+)/$ http://thinkmovie.in/index.php/latestnews/?...