On the website page1.php, page2.php, etc. are uploaded to the index.php page using jquery load. How can I make working links like mysite.com/page1?

    1 answer 1

    var file = 'page2.php'; $('div').load(file, '', function(data){ $(this).after('<a href='+file+'>'+file+'</a>') })