gangles
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Upgrade to 2.8.4 breaks get_permalink()?Does anyone else have any ideas why get_permalink() might be returning 403? Any help would be much appreciated.
Forum: Fixing WordPress
In reply to: Upgrade to 2.8.4 breaks get_permalink()?Hi Shane,
My .htaccess file is already as follows:
# Redirect www to non-www for root domain RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.gangles\.ca$ [NC] RewriteRule ^(.*)$ http://gangles.ca/$1 [R=301,L] ErrorDocument 404 /index.php?error=404 # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressThanks.
Forum: Fixing WordPress
In reply to: Creating a Custom “About” Page URLA quick update, I’ve been having trouble with the custom permalinks plug-in. My new question thread is here.
Thanks.
Forum: Fixing WordPress
In reply to: Creating a Custom “About” Page URLI’ll give that a shot Mercime, thanks! I’ll mark this topic as resolved for now.
Forum: Fixing WordPress
In reply to: Creating a Custom “About” Page URL@mercime: My understanding is that this method will break my existing permalink structure, which I am not interested in doing. I only want to change a few pages.
I imagine I could create an index.php page within an /about directory, but I’d have to hack together a page to put there if I wanted it to be seamless.
Forum: Fixing WordPress
In reply to: Title in Header.php TweakingFixed code (and much cleaner)!
<?php if(is_home()){ echo ""; } elseif(is_404()){ echo "404 (Page Not Found) - "; } elseif(is_search()){ echo "Search Results for "; echo wp_specialchars($s, 1); echo " - "; } else{ echo wp_title(); echo " - "; } echo bloginfo('name'); ?>I’m not sure if the empty echo is strictly necessary.