Strange behavior with a redirect loop – involves WPML multi-language plugin

Your site is misconfigured, but from remote it’s not easy to say where exactly. For the redirects, it’s going this way: requesting http://internationalgateway.us/fr 301 redirect to http://internationalgateway.us/fr// requesting http://internationalgateway.us/fr// 301 redirect to http://internationalgateway.us/fr/ requesting http://internationalgateway.us/fr/ go to 2. This is the redirect loop your page creates unrolled. To debug this, you can make use of … Read more

Can’t get permalinks working!

Inside of your config you have the following: <Directory /> Options FollowSymLinks AllowOverride None </Directory> You should change it to the following: <Directory /> Options FollowSymLinks AllowOverride All </Directory> The AllowOverride directive is what allows the .htaccess file to be read. If you still have trouble, make sure you change this in the <Directory “/var/www/html”> … Read more

Link to Particular Page Within Template PHP Code

You probably want to use get_permalink and get_the_title. Example: <a href=”https://wordpress.stackexchange.com/questions/19555/<?php echo get_permalink( YOUR POST ID ); ?>”><?php echo get_the_title( YOUR POST ID ); ?></a> Replace YOUR POST ID with the ID of the post you’d like to link to. Post ID’s will change from install to install, however, so this might not work as … Read more

rename ‘page’ URL fragment in pretty permalinks

A bit late but maybe usefull for someone else… code goes to functions.php. You have to flush your rewrite rules. <?php // Set custom pagination_base function mytheme_pagination_base() { global $wp_rewrite; $wp_rewrite->pagination_base=”pagina”; } add_action( ‘init’, ‘mytheme_pagination_base’ );

Page Name and Permalinks

You have to permanently delete the post from the trash to be able to use that permalink again. At the top of the pages list, where it says All, Published, Trash, click trash and then select permanently delete link for that page.