Hello, This is really a very simple question, and we will get over it in a minute. Most pages look like: www.mysite.com/mypage.htm Or it could be my page.php or .html etc My main page look like www.mysite.com/ This is because in this case there is a index.htm file in the directory And of course / means directory. Now some pages look like: www.mysite.com/mypage/ for every page in the site. I dont think they have a directory for each page with one index.htm page inside each? Can someone tell me how they do it? Thanks
lol. you can check my sig; I am still building pokerbonustips.com, but you can get some poker bonuses there, depending on what room you like to join.
OK I will check them out If you server is Apache then you can use mod_rewrite inside a file called .htaccess inside your root directory. I've never tried it but try this inside a .htaccess file (taken from elsewhere): RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html A .htaccess file can be created in notepad, just save it as that exact name and upload it to the root. This is assuming you have apache and mod_rewrite enabled.
thanks for the response. so basically people like to rewrite page names; any reason? seo wise any advantage?
Yes, it's for many reasons, it creates easy to remember URL's for page visitors, and also helps for SEO as if the page has a longer dyanmic URL it's not really relevant to the page, so rewriting URL's help the search engine know what the page is about.
Interesting wd. One last question: if I have a site map with all .htm files, and I do what you said, Google will not be confused? Or similarly if I have outside links with .htm, will they find their way? Thank you