Questions tagged [clean-urls]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
23
votes
6answers
8k 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
2answers
1k views

User profile URL design

I've noticed that some sites are moving away from root-directory user profiles. For example, YouTube channel URLs are now /channel/<id> and /c/<username> instead of simply /<username>...
2
votes
1answer
2k 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 ...
2
votes
2answers
73 views

Do short URLs obligate 301 redirects?

Some content management systems such as WordPress and Drupal have Short URLs by default (if the webserver allows it), but at least one other --- MediaWiki, doesn't. Before I continue with the process ...
4
votes
5answers
177 views

SEO URL, Category vs Location Priority

We are building a website for listing out brand information. As a reference it is comparable to yelp.com. Basically a brand will belong to a category and an area. From SEO point of view what will be ...
4
votes
1answer
5k 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
1answer
150 views

Migration from HTTP to HTTPS and changing URL structure at the same time

There are several reports of migration to HTTPS (using 301 redirects and HSTS) without an impact to rankings (no fluctations). Since that seems like changing URL structure I'm thinking to migrate ...
2
votes
1answer
2k views

mod-rewrite - sending any URL with ".php/" to 404

I have a substantial number of rewrite rules in place for a variety of reasons such as: disallow indexes, set custom error pages, force non-www, https, strip trailing slash, redirect index.html or....
1
vote
1answer
91 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 page ...
0
votes
2answers
2k 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/?...