The tag has no usage guidance.

learn more… | top users | synonyms

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 ...
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 ...
5
votes
4answers
263 views

I want to run a URL shortener for my own usage, what do I need to do?

I am tired of using external URL shorteners, my favorite "tr.im" went out of business. I know there are some that will do reporting for me, but I want to run my own, so I can see the usage myself, for ...
12
votes
1answer
684 views

Ars Technica .ars URL suffix — Vanity or SEO Benefit?

The Technology website Ars Technica has adjusted their URL rewrite rules to end with a .ars. Traditionally, sites have taken advantage of this URL rewriting capability to completely eliminate file ...
3
votes
0answers
81 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 ...
3
votes
2answers
127 views

Should I replace non-user friendly URLs with friendly ones, and if so, how?

I have just added my site to Google Web Master Tools and discovered that some links (for example: In the section "Search Query / Top pages") have a URL format like: example.com/page.php?id=1234 This ...
2
votes
1answer
767 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
66 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
808 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]+)/$ ...