Best Blogging Tips and Templates,Windows and Web Applications & Games
Best Blogging Tips and Templates,Windows and Web Applications & Games |
How To Set Pretty Permalinks in Wordpress Runs On IIS 7 Posted: 10 Mar 2010 10:09 AM PST After applying so many things finally i have managed to enable pretty permalinks in my wordpress blog which is hosted on windows server and runs on IIS 7.0 with PHP. I must admit that this was very tough solution for how to set pretty permalinks in wordpress 2.8. you will be able to set same pretty permalinks for wordpress 2.9 also, you need to add a web.config file on the root directory of your blog. i have write this article for the IIS users who want to setup their Wordpress(2.8 or 2.9) blog on windows server for getting every benefit from wordpress. The WordPress will offer the pretty permalinks option only if PHP is running via FastCGI. There are some points which needs to be clear for all of you, read all the things given below very carfully. Pretty permalinks are available under
"Pretty" permalinks usually require mod_rewrite, and IIS (common on Windows servers) does not support mod_rewrite. (If you are using Apache 2.0.54, on Windows, mod_rewrite may work, provided it is enabled in apache\conf\httpd.conf.) Note that for the purposes of this walkthrough it is assumed that WordPress is installed in a Web site root directory. If WordPress is installed in a subdirectory, then the rewrite rules that are used in this walkthrough should be included in the Web.config file located within the same subdirectory where the wordPress files are. There are three conditions that need to be true in order for WordPress 2.8 to offer pretty permalinks on IIS7: 1. PHP is running via FastCGI 2. PHP version 5 is used 3. URL Rewrite Module 1.1 is installed and enabled. If any of those is not true then WordPress will work as in previous versions and will offer "Almost Pretty Permalinks" option. To check if FastCGI is used, call phpinfo() function and check the "Server API". It should say "CGI/FastCGI". Alternatively, call php_sapi_name() function. It should return 'cgi-fcgi'. - All above procedure are kind of prerequisites to set Pretty Permalinks in Wordpress Blogs. After setting up the wordpress blog, Go to Settings and click on permalinks and you will have a permalink settings window. Now in custom strcuture type /%category%/%postname%/ and click on save changes. see the screen shot given below here. Create a Rewrite rule and put it in web.config XML file resides in your root folder. If you haven't any web.config file in your root folder where wordpress is installed, just copy the code given below and paste it in web.config (make new web.config if not available).
After changes in web.config just open your home page or post page and chill :) you have done the permalink structure for your wordpress blog. Read more: http://codex.wordpress.org/Using_Permalinks http://learn.iis.net/page.aspx/466/enabling-pretty-permalinks-in-wordpress/ Please let me know if anyone have any kind of doubt. comment below your queries and thanks if you like this article. |
Save Flash file from Google Chrome without any Plugin or Addons Posted: 10 Mar 2010 08:05 AM PST How to save flash video or flash file from your Google chrome browser? with increasing number of Google chrome users there is a demand for Plugin or Addon which can help the users to save the flash file from their browser window. we will discuss now on how you can save any flash file from Google Chrome without any Plugin or Addons. I have just figured out a simpler way to save flash files on Google chrome in four steps. Steps to save flash(swf) from google chrome:
|
You are subscribed to email updates from Blogger Tips and Hacks | Best Blogger Templates | SEO Tips and Tricks To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |