ElkArte Community

Extending Elk => Addons => Topic started by: emanuele on August 14, 2013, 01:04:17 pm

Title: [ADDON] SimpleSEF
Post by: emanuele on August 14, 2013, 01:04:17 pm
Yesterday I was tired and bored, so I decided to do something very simple (sorry Spuds, a it of relax! :P), and since one of the first questions will be a "pretty-URL-like" thing I took a look around to see if there was something already usable and I found SimpleSEF with an MPL license, so I decided to try the porting to Elk.

The result is here:
https://github.com/emanuele45/SimpleSEF
It should work (you know I don't like test things too much :P), so if you want to play with it, feel free. :D
Title: Re: [ADDON] SimpleSEF
Post by: Spuds on August 15, 2013, 08:50:39 am
Cool ... its a good way to test the system and see all the stuff that we broke ...

Quote (sorry Spuds, a it of relax! :P)
You are supposed to be working on our super secret addon :P  ... Well then again I have not done anything on that in a few days but did make a PR to make some theme tweaks and a few errors I stumbled across.
Title: Re: [ADDON] SimpleSEF
Post by: kucing on September 08, 2014, 10:19:18 pm
Requesting Nginx support :)
Title: Re: [ADDON] SimpleSEF
Post by: Allan on September 08, 2014, 10:21:59 pm
Something I will be installing tomorrow, since I was going to post the need for pretty urls.
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on September 09, 2014, 04:08:23 am
I have no idea what is involved... :-[
Title: Re: [ADDON] SimpleSEF
Post by: Allan on September 09, 2014, 09:13:09 pm
Went to install this and I got an error when installing

Quote   8.   Extract Tree   ./sources/SimpleSEF-Ext    Modification parse error
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on September 11, 2014, 08:56:31 am
This package needs a bit of updating... :-\
Title: Re: [ADDON] SimpleSEF
Post by: Allan on September 11, 2014, 09:06:34 pm
OK I shall wait then, thank you.
Title: Re: [ADDON] SimpleSEF
Post by: P2P on September 12, 2014, 05:45:38 am
Hello..
version ElkArte 1.0
When installing I got this error:

:(
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on September 12, 2014, 08:10:12 am
http://www.elkarte.net/community/index.php?topic=513.msg12363#msg12363
And the same answer applies:
Quote from: emanuele – This package needs a bit of updating... :-\
Anyway, looking at the code it's better if it doesn't even install, because the package is really old and if the installation didn't fail the addon would create tons of problems.

At the moment I have some things to work on and this is not really a top priority, if anyone is interested, it has an open source license and can be fixed by anyone (that knows how to of course). ;)
Sorry. :(
Title: Re: [ADDON] SimpleSEF
Post by: Allan on September 12, 2014, 08:29:42 am
Truly understandable Emanuele  ;)
Title: Re: [ADDON] SimpleSEF
Post by: Feline on September 12, 2014, 09:14:21 am
Quote from: emanuele – The result is here:
https://github.com/emanuele45/SimpleSEF
It should work (you know I don't like test things too much :P), so if you want to play with it, feel free. :D
Not the best idea .. i have rewrote this long time ago for better work and more option ...
Title: Re: [ADDON] SimpleSEF
Post by: Spuds on September 12, 2014, 08:39:43 pm
Is it something that you could port to ElkArte as well  O:-) That would be awesome!
Title: Re: [ADDON] SimpleSEF
Post by: Allan on September 12, 2014, 09:08:49 pm
I agree spuds, this would be a very sought after mod.
Title: Re: [ADDON] SimpleSEF
Post by: Allan on December 13, 2014, 08:07:27 pm
Wondering if this was worked out.
Title: Re: [ADDON] SimpleSEF
Post by: Allan on December 17, 2014, 09:22:34 pm
@emanuele  does this work with current version?
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on December 22, 2014, 05:52:22 am
Not really.
I didn't have much time to deal with it.
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on January 09, 2015, 05:32:02 pm
And now, after ages, I can say I've worked on it a bit.
I'll take a bit of rest, tomorrow I'll do some tests and if everything (or at least most of everything) works as expected, I'll post the package.
In the meantime, I pushed the code to github.
Title: Simple SEF for Elkarte 1.0.4
Post by: shasha on July 16, 2015, 02:56:01 am
Hello MODs,

Please can anyone modify the simple SEF addon to be compatible for the recent version of Elkarte?

Thanks.

Here is the link to the older version of SEF

http://www.elkarte.net/community/index.php?topic=513.0
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on July 20, 2015, 03:00:12 pm
As far as I can see it should work as expected, did you have any problem?
Title: Re: [ADDON] SimpleSEF
Post by: shasha on July 24, 2015, 03:13:03 am
Quote from: emanuele – As far as I can see it should work as expected, did you have any problem?

i tried installing it @emanuele but gave me a warning that if would 'clash' with other addons that i had installed and may cause harm to the forum installation.
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on July 26, 2015, 03:27:18 pm
A directory was missing... Probably git doesn't like empty directories or something, because I had to add a fake index.php to make it show up in the repo.
Well, whatever.
Now it's there and I fixed also a bug I found.

Remember that to enable it you have to add an .htaccess (or equivalent for your webserver), the help button in the settings will give you an example that you can copy&paste.
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on October 18, 2015, 10:43:39 am
Actually, I found that this doesn't cope at all with the dispatching & C... I have to rewrite part of it...

Scratch what I said above, it's a much simpler problem (apparently).
Uploaded the repository.

Just as a reminder, you need an htaccess like this:
Code: [Select]
RewriteEngine On
# The following line must contain the relative directory to the forum install
RewriteBase /elk/
RewriteRule ^(cache|themes)($|/) - [L]
RewriteRule ^(.*)$ index.php
for the addon to work.

Demo at http://testing.elkarte.it/elk/
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on November 25, 2015, 03:48:16 am
Quote from: emanuele – Actually, I found that this doesn't cope at all with the dispatching & C... I have to rewrite part of it...

Scratch what I said above, it's a much simpler problem (apparently).
Uploaded the repository.

Just as a reminder, you need an htaccess like this:
Code: [Select]
RewriteEngine On
# The following line must contain the relative directory to the forum install
RewriteBase /elk/
RewriteRule ^(cache|themes)($|/) - [L]
RewriteRule ^(.*)$ index.php
for the addon to work.

Demo at http://testing.elkarte.it/elk/


Uhhh... that seems to have completely and utterly broken my site. I grabbed this and now it's generating... well... this

http://lysharia.com

Edit: Was able to disable simplesef. Whew. Never seen stuff blow up like that until now.

Edit2: Looks like I'm still having permissions issues... this is going to be real annoying... because this is on a cPanel server. Also, I am now unable to uninstall the mod.

QuoteSimpleSEF added 0.0134<
SimpleSEF added 0.0134
SimpleSEF added 0.0134!
SimpleSEF added 0.0134
SimpleSEF added 0.0134D
SimpleSEF added 0.0134
SimpleSEF added 0.0134O
SimpleSEF added 0.0134
SimpleSEF added 0.0134C
SimpleSEF added 0.0134
SimpleSEF added 0.0134T

That's what happens when I try enabling SimpleSEF. Is this normal?

Edit2: Error logs indicate:

QuoteApply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:48 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: queriesApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?https://lysharia.com/Apply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:48 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: seconds_withApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?https://lysharia.com/Apply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:48 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: queriesApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?https://lysharia.com/Apply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:48 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: page_createdApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?https://lysharia.com/Apply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:13 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: queriesApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?index=php%3Faction%3Dadmin%3Barea%3Dsimplesef%3Bsa%3Dbasic;action=admin;area=simplesef;sa=basicApply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:13 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: seconds_withApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?index=php%3Faction%3Dadmin%3Barea%3Dsimplesef%3Bsa%3Dbasic;action=admin;area=simplesef;sa=basicApply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:13 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: queriesApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?index=php%3Faction%3Dadmin%3Barea%3Dsimplesef%3Bsa%3Dbasic;action=admin;area=simplesef;sa=basicApply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:13 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: page_createdApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?index=php%3Faction%3Dadmin%3Barea%3Dsimplesef%3Bsa%3Dbasic;action=admin;area=simplesef;sa=basicApply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282
Title: Re: [ADDON] SimpleSEF
Post by: ahrasis on November 25, 2015, 10:51:08 am
I think your font awesome is not working somehow...
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on November 25, 2015, 04:52:42 pm
Quote from: ahrasis – I think your font awesome is not working somehow...

How do fix? >_>
Title: Re: [ADDON] SimpleSEF
Post by: Jorin on November 26, 2015, 01:14:08 am
If you were using another language then english I would say: "An undefined index error message does mean there is no translation for the english language string in your language files." But that's not the problem here, right?

Sorry for the crash! I hope you can fix it soon!  :(
Title: Re: [ADDON] SimpleSEF
Post by: wintstar on November 26, 2015, 01:32:36 am
@Keiro , IP addresses should not publish it 8)  
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on November 26, 2015, 03:49:55 am
Quote from: Jorin – If you were using another language then english I would say: "An undefined index error message does mean there is no translation for the english language string in your language files." But that's not the problem here, right?

Sorry for the crash! I hope you can fix it soon!  :(

That is correct. The forum is English-only.

Quote from: wintstar – @Keiro , IP addresses should not publish it 8) 


It's my IP address. I don't care if somebody comes across it.
Title: Re: [ADDON] SimpleSEF
Post by: ahrasis on November 26, 2015, 05:00:18 am

I am not so sure what is causing that, so I cannot suggest any fix.
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on November 27, 2015, 04:29:15 pm
Sorry for being so late, I've missed the topic... :-[
I'm really sorry.

If I'm not completely dumb (and I may actually be), to "quickly" uninstall the addon, just delete the file SimpleSEF.php from the sources directory. Once this is gone, the addon will not do anything any more.

About the error, being this late I didn't see the mess, so I'm not able to tell what could have happened...
If you can describe it I can try to guess, but guessing is not always the best thing to do. As we learned in this very case. :(
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on November 27, 2015, 11:02:54 pm
Quote from: emanuele – Sorry for being so late, I've missed the topic... :-[
I'm really sorry.

If I'm not completely dumb (and I may actually be), to "quickly" uninstall the addon, just delete the file SimpleSEF.php from the sources directory. Once this is gone, the addon will not do anything any more.

About the error, being this late I didn't see the mess, so I'm not able to tell what could have happened...
If you can describe it I can try to guess, but guessing is not always the best thing to do. As we learned in this very case. :(

I'm not sure what exactly happened here, but basically, what I did was to download SimpleSEF directly to the package directory. Uncompress it, as usual.

Then I went to the forum's admin center to install the package. After that, it redirects me to where I can actually manage the settings of the package in question. As soon as I enable it, no matter what options I pick, it immediately breaks as soon as I press apply.

Would you like access to the forum to try seeing this for yourself? The only way to get back into it is to go back into phpmyadmin and disable the mod's status by setting its status to 0 for enable/disable.
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on November 28, 2015, 02:13:07 am
Quote from: Keiro – As soon as I enable it, no matter what options I pick, it immediately breaks as soon as I press apply.
The problem here is define what "breaks" means. Really.
With htaccess and buffer rewrite around, breaks could mean literally any thing. ;)
Was giving a particular error? Was showing something specific? Any other detail?
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on November 28, 2015, 02:30:28 am
Quote from: emanuele –
Quote from: Keiro – As soon as I enable it, no matter what options I pick, it immediately breaks as soon as I press apply.
The problem here is define what "breaks" means. Really.
With htaccess and buffer rewrite around, breaks could mean literally any thing. ;)
Was giving a particular error? Was showing something specific? Any other detail?

I tried it both with and without .htaccess. I tried the .htaccess code you specified prior to my installing SimpleSEF. This is on an cPanel server, so I know .htaccess rules work. However, I've been having issues troubleshooting it... because it doesn't show up in the server's httpd logs at all.

I'm leaving SimpleSEF enabled for now so you can see for yourself the result of https://lysharia.com

Hmm. Wonder if SimplePortal being installed causes issues?
Title: Re: [ADDON] SimpleSEF
Post by: ahrasis on November 28, 2015, 09:36:56 am
For the time being, I cannot see your forum at all. I think you can just rename the .htaccess to htaccess.txt and delete SimpleSEF.php from the sources directory as suggested by @emanuele .
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on November 28, 2015, 01:43:09 pm
Quote from: ahrasis – For the time being, I cannot see your forum at all. I think you can just rename the .htaccess to htaccess.txt and delete SimpleSEF.php from the sources directory as suggested by @emanuele .

This is what happens when I enable SimpleSEF. Every single time. However, I did notice an interesting thing... this doesn't happen if I comment out this bit of code in .htaccess:

Quote#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Edit: Nope, looks like it happens even if I leave it commented out or leave it uncommented.
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on November 28, 2015, 03:41:53 pm
Ok, now I have a better idea of what is going on.
Just for the record, next time asimple screenshot is probably enough. ;D

It's a buffer-rewrite problem, I'll see if I can find out how to fix it.
It looks like a regexp is failing pretty bad.
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on November 28, 2015, 03:48:54 pm
Quote from: emanuele – Ok, now I have a better idea of what is going on.
Just for the record, next time asimple screenshot is probably enough. ;D

It's a buffer-rewrite problem, I'll see if I can find out how to fix it.
It looks like a regexp is failing pretty bad.

It's okay. I don't mind leaving it on like that... it's not like it's a constantly-used site. >_>

But thanks for checking into it. :) Disabling SimpleSEF, now.
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on December 23, 2015, 06:49:40 pm
Psst, @emanuele can we get this working? >_>
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on December 26, 2015, 05:20:30 pm
One day I hope so. :P
I'm pretty bad with regular expressions! xD
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on December 26, 2015, 05:24:27 pm
Quote from: emanuele – One day I hope so. :P
I'm pretty bad with regular expressions! xD

So we see... :P

I think I will go ahead and try fixing it. It's just the regular expressions that's the issue, correct?
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on December 26, 2015, 05:43:44 pm
Hmm, using http://www.devbug.co.uk for PHP code analysis returns the following:

QuoteLine 128: Eval Injection in 'preg_replace' via '$_GET'
Line 128: Eval Injection in 'preg_replace' via '$_SERVER'
Line 176: Header Injection in 'header' via '$_SERVER'

However, it doesn't catch the undefined objects that my forum was logging errors for that I posted.
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on January 24, 2016, 03:31:06 am
Any update on this addon? I tried but doesn't seem to convert the url
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on January 24, 2016, 02:50:05 pm
It would be great, if you help me with this Addon @emanuele

1) Where to put the .htaccess file
2) SimpleSEF is enabled and i get these help file

If you have an Apache webserver, or one that uses .htaccess and has mod_rewrite functionality, you need a .htaccess file in your main SMF directory with the following: Code: RewriteEngine On
# Uncomment the following line if its not working right
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

3) I pasted the .htaccess code and placed the file in the root folder. But the url hasn't changed. Am i doing something wrong.

4) I get this error, "The page you requested could not be found. Please contact the site administrator if you believe you have reached this page in error". So my host doesn't support it?
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on February 19, 2016, 09:28:28 am
Sorry, but I completely lost this topic (as you may have noticed I'm quite busy until the end of the month, from March I'll be likely free again and I'll just have to catch up on all I left behind).

Unfortunately, I picked up the "wrong addon" to take care of since I'm terribly bad with regex and htaccess rewrites, so it will take some time.
On the other hand, I was wondering: since the addon is MPL, what would you think about distributing it with 1.1? O:-)
Yeah, I know, more delay...that's why I don't know what to do... :-\
Title: Re: [ADDON] SimpleSEF
Post by: Keiro on February 19, 2016, 02:22:29 pm
Quote from: emanuele – Sorry, but I completely lost this topic (as you may have noticed I'm quite busy until the end of the month, from March I'll be likely free again and I'll just have to catch up on all I left behind).

Unfortunately, I picked up the "wrong addon" to take care of since I'm terribly bad with regex and htaccess rewrites, so it will take some time.
On the other hand, I was wondering: since the addon is MPL, what would you think about distributing it with 1.1? O:-)
Yeah, I know, more delay...that's why I don't know what to do... :-\

All I can say is: loudly sighs :P

I've been busy with stuff here, myself so I understand all too well the way life can just snatch you up and fly away with you at any moment without warning.
Title: Re: [ADDON] SimpleSEF
Post by: Joshua Dickerson on February 20, 2016, 07:37:07 pm
No 1.1. Maybe 1.2 but not 1.1.
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on March 19, 2016, 03:57:41 am
Back to this quickly before I have to go for a while.
I installed the addon at http://www.elkarte.it/elk1.1/ and it seems to work as expected[1].
I didn't use anything fancy, just the download link in the main page of the repository (link in the first post of this topic => the download button on the right side).
As far as I remember, the only thing I had to do is bypass the tests the addon does before enable it because it tests the regex without considering the possibility of subdirectories, so it was failing.
I had a bit of headache understanding .htaccess must go into the root of the site and the regex shal be changed including the directory, but after that it's okay.
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on March 20, 2016, 01:27:30 pm
I get this error, "The page you requested could not be found. Please contact the site administrator if you believe you have reached this page in error."

Is it due to SimpleSEF, as i didn't have any issues before.
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on March 20, 2016, 01:56:46 pm
ehm... which page? ;)
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on March 20, 2016, 02:48:02 pm
When i enter my username and password and click Login!
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on March 20, 2016, 03:21:33 pm
Odd...
I just tried at the 1.1 test site and it works fine, on your it gives this strange error page, though even with that page you are correctly logged in, so at last that's less bad.
Is there any error in the log that looks correlated?
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on March 20, 2016, 03:44:22 pm
Let's try a thing:
1) pick the file attached here and replace the one in /sources/admin
2) go to admin > config > simplesef > basic option; in this page, tick "advanced options" and save,
3) go to admin > config > simplesef > advanced options;
    3a) at the very end, where it says "Actions and User Actions", click on "Edit"
    3b) at the beginning of the first list add "auth," (pay attention there is a comma, it's a comma-separated list of values ;)
    3c) save
    3d) now, in the "Ignore Actions" section, select "auth" and move it to the right box (with the ">>" button, the first),
    3e) save.
let's see if the issue is what I think it is.
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on March 21, 2016, 02:53:26 am
@emanuele It takes me to http://indiantalkzone.com/dlattach/attach.27/type.avatar/ when i click login

Note: As of now i have disabled your steps
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on March 21, 2016, 03:18:56 am
Okay, now I think I'm starting to understand.
It's likely the way the "old url" (i.e. where to redirect to) is set/found that picks up wrong ones.
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on March 21, 2016, 03:24:02 am
So is it the .htaccess? or settings in simplesef
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on March 21, 2016, 03:39:31 am
It's a bug, it can be debated if the bug is in SimpleSEF or Elk, but it's a bug. O:-)
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on March 21, 2016, 03:41:16 am
Quote from: emanuele – It's a bug, it can be debated if the bug is in SimpleSEF or Elk, but it's a bug. O:-)
So i will disable SimpleSEF as of now?
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on March 21, 2016, 03:50:51 am
Instead of disable and enable it every two days I'd say you could disable as many actions as possible, leaving enabled pretty much: display, topic, board index, recent... and that's all I think.
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on March 21, 2016, 03:55:51 am
@emanuele I will keep it enabled, but will turn off the auth, thing you suggested. This might work for some days, until you fix the bug :)
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on March 24, 2016, 02:10:27 am
Any heads up ? I know you are so busy :(
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on March 25, 2016, 04:27:47 am
I was looking at it, but it's a mixture of things it seems I have to fix, likely Elk's code as well.
Please, have a look at the 1.1 testing site if now works for you.
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on March 25, 2016, 05:01:45 am
@emanuele 1.1 testing works fine, no issue with SimpleSEF and login :)
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on March 25, 2016, 05:09:23 am
Good.
I needed one more hook in Elk and a fix in SimpleSEF.
I'll add the new hook to 1.0.7 and update SimpleSEF after the release (should be this WE). ;)
Title: Re: [ADDON] SimpleSEF
Post by: IndianTalkZone on March 25, 2016, 05:22:15 am
Thank you so much for the support and update!
Title: Re: [ADDON] SimpleSEF
Post by: fritzelly on August 28, 2018, 03:52:26 pm
Sorry to drag up an old thread but has there been anymore recent development on this and/or is it still even safe to use?
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on August 30, 2018, 06:00:24 am
hmm... I'm not sure TBH.
I have to test it, but for sure it will not be this weekend.
I think it should be safe, but honestly I can't say for sure.
Title: Re: [ADDON] SimpleSEF
Post by: gevv on March 02, 2020, 09:58:01 am
Hi, a plugin like SMFSEO would be nice

https://custom.simplemachines.org/mods/index.php?mod=353

1) SEO optimized URLs using board and topic name instead of IDs!
2) Permanent redirect old URLs - no dead links
3) Sitemap generator. Automatically create valid sitemaps.
4) Meta optimizations.

an advanced elkarte seo plugin = more elkarte users :)
 
 
Title: Re: [ADDON] SimpleSEF
Post by: radu81 on March 02, 2020, 04:40:03 pm
https://addons.elkarte.net/feature/Optimus.html
it's not a SEF add-on, but has some options for sitemap and meta
Title: Re: [ADDON] SimpleSEF
Post by: emanuele on March 08, 2020, 07:32:27 pm
@gevv 2.0 has semantic urls built-in... of course it's not something that is ready tomorrow... unfortunately.