|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Aug 2005
4 posts
Gave thanks: 0
Thanked 0 times
|
404 error on migrated joomla site, sef
i have moved my locally installed joomla site to my reseller server. to get it to work (after installing joomla core then uploading all my files), i had to undo the changes i did to get core SEF and openSEF. so my site works without any sef turned on, otherwise i get 404 errors. i have read jooma.org forums, opensef forums, and here and have tried many settings in the .htaccess file. i am really narrowing it down to the server, that its restricting me somehow.
how can i be absolutely certain that its not the setting of the server that is giving me errors? please check or help me check the server... thanks |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Aug 2005
4 posts
Gave thanks: 0
Thanked 0 times
|
thanks to Amal, who gave me the right answer after 2 days and 4 other folks from surpass tryin to any my questions, i got it worked out
the problem was that (for my own reasons) i was not using a domain name (yet) but the surpass name http://xx.xx.xx.xx/~username and SEF doesn't like the ~ of course i first went through this checklist for SEF troubleshooting. note, you want to get the Joomla core SEF working first before tryin any third-party SEF components SEF Troubleshooting To turn SEF support ON: 1) You must run Apache 2) You must have mod_rewrite enabled 3) Your server must allow .htaccess override 4) Set $mosConfig_sef= "1" in configuration.php 5) Rename htaccess.txt to .htaccess You will notice that sections/content/items have nice URLs like: http://www.site.com/content/view/5/2/ and components have URLs like: http://www.site.com/component/option...tact/Itemid,3/ Troubleshooting If you expirience problems with SEF please make sure you tripple checked these troubleshooting steps: 1) You must run Apache To check this go to Mambo administration > System > System Info. Server type should be listed next to Web Server. SEF will not run on IIS, so don't bother trying. 2) You must have mod_rewrite enabled To check this go to Mambo administration > System > System Info. Click on PHP Information tab. Scroll down until you find Loaded Modules row. mod_rewrite should be listed here. If it's not ask your web host to activate mod_rewrite. 3) Your server must allow .htaccess override To check this delete everything from your .htaccess file and write a simple command here, for example: Redirect /google.html http://www.google.com Now point your browser to http://www.yoursite.com/google.html If it redirects you to google.com then you are OK. 4) Set $mosConfig_sef= "1" in configuration.php You can also activate SEF under Site > Global Configuration. 5) Rename htaccess.txt to .htaccess This can be done with a FTP program. Note the dot in the beginning! Also note that you can't do this on windows, you must rename it directly on server. |
|
|
|
|
|
#3 (permalink) |
|
Surpass Fan
On a golden path...
Joined in Feb 2006
Lives in Arizona
344 posts
Gave thanks: 3
Thanked 16 times
|
Glad you found an answer for this. I did some searching but did not find a direct answer when you first posted.
And welcome to he Surmunity Forums too ![]()
__________________
"Argue for your limitations, and sure enough, they are yours" |
|
|
|