Viewing 1 replies (of 1 total)
  • Thread Starter adebaby

    (@adebaby)

    There is probably a more elegant way with pages but i got what i need by creating a new folder (eg /custompage) in the root of the site and adding a index.php page in there with an .htaccess to handle the redirect

    RewriteEngine on
    RewriteRule ^(.*)  index.php?id=$1

    Then in index.php add

    include("../wp-config.php")

    at the top which plugs the page into wordpress

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks with Custom Page Templates’ is closed to new replies.