Title: Permalink Rerouting
Last modified: August 21, 2016

---

# Permalink Rerouting

 *  [LindsayLaidlaw](https://wordpress.org/support/users/lindsaylaidlaw/)
 * (@lindsaylaidlaw)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/)
 * Site: [http://www.shilohyouth.ca/](http://www.shilohyouth.ca/)
 * Hi there,
 * Currently, the permalinks are set to “Default” in the settings. I would like 
   it to be on the “Post name” setting. When I select that however, it makes the
   pages “auto forward” to a blank page. If I refresh the Youth Homepage it goes
   to this link [http://www.shilohyouth.ca/shiloh-youth-homepage/www.shilohyouth.ca](http://www.shilohyouth.ca/shiloh-youth-homepage/www.shilohyouth.ca)
   and never loads.
 * I hope this makes sense,
 * Thanks,
 * Lindsay

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/permalink-rerouting/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/permalink-rerouting/page/2/?output_format=md)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4690869)
 * Review [Using_Permalinks](http://codex.wordpress.org/Using_Permalinks) before
   setting a custom permalink structure back up again.
 *  Thread Starter [LindsayLaidlaw](https://wordpress.org/support/users/lindsaylaidlaw/)
 * (@lindsaylaidlaw)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4690958)
 * Thanks.
 * I read that entire page, but how do I change the settings in my server?
 *  [zachturner](https://wordpress.org/support/users/zachturner/)
 * (@zachturner)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4690959)
 * You go to ‘settings >> permalinks’.
 *  Thread Starter [LindsayLaidlaw](https://wordpress.org/support/users/lindsaylaidlaw/)
 * (@lindsaylaidlaw)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4690960)
 * Thanks Zach
 * I know how to change it in my WP settings, but when I change it, it reroutes 
   my pages weirdly (see above post).
 * How do I make this stop happening?
 *  [zachturner](https://wordpress.org/support/users/zachturner/)
 * (@zachturner)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4690962)
 * Check the permalink setting on the actual page.
 *  Thread Starter [LindsayLaidlaw](https://wordpress.org/support/users/lindsaylaidlaw/)
 * (@lindsaylaidlaw)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4690963)
 * What do you mean?
 *  [zachturner](https://wordpress.org/support/users/zachturner/)
 * (@zachturner)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4690964)
 * When you view a page, in the dashboard, under the title there is a permalink 
   option, check they are what you want.
 *  Thread Starter [LindsayLaidlaw](https://wordpress.org/support/users/lindsaylaidlaw/)
 * (@lindsaylaidlaw)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4690966)
 * So in Settings >> Permalinks, if I have “Default” checked, everything is fine.
 * If I check “Post Name”, and look at the permalink of a page in the page editor,
   everything looks fine, but when I go to the actual page, it adds the domain to
   the end of the url and auto-forwards to a blank page.
 * For example, on the page “Shiloh Youth Homepage”, the url in the page editor 
   shows as [http://www.shilohyouth.ca/shiloh-youth-homepage/](http://www.shilohyouth.ca/shiloh-youth-homepage/)
   but when I go to view the page the url is [http://www.shilohyouth.ca/shiloh-youth-homepage/www.shilohyouth.ca](http://www.shilohyouth.ca/shiloh-youth-homepage/www.shilohyouth.ca)
   and is “auto-forwarding” and just stays as a blank page.
 * Does that make sense?
 * Thanks!
 *  [zachturner](https://wordpress.org/support/users/zachturner/)
 * (@zachturner)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4690967)
 * Could you post the custom permalink you have in ‘settings >> permalinks’
 *  Thread Starter [LindsayLaidlaw](https://wordpress.org/support/users/lindsaylaidlaw/)
 * (@lindsaylaidlaw)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4690968)
 * Under “Custom structure” it says /%postname%/ but I want “Post name” to be the
   selected permalink structure.
 *  Thread Starter [LindsayLaidlaw](https://wordpress.org/support/users/lindsaylaidlaw/)
 * (@lindsaylaidlaw)
 * [12 years ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4691056)
 * Still need help with this!
 *  [maybesbabies](https://wordpress.org/support/users/maybesbabies/)
 * (@maybesbabies)
 * [12 years ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4691057)
 * Hi Lindsay, it is pulling the full url from somewhere, instead of the page name.
   Have you checked each of your pages to make sure there’s no custom url listed
   anywhere, especially with SEO plugins? Go to edit page, and check the permalink
   url’s for each page. See if they’re also doubling there.
 * As a side note, have you used the Duplicator plugin? I noticed it doubling up
   my url’s in my config.php file, and had to edit that bit of php to stop it. Hope
   some of this helps, I’m a total noob myself!
 *  Thread Starter [LindsayLaidlaw](https://wordpress.org/support/users/lindsaylaidlaw/)
 * (@lindsaylaidlaw)
 * [12 years ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4691058)
 * Thank you!
 * I deactivated all plugins and still have the same problem. I think it might be
   something I need to change in the host settings but I’m not sure where that would
   be.
 *  [maybesbabies](https://wordpress.org/support/users/maybesbabies/)
 * (@maybesbabies)
 * [12 years ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4691059)
 * Have you checked your config.php file? Look for some code that should look like
   this:
 *     ```
       define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST']);
   
       define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST']);
       ```
   
 * When mine was messed up, it looked like this:
 *     ```
       define('WP_SITEURL', 'http://myfullurl.com' . $_SERVER['HTTP_HOST']) . '/wordpress';
   
       define('WP_HOME', 'http://myfullurl.com' . $_SERVER['HTTP_HOST']) . '/wordpress';
       ```
   
 * I had to edit the file to make it look like the first bit of code, and it stopped
   doubling. I’m not sure your circumstances are the same, but it’s at least one
   more place to look.
 *  Thread Starter [LindsayLaidlaw](https://wordpress.org/support/users/lindsaylaidlaw/)
 * (@lindsaylaidlaw)
 * [12 years ago](https://wordpress.org/support/topic/permalink-rerouting/#post-4691064)
 * Thanks.
 * I finally was able to access the config.php file but it doesn’t seem to have 
   that line of code anywhere in it.
 * There’s just a bunch of random info and the at the very bottom there’s this, 
   but that’s all.
 * /** WordPress absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’))
   define(‘ABSPATH’, dirname(__FILE__) . ‘/’);
 * /** Sets up WordPress vars and included files. */
    require_once(ABSPATH . ‘wp-
   settings.php’);
 * Any other suggestions? I really need to get this fixed asap!

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/permalink-rerouting/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/permalink-rerouting/page/2/?output_format=md)

The topic ‘Permalink Rerouting’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 16 replies
 * 4 participants
 * Last reply from: [LindsayLaidlaw](https://wordpress.org/support/users/lindsaylaidlaw/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/permalink-rerouting/page/2/#post-4691076)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
