| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
dcoates
Joined: 29 Jun 2008 Posts: 3
|
Posted: Mon Jun 30, 2008 4:09 am Post subject: Need more help Please |
|
|
I built my site on my local host and uploded the files to my server and the only thing not working now are all my forums. when you click on them to enter and read them you get a 404 message.
How can I fix this
Thanks |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14854
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 809
|
Posted: Tue Jul 01, 2008 12:04 pm Post subject: Re: Need more help Please |
|
|
I also recommend you test locally before uploading to your server. XAMPP lite and similar tools include Apache/PHP in a handy ready-to-go package. That way you can test in isolation with confidence it will actually work when you go live.
Excerpted from one of many posts making this same point:
| HB wrote: | I recommend installing a local test server using XAMPP or equivalent. That way you can test in isolation then confidently move to phpBB-seo's solution. There are some webmasters who evidently apply mods to live boards. I suppose that's OK for very low traffic sites. Too often I read "HELP! My board is down!?!?" threads here and on phpBB.com (*). A good test environment and regular automated system backups can greatly reduce your chance of heart attack.
When I'm applying lots and lots of changes, I will test it locally using XAMPP lite and on the hosted site. Sometimes there are subtle differences in the Apache / PHP / MySQL installations. It's really quite easy: Copy the live database to another database. Copy the phpBB installation to another directory. Update the .htaccess rewrite rules to allow for both installation (e.g., /forums and /forums301). Update the copied database CONFIG table to point to the new script location; it's also good to modify the cookie prefix setting too, so you can log into both installations in the same browser. Oh, and update the config.php of the copied installation to point to the copied database.
With the two installations, you can then test like crazy on the "semi live" board. When you're satisfied it's correct, simply rename the directories (e.g., /forums -> /forums-backup, forums3 -> /forums). Be aware some directories are writable, so they'll need to be resync'd (/files for attachments and the /images directory for avatars).
(*) OK, OK... I admit it, I've brought my board down a few times and learned the hard way how to avoid it - or at least how to recover quickly. |
PS: Please consider more useful topic titles too. "Urgent help please!" "I need more help" and similar are devoid of any keyword worth searching on. Amazing how SEO-savvy webmasters fail to grasp this fundamental point.  |
_________________ Dan Kehn |
|
| Back to top |
|
 |
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |