Showing posts with label Permalinks. Show all posts
Showing posts with label Permalinks. Show all posts

Monday, August 21, 2017

When WordPress Permalinks Don't Work

When WordPress Permalinks Don't Work

You have just completed the installation and configuration of your new WordPress blog--by the book. You proudly log into the dashboard and select a customized permalink (I use /%postname%/) and then hit the "Save Changes" button to save your configuration. Your blog now--goes crazy. When you try to access your blog, your browser returns nasty error pages instead of your blog's content.


You recheck everything again, but can't find any problem with your installation procedure. Using your FTP program or the WebShell utility at your web-host's control panel, you verify that all of the necessary WordPress files and folders are in place and that the permissions are set correctly. In desperation, and using the control panel's phpMyAdmin interface, you also verify that the MySQL database has been installed correctly and that the installer has configured the database tables. What could be wrong?


Before deleting your WordPress files and folders and zeroing out the database prior to trying a new installation, you grab a cup of your favorite beverage and relax a minute. You think about your installation. You remember that your new blog worked perfectly before you elected to change the permalink structure.  Maybe it's time to look at the server's error log for the blog's domain to see if it points to the root problem.


In the server's error log, accessed from the web-host's control panel, you notice the following error entry:


[Sun Mar 29 13:30:38 2009] [error] [client ...] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden ....

Bingo! Now you remember seeing something when you used your control panel to set up your blog's domain. You log into your control panel and select the "Web options" icon. Right at the top of the options page you see that the "Symbolic Links" option is disabled. You enable and apply this option--and now the health of your blog is restored.


Well, almost restored. One nagging error continues to be recorded in the error log:


[Sun Mar 29 22:07:14 2009] [error] [client ...] File does not exist: .../favicon.ico

When a browser accesses a web site, it always looks for a favicon.ico. WordPress does not install a favicon.ico by default. You need to either create your own or upload something suitable. Once the favicon.ico is uploaded into the blog's root directory, this log error will disappear, too.


P.S. The Error log is your friend. Be sure to look at it from time to time.



For more articles, tips, and tutorials of interest to WordPress users, please visit these web sites:
http://www.blog.selectdigitals.com
http://www.selectdigitals.com




Related Hosted Wordpress Articles

Friday, July 28, 2017

Wordpress How To - Change Your Permalinks to Make Your URL's More User and SEO Friendly

Wordpress How To - Change Your Permalinks to Make Your URL's More User and SEO Friendly

One very simple, but very effective way to simplify your blogs' URL and make it user and search-engine friendly is often over-looked. By changing the Permalink Structure on your blog it will make it easier for your readers to know where they are on your site, but can also help greatly with your SEO efforts.


For New Installations


If you have a new installation of Wordpress or are planning your next installation follow these simple steps to changing your Permalink structure:


Once you have installed Wordpress login and you should arrive at the Dashboard.


On the left hand side of the Dashboard you will see a list of menu tabs. When you hover your mouse over the different menus, an arrow appears at the end. Hover over the Settings Menu and click on the arrow. A drop down menu should now appear.


Click on the 'Permalinks' link. You should now be at the 'Permalinks Settings' page.


You will now see that you have 5 options and on a new installation of Wordpress it will be set to the Default option. As you can see from the example it gives, for each post you make it assigns a page number which isn't really ideal. You now need to click the 'Custom Structure' option and enter the following text into the box along side:


/%category%/%postname%


Now click the blue box 'Save Changes'. That's it - all done, now when you make a post you will see the category name you posted it in and the posts name, which is much more user and search engine friendly.


For Already Installed Blogs - How To Install Plugins


If your blog has been installed sometime and you never changed the Permalinks structure and have made several posts, you will first need to install a plugin called 'Permalinks Migration Plugin' before you can change your Permalink structure.


You can download the plugin at http://wordpress.org/extend/plugins/permalinks-migration-plugin-for-wordpress/. Once you have downloaded the plugin and installed it to your plugins folder via your FTP client, login to the Dashboard of your blog.


Once you are logged in to the Dashboard click on the 'Plugins' link in the menu down the left hand side. You should now be in the 'Manage Plugins' page, scroll down until you find the 'Dean's Permalinks Migration' plugin and click on the 'Activate' link. Now that you have activated the plugin, click on the 'settings' drop down menu on the left hand side and click the 'permalinksmigration' link.


You now need to enter in the box your current Permalink Structure, if you don't know what this is click on the 'permalinks' link under the 'Settings' menu on the left hand side and you will see which permalink structure is selected, make a note of this, go back to the Permalinks Migration page and enter it into the box and click the 'Update options' button. You can now go back to the 'Permalinks Structure' page and change it as I have done above.


All done, as you can see just a few simple steps that will make a big difference to your blog, enjoy:-)



Alester Fox enjoys Apple Computers, Social Media, Web 2.0 and Blogging using Wordpress to communicate on the internet, to find out more about Wordpress How To check out the following link: Wordpress How To.