Tag Info

New answers tagged

0

Totally agree as explain by "Stephen Ostermiller" but I would like to mentioned the trick behind that to hide extension of URLs. And for that you have to use .htaccess rewrite rule, here is the script that help you out: Redirect external .php requests to extensionless URL RewriteCond %{THE_REQUEST} ^(.+)\.php([#?][^\ ]*)?\ HTTP/ RewriteRule ^(.+)\.php$ ...


0

Your .htaccess looks like you are using Wordpress. Is this true? If that is the case, just go to Settings -> General and change WordPress Address (URL) and Site Address (URL) to versions with 'www'.


18

There are several reasons to remove extensions from URLs To make the URLs look cleaner. To make URLs easier to type. To make URLs easier to remember. To make URLs more SEO keyword friendly To be able to change technologies -- If you ever want to move your site from one technology to the other, its easiest to do so without users even knowing if there are ...


4

All Web servers have one or more "default files". It's the file that will be displayed whenever a visitor goes to a URL that ends in a slash '/', i.e. a folder. If the default file name on your web server is index.php and a visitor goes to www.example.com/pagename/, they are actually accessing www.example.com/pagename/index.php If there is no trailing /, ...


0

The URL isn't important for SEO. And it's really logic, because otherwise everyone would spam it. Just look at the most popular newspapers, which only use numbers in their URL, in order to keep it shorter.


1

As long as the URLs are static there are only minor differences. URL become part of the SERP and like with your page's title not all characters are shown. So I decided against having the date as part of my URL to make the URL shorter. This makes them also better readable when written somewhere else. Also I replace all special characters with the minus (-) ...



Top 50 recent answers are included