WordPress.org

Ready to get started?Download WordPress

Forums

Route and Execute PHP file (site/custom to run custom.php) (1 post)

  1. developerchef
    Member
    Posted 2 years ago #

    I'd like to duplicate the index.php file, or even the single.php or page.php (or something else) file - rename them, and then be able to access them through a path without modifying the .htaccess file. I figure this shouldn't be as difficult as I've been finding it to implement, but I couldn't find a suitable answer after much searching around.

    Extra points if someone can find out how to link these "custom" paths to the default menu system without requiring hard-coding. :) But by far, the issue is with what I've put up in the first paragraph.

    Thanks ahead for looking, hopefully solving this! It just does seem like it should be easy to do.

Topic Closed

This topic has been closed to new replies.

About this Topic