URL rewriting going from www.example.com/blog/blog.php to just www.example.com/blog/ -


I have a site in the blog section to get me to www.example.com/blog/blog.php and I would like to use www.example.com/blog/ Folder structure I have a blog.php inside a folder called blog, can I rewrite blog.php and add the blog to the top level?

As I know you want to show up to blog.php If the user has typed www.example.com/blog/ in the address bar. You will try to rename blog.php to index.php (You have not provided any additional information about your web server; I think this load Index.php as the start page by default).

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -