WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a static default wordpress home page. As you know if you have a homepage on wordpress you can not set a permalink through the admin options, you can only set permalinks for non homepages. Does anyone know of a way that I can set a permalink for my homepage? So that when I visit my site at example.com, it automatically turns to example.com/examplelink when the site loads?

Thank you!!

share|improve this question

I would set another page as the home page, add a custom template for the home page and put this in it:

<?php wp_redirect( get_permalink( $id ), 301 ); exit; ?>
share|improve this answer
YOU ARE AMAZING THANK YOU SO MUCH – user49894 Apr 3 '14 at 22:00
If it works for you please accept the answer – kraftner Apr 4 '14 at 13:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.