Can someone teach me how do I change the URL of my website : anythingaakashx.com/indx.html to .com/index or .com/index.php ? Any apache snippet?
just change the file extension from .html to .php
looks like no such domain exists
I was using that domain just to give an example I thought giving own links would be marked self-promotion. And regarding changing the extension to .php will the page load as it is supposed to? I mean I coded everything in HTML and will browser be able to interpret it in .php?
PHP will be executed only when there is PHP code (<?PHP echo ?>
), the rest will be displayed as HTML. If you face any issue just change the extension back to .html
Do you mean “pretty URL”? that can be done like this:
2 Likes
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.