SimpleSEF 2.0 (SMF 1.1.x and SMF 2.0)

Started by SlammedDime, December 05, 2009, 10:08:40 PM

Previous topic - Next topic

Am'

Hi,

i have a problem, my domaine is test.mysite.com, after activate simplesef i have Internal Server Error when i click any link (http://test.mysite.com/first_board/) ....

my htacces is correct :

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php


any idea please ?

اذا أحس أحد انه لم يخطأ ابدا في حياته, فهذا يعني أنه لم يجرب أي جديد في حياته
My Mods For SMF 2 RC3 : XQuote XCode - Vbulletin Style New Meta Tags

KensonPlays

Is it possible to get the SMF arcade to work with score submitting with this ENABLED? I would really like to use this!! Thanks!

Owner of Mesozoic Haven

swiftmed

Hey guys

An amazing mod - thanks for creating it, but im having a problem. After a manual install, all seems to be installed and working correctly. the urls come out perfectly, all pages are displayed properly, however the buttons to create a topic or add a reply to a thread do not work. You can click on them, but the page just refreshes and it does nothing.

Can anybody help me in understanding whats wrong? Im using SMF 2.0 RC3 and the latest version of SimpleSEF. I have had to disable the mod on my site because users cannot use the site with it enabled, but the web address none-the-less is www.cherylanncole.co.uk/forums - If anybody can help, id appreciate it very much.

Thank you
Andrew
With Regards,
Andrew MacDonald

http://cherylanncole.co.uk/forums
SMF 2.0 RC2

SlammedDime

Quote from: Yağız... on April 14, 2010, 04:41:50 PM
Hi SD, I have a problem with SSEF. When you enter the domain name (site.com without http://www), it redirects to http://www.site.com/wwwRedirect/WIRELESS_PROTOCOL/ and it doesn't show anything on the page, only header and footer.
I'll have to play with this some... should be a fairly easy fix.

Quote from: Antes on April 15, 2010, 10:50:25 AM
how can we change rewrite to this

/<category-title>-<category-id>/
/<category-title>-<category-id>/<topic-title>-<topic-id>.html
We can't... because of the way the mod is written, it's not possible to include the board/category id's in the urls.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

SlammedDime

Quote from: Am' on April 17, 2010, 03:22:01 PM
Hi,

i have a problem, my domaine is test.mysite.com, after activate simplesef i have Internal Server Error when i click any link (http://test.mysite.com/first_board/) ....

my htacces is correct :

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php


any idea please ?


Internal Server errors normally throw a more specific error in the server error log.  If you don't have access to this via cPanel, you should ask your host.  Without the specific error, it's nearly impossible to diagnose.

Quote from: Kcmartz on April 17, 2010, 07:50:00 PM
Is it possible to get the SMF arcade to work with score submitting with this ENABLED? I would really like to use this!! Thanks!
Possibly... I haven't played with it to know how it doesn't work... can you elaborate?

Quote from: swiftmed on April 19, 2010, 01:22:14 PM
Hey guys

An amazing mod - thanks for creating it, but im having a problem. After a manual install, all seems to be installed and working correctly. the urls come out perfectly, all pages are displayed properly, however the buttons to create a topic or add a reply to a thread do not work. You can click on them, but the page just refreshes and it does nothing.

Can anybody help me in understanding whats wrong? Im using SMF 2.0 RC3 and the latest version of SimpleSEF. I have had to disable the mod on my site because users cannot use the site with it enabled, but the web address none-the-less is www.cherylanncole.co.uk/forums - If anybody can help, id appreciate it very much.

Thank you
Andrew
I've never had this problem myself... you're sure you're using 1.1.3 and not 1.1.2?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

KensonPlays

Well SlammedDime, I'm using Pretty URLs now and that hack worked!

Owner of Mesozoic Haven

feline

Quote from: swiftmed on April 19, 2010, 01:22:14 PM
Can anybody help me in understanding whats wrong? Im using SMF 2.0 RC3 and the latest version of SimpleSEF. I have had to disable the mod on my site because users cannot use the site with it enabled, but the web address none-the-less is www.cherylanncole.co.uk/forums - If anybody can help, id appreciate it very much.
The link is't correct I think ..
Your link: xxxx://cherylanncole.co.uk/forums?action=forum
Must by change to: xxxx://cherylanncole.co.uk/forums/index.php?action=forum

Fel

nurg

Hello

¿ this mod is not compatible with e-arcade
¿ Please confirm
Regards
VISITA MI FORO SMF
Si quieres que te instale un foro SMF no dudes en contactarme.

nend

LOL,

This mod is compatible with E-Arcade, however there is a problem. E-Arcade and SMF-Arcade both have a Arcade.php to pass scores over to SMF for some games. But with a little help from me you can make it work.

arcade.php
<?
$_POST['action'] = 'arcade';
if (isset($_REQUEST['gamename']))
$_POST['game'] = $_REQUEST['gamename'];
$_POST['v3arcade'] = true;

if ($_REQUEST['sessdo'] == 'sessionstart')
$_POST['sa'] = 'vbSessionStart';
elseif ($_REQUEST['sessdo'] == 'permrequest')
$_POST['sa'] = 'vbPermRequest';
elseif ($_REQUEST['sessdo'] == 'burn')
$_POST['sa'] = 'vbBurn';


require_once('./index.php');
?>


Fixed :D

Dzonny

Hello there,

Just instlled this mod and activated it via admin panel, on version 1.1.11.
Everything works fine, but in admin panel i have few pages of this:
Quote2: ob_start() [<a href='ref.outcontrol'>ref.outcontrol</a>]: output handler 'ob_gzhandler' cannot be used twice
Datoteka: /var/www/web25/web/Sources/SimpleSEF.php
Line: 319

Can someone help me to fix this?

Antes

Feature Request : Rewrite Tags

/tags/tagid,8/ ( simple sef )  to /tags/simple-sef-8/ ?

Arantor

Holder of controversial views, all of which my own.


dagod

I have a subboard in the board "admins-office" that has the same name, as a Member of the board.

So the board can be reached by myboard.com/*TheMemberName*/
But it can also be reached by using myboard.com/admins-office/*TheMemberName*/

That's no problem so far since there is the canonical meta-tag for google, that displays only the first url.

But here is the problem: By typing following url:
myboard.com/profile/*TheMemberName*-613/
It shows my own profile instead of *TheMemberName*'s profile!
And the linktree on the top of the board looks like:
"myboard.com » Internal » admins office » *TheMemberName* » Profile of *MyMemberName* » Summary"
"Internal" is the category that contains the board "admins office"...

Profiles of other members(those who have no board named like them) work.




allemand1

There is any way to add an exception...? Because it creates a bad url ir the Simpleportal Shoutbox when you delete a shout.

url: http://localhost/portal/sa,shoutbox/shoutbox_id,1/delete,142/cefcadfb15e,654ba2ff6266a5e8006595bbd5f8c240/quot/%20onclick=

piplexi

The mod works great. Kudos to the developers. I have a problem though.

I want 404 Error Pages to show up. Now whenever someone enters a non existing url it redirects to the main page.
I have thousands of dead links indexed in google, I guess the spider sees all of them as a mirror page of my mainpage, punishing my Site for it.

I've been trying to adjust the .htaccess, but with no luck. Either the 404.shmtl shows up and does what I want, but then the mod doesnt work anymore, or the mod works, but dead links just redirect to the main page.

right now my .htaccess looks like this:


RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
ErrorDocument 401 /404.shtml
ErrorDocument 402 /404.shtml
ErrorDocument 403 /404.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /404.shtml
RewriteRule (.*) index.php

nend

Editing the .htaccess is not going to have any effect. I had to edit my index.php. :D

Here is how.

For a default SMF installation do this.

Change This
// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}


To
// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
if ($_SERVER['REQUEST_URI'] == '/' || $_SERVER['REQUEST_URI'] == '/index.php') {
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
} else {
header("HTTP/1.0 404 Not Found");
die();
}
}


I use PortaMX so I have something like this.
// Action and board are both empty... BoardIndex!
if (empty($board) && empty($topic))
{
//-> start change PortaMx
if(WIRELESS)
{
require_once($sourcedir . '/BoardIndex.php');
return 'BoardIndex';
}
elseif ($_SERVER['REQUEST_URI'] == '/' || $_SERVER['REQUEST_URI'] == '/index.php') {
return 'PortaMx';
} else {
header("HTTP/1.0 404 Not Found");
die();
}
//-> end change PortaMx
}


The problem why SimpleSEF is returning the board index is because of how SimpleSEF works. If it is not in its action array the action does not get set when going to index.php. Even though a action is clearly stated in the url SMF sees it as translated to the base url, no querystrings. So a easy way to fix this is to check the $SERVER['REQUEST_URI'] to see what is actually in there. If there is more than we expected then we know there is something wrong in the url so send a 404.

In my example I have a blank 404 set.

piplexi

thank you very much, this seems to work now.

But I have GoogleTagged Mod installed which doesn't seem to work anymore.

nend

It should have no effect on most mods if they have not modified that part of the index.php. Some mods, mainly portals change this part of the code for their front page. The code will be slightly different for these portals. However I posted this as a example, not to copy and paste directly but to give an idea of how to 404 a bad page with SimpleSEF.

Basically the code above is as simple as it gets, if the url is bad then 404 if not go to the board index.

If your still having problems with this GoogleTagged mod can I suggest Google Analytics. ;)

piplexi

got everything working. Thanks again.

I installed the googletag mod, because I thought it helps a bit SEO wise.

I switched from phpbb to smf a few month ago and Searchengine traffic decreased dramatically since then.
Even now a few months later there are still a lot of phpbb links indexed on google and barely any SMF Links.
Last week I've deleted the robots.txt (just used it to avoid indexing the "print" Pages).
It seems that now after I deleted the robots.txt, indexing works much better. Maybe I had some errors in it.

Anyway, so you think the googletag mod is not helping to get a better ranking in search engines?
Then I will remove it.

feline

@nend .. with the actually version of PortaMx (0.980 + update 0.980-1) and SEF 1.0.3 this works without any change or error ...

Fel

Advertisement: