The short answer
RedirectMatch 301 ^/the-url-to-redirect/$ http://www.domain.tld/the-new-url/
I have a WordPress blog in a subdirectory, but I want calls for the domain root to display content of the sub directory. However I also want the sub directory to display in the URL for all OTHER URL requests. Eg Continue reading
This works the other way around too if you want to change a Post’ to a ‘Page.
From time to time you may want to change a WordPress Page to a Post or vice-versa. This might be due to restructuring your website content or your WordPress blog. There is no Continue reading
The Facebook ‘like’ button will not always automatically align with other buttons such as Google Plus and Twitter. What you need to do is add some ‘style’ to the Facebook Like button code.
At the end of the code add this:
Now they all sit nicely level with each other
If you want to turn off the comments feature on WordPress posts you may do so by:
Posts -> Quick Edit -> Uncheck “Allow Comments”.
But, WordPress still displays the words ”Comments are closed.” at the foot of the page. The way to remove this is to edit the Continue reading
One of the security loopholes with WordPress is that while you can prevent pages and posts from being accessed by unauthorised users who are not logged in, any uploaded files (such as images and PDFs etc.) are still available to anyone who has the URL. If the URL is picked Continue reading
There are essentially two problems with ready made themes for the popular CMSs such as WordPress Joomla and Drupal. First is that they never quite do what you want them to do, and secondly, making changes to them are time consuming and can be messy.
Artisteer is a website theme Continue reading
WordPress by its very nature, is attractive to Spammers seeking ways of publicising websites which may be totally irrelevant to the content of the host website. While active “bloggers” may have their own blog website, many casual commenters and surfers do not. Therefore, while you might want to allow comments, Continue reading
For tabbed browsing in WordPress installations, I have been using the plugin Post UI Tabs (PUT) http://wordpress.org/extend/plugins/put/ The only problem is that when a Google Map is embedded within a tab, a resizing/display problem is caused. As far as I can see there is no easy fix.
There seems to Continue reading
There are plenty of email form plugins available ranging from very simple to install (but lacking features and options) to the more complex ones which take ages to plough through all the option. For a quick-and-dirty solution I tend to use:
Fast Secure Contact Form
Don’t be put off Continue reading
If you want to modify your WordPress theme, the best way to do it is to create a child theme. The child theme will simply import the parent theme and apply any changes you have made within the child.
This means that the WordPress core files and the parent Continue reading
For those who do not understand what html is, or how to write it, the text which appears below the comments box in WordPress can be confusing. Personally I think it looks a little bit messy and I prefer to remove it.
The text reads as follows:
You may Continue reading