February 10, 2012, 17:18:52 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Please support SEO4smf further development donating here or use paypal button from left menu.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Please support SEO4smf further development donating here or use paypal button from left menu.
Pages: [1]
  Print  
Author Topic:

Urgent Help needed - None of URLs work any more

 (Read 2220 times)
0 Members and 1 Guest are viewing this topic.
rostam
Jr. Member
**

Points: 0
Offline Offline

Posts: 12


« on: January 11, 2009, 19:05:29 »

I just installed SEO4SMF on my forum which is running 1.1.7 SMF. After the installation I went to admimcp and enabled seo4smf and turned on few option on the first section like pretty url and others, saved it and then everything broke.
I can access my front page (first forum page where the boards are listed) but when I click on any of the boards or threads or menu nothing works. No matter what url link I click on, or which menue option I chose, I keep getting 404 page not found. Here is an example:

Not Found
The requested URL /forum/recycle_bin-b4.0/ was not found on this server.

My admincp is point at "forum/admin.html", which doesnt exist. It used to be "forum/index.php?action=admin".

I cant even access my admincp to turn it off. I am hosed. Please help me ASAP.
« Last Edit: January 11, 2009, 19:11:16 by rostam » Logged


rostam
Jr. Member
**

Points: 0
Offline Offline

Posts: 12


« Reply #1 on: January 11, 2009, 19:36:41 »

OK. I figured it out. But boy that was really scary.
The trick is in the htacess file. Had to rename it tp .htacess and modify it some.
I think somebody needs to make a sticky to tell other newbees about this so others dont run into the same situation I did.
Logged
Minare
Jr. Member
**

Points: 1
Offline Offline

Posts: 20


WWW
« Reply #2 on: January 14, 2009, 07:48:18 »

It is better you don't enable this option ever : Beautifying url for forum actions ?

If you enable this, everything may corrupt but as you said above, a small trick on htaccess would solve , however it is scary for big boards =)
Logged

www.minare.net
mpttt
Newbie
*

Points: 0
Offline Offline

Posts: 2


« Reply #3 on: January 16, 2009, 00:02:28 »

what is the trick? I am having the same problem and my board is now completely broken after checking all the boxes.
Logged
Minare
Jr. Member
**

Points: 1
Offline Offline

Posts: 20


WWW
« Reply #4 on: January 16, 2009, 20:55:21 »

You shouldn't enable the choice I implied above

In htaccess

find:
Code:
#uncomment if you use beautifying url actions
#RewriteCond %{REQUEST_METHOD} =GET
#RewriteCond %{QUERY_STRING} ^action=(.*)$
#RewriteRule  ^(.*)$ seo4smf-redirect.php?a=%1 [R=301,L]

replace with ;

Code:
#uncomment if you use beautifying url actions
RewriteCond %{REQUEST_METHOD} =GET
RewriteCond %{QUERY_STRING} ^action=(.*)$
RewriteRule  ^(.*)$ seo4smf-redirect.php?a=%1 [R=301,L]

find again ;

Code:
#New action Url's - uncomment if you use beautifying url actions
#RewriteRule ^(.*)\.html(.*)$ index.php?dummy=1;action=$1;$2 [L]
#RewriteRule ^(.*)\.html$ index.php?dummy=1;action=$1 [L]

change with:

Code:
#New action Url's - uncomment if you use beautifying url actions
RewriteRule ^(.*)\.html(.*)$ index.php?dummy=1;action=$1;$2 [L]
RewriteRule ^(.*)\.html$ index.php?dummy=1;action=$1 [L]
Logged

www.minare.net
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!