Showing posts with label Wordpress. Show all posts
Showing posts with label Wordpress. Show all posts

Wednesday, February 15, 2012

bench3

Changing Permalink On IIS Resulted In 404 Error | How To Fix

This question will arise to everyone who is trying out Wordpress on IIS 7. I am sure this has been asked many times before. If you have not get a solution till now, here is something you can try to succeed.

Ok, what exactly might have happened is, you went to the settings and changed the Permalink structure from the default to one of the other presets.

And now, none of them work. When you click the post title from my blog homepage, you will land in a 404 Error.

Error 404
The post or page you requested can not be found on this site.

Visit the Home Page or browse through the Archives.

How can one fix this issue with permalinks?

Ok, the problem is, WordPress isn't updating your web server root. Try temporarily renaming .htaccess (perhaps to old.htaccess) and then visit Settings -> Permalinks again. Change to anything besides "Default" and see if an .htaccess is then created. If it is, just add the contents from old.htaccess to the top of the new .htaccess.

Ok, lets make it simple,

Changing Permalink On IIS Resulted In 404 Error  How To Fix

If your web.config file were writable, we could do this automatically, but it isn’t so this is the url rewrite rule you should have in your web.config file. Click in the field and press CTRL + a to select all. Then insert this rule inside of the /<configuration>/<system.webServer>/<rewrite>/<rules> element in web.config file.

Just as you see in the above screen shot, WordPress should tell you what to manually add at the bottom of the Permalinks page.

Read More

Monday, February 13, 2012

bench3

WordPress Works on Local Host But Not On Other PCs on Same Network | Fix

If you are new to Installing Wordpress on Ubuntu, you will come across this problem, For example, if you have installed local wordpress on your home or office network, once you have installed, this will seem to be working just fine on the Development PC. You can view your local wordpress site via http://localhost and or 127.0.0.1 . But the real problem if, if you are trying to view the Wordpress from other computer on the same network, you will not see the content.

When you are trying to connect to the wordpress using the IP Address, You may see the wordpress directory listed or any files that you have placed there.

and when you are trying to open the Wordpress directory from another PC on the same network (Ex: 192.168.2.200/wordpress), the browser pauses for a second or two, then will show a error the generic browser error: IE7 – “IE can not display the webpage” & Firefox says - “can't establish a connection to localhost”

Solution:

First, check what is your WordPress and Blog address settings (Options > General) in WordPress. is it localhost or 127.0.0.1 or 192.168.2.200.

Every machine in the world thinks of LocalHost (or 127.0.0.1) as being itself. So, you will never see anything from another machine if the URL is set as localhost.

Now you need to change that settings to the IP Address(http://192.168.2.200/wordpress) in order to view your Wordpress from other computers. Also restart Apache after this, just to make sure... but it is still behaving the same.

Read More