Currently Viewing Posts Tagged URL

The way to fix the problem when Upgrade phpBB 3.1.1

It is so fast, phpBB 3.1.1 released.

I did meet the problem when I tried to upgrade my phpBB 3.0.12 to 3.1.0 or 3.1.1. Same problem here.

One is mentioned in the previous post.

Request-URI Too Large when updating

I copied the URI when this error came. I found the URI is so long. More than 8190 characters.

So, I tried to change it to 11000. Restart the Apache server.

LimitRequestLine 11000

It works. And this error doesn’t come back.

 

Later, during the process of preparing the merged file, another error shown as below.

Bad Request 
Your browser sent a request that this server could not understand. 
Size of a request header field exceeds serv

I thought it is a simlar error as the first one. So I google it and add the limit .

LimitRequestFieldSize 16380

 

Continue reading “The way to fix the problem when Upgrade phpBB 3.1.1”

Check the broken link of your site and fix it

In the last week, I checked most of my sites of the broken links.
The link point to the web page which is not existing any more. It may return 404 error, or redirect to a domain parking page.

There are about 500 broken links in one of my sites.
I use the free service provided on Online Broken Link Checker
http://www.brokenlinkcheck.com/

This tool will send a web spider to crawling the site you entered. The get the list of broken links and the page contains the broken link.

There are four types of broken links:

Continue reading “Check the broken link of your site and fix it”

Apache requirement for WordPress Pretty URL

I installed a fresh WordPress on a brand new VPS. No matter how I change the settings of permalinks, it is always giving me 404 error for all pages except Homepage.
Later I google it and find the solution from the official site.

* Apache web server with the mod_rewrite module installed
* In WordPress’s home directory,
o The FollowSymLinks option enabled
o FileInfo directives allowed (e.g. AllowOverride FileInfo or AllowOverride All)
o An .htaccess file (if this file is missing, WordPress will try to create it when you activate “pretty” permalinks)
o If you want WordPress to update the .htaccess file automatically, WordPress will need write access to the file.

For my situation, it is because of options of Apache.
I edited the httpd.conf and added following options.

Continue reading “Apache requirement for WordPress Pretty URL”

  • Archives