I have three urls
http://thewebby.net16.net/Welcome.php
http://thewebby.net16.net/AboutMe.php
http://thewebby.net16.net/Projects.php
How to rewrite these urls to
http://thewebby.net16.net/The-Webby-home/
http://thewebby.net16.net/Aboute-Me/
http://thewebby.net16.net/Check-out-my-portfolio-and-projects/
RewriteBase /
DirectoryIndex Welcome.php
RewriteEngine On # Turn on the rewriting engine
RewriteRule ^The-Webby-home/?$ Welcome.php [NC,L] # Handle requests for "TheWebby"/Aboute-Me/
RewriteRule ^About-Me/?$ AboutMe.php [NC,L] # Handle requests for "TheWebby"
I was hosting in a free domain so error page was not showing it gets redirected to error page provided by the hosting provider .When I tried with
http://localhost/TheWebby/About-Me/ it redirects to AboutMe.php successfully but when I try to navigate to welcome.php it the url changes to
http://localhost/TheWebby/About-Me/The-Webby-home/
instead of