Dear Friends, Previously my site was hosted with Google Apps(Now I use only Apps' mail). I shifted my site to my Hosting account now. The problem is, in GApps I was having pages like mydomain.com/profile, mydomain.com/webhosting etc without extensions. I got page rank for a few these type of pages. Now when I hosted on my Linux Server, I made directory of that file name to match the names like mydomain.com/profile/ mydomain.com/webhosting/. You can mark the slashes at the end... and Google treats them differently. I want to use the previous pattern to get the old pageranks. So I've plan to create pages as .html or .php and modify .htaccess to handle these without extensions. like mydomain.com/profile.php should be accessible like mydomain.com/profile and so on. Please suggest how to configure .htaccess for this problem. Thanks and Regards Vijay
My field is ASP and I'm not used to Linux, Apache and PHP. So, Please give an example foe the code. Thank you very much Vijay
Yes I did it thanks for info alemcherry RewriteRule ^profile(/)?$ profile.html RewriteRule ^webhosting$ webhosting.html RewriteRule ^search(.*)$ search.html$1 Code (markup): This is what i wrote for the same.. it is specifically for these 3 pages. can be done for all with wildcards. ================================================================ I have a new problem now.. Your kind help appriciated.. I want all the gif and jpg files to be redirected internally to a directory images. Previously with GApps all the images were in the main directory like.. mydomain.com/image1.gif mydomain.com/image2.jpg I have copied all these images into a directory images. So the new locations for images are.. mydomain.com/images/image1.gif mydomain.com/images/image2.jpg Still my page refers to images in top directory.. So, I need to redirect them through .htaccess What I did already is.. RewriteRule ^(.*)\.gif$ /images/$1.gif RewriteRule ^(.*)\.jpg$ /images/$1.jpg Code (markup): But this is not working.. Internal server error 500 Please help solving this Regards