News:

Wondering if this will always be free?  See why free is better.

Main Menu

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

SlammedDime

That is normal... that's a category, not a board.  Disable SimpleSEF and you'll see the same result.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Farmacija

No, it isn't, when i click here on link on this page for examle -> Customizing SMf i'm redirect just to that category not on index of all boards and categories.

See attach:
www.farmaceuti.com
www.farmaceuti.com/tekstovi

SlammedDime

You are redirected to the board index, and the hash takes you down to that category... try scrolling the page (hell, just look at the URL... 'index.php#c18').
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Suki

Is there a way to  change the categories url?

On my site I have a custom frontpage that replaces the Board Index,  the Board Index its on a custom  action  "forum"  when I'm not on the frontpage   the link for a category is this:   http://missallsunday.com/#c3   that of course leads me to the frontpage because I assume this is done intentionally by the mod, what I was wonder is if I could change that url to http://missallsunday.com/forum/#cX  which is the right url for the Board Index's categories.


I'm using SimpleSEF 2.1 SMF 2.0  on LiteSpeed

Thanks.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

SlammedDime

I would consider that to be a bug in whatever portal software you're using, as if you disable SimpleSEF, you'll likely have the same result.  If you do have the desired result with SimpleSEF disabled, let me know.  SimpleSEF only rewrites the urls as it finds them, and it's very specific about how it does it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Suki

OK, let me check then.   I'm not using any portal software its just a script I wrote for this, guess I didn't wrote it properly :P   

Do you have any idea where to start to check for this urls?  BoardIndex.template.php perhaps?

Yes it is my script, sorry   :-[
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

SlammedDime

You'll have to check around to see how/where that section of the link tree is made, or you could edit the function that spits out the link tree and modify the first value and append ?action=forum to it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

spiros

Tried again with release for 2 final. Same issue

Quote from: spiros on June 27, 2011, 05:04:50 PM
Then, although it created perfectly fine URLs it opened the home page of the main site. I.e. the forum is here:
www.nonsmokersclub.com/forum/index.php
but no matter which board or topic I clicked, it would open this page:
www.nonsmokersclub.com

elyparker

i use SIMPLESEF mod  and last smf 2.0

and SA FACEBOOK INTEGRATION mod, when simple sef is enable i get this error

Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in /home1/paraparl/public_html/facebookauth/base_facebook.php on line 970

when i did publish on a topic and not work associate users with facebook account

if i disable simplesef it work  but i need simple sef

i enabled advanced option and excluded all action from simple sef ma the same problem

SlammedDime

spiros - what is the contents, if any, of your .htaccess in your public_html folder?  And what is the contents of the .htaccess in your /forum folder.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Suki

Quote from: SlammedDime on June 29, 2011, 12:15:37 PM
You'll have to check around to see how/where that section of the link tree is made, or you could edit the function that spits out the link tree and modify the first value and append ?action=forum to it.


Thanks, it took me a while but I think I solved it with this:

Code (php) Select

if (!empty($context['linktree']))
foreach ($context['linktree'] as $key => $tree)
if (strpos($tree['url'], '#c') !== false && strpos($tree['url'], 'action=forum#c') === false)
$context['linktree'][$key]['url'] = str_replace('#c', '?action=forum#c', $tree['url']);
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Farmacija

#1211
Is there a way to 301 redirect all old urls to new ones?

I see that they are already 301 redirected?   :)
www.farmaceuti.com
www.farmaceuti.com/tekstovi

SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Farmacija

Bravo for you, i read earlier in this topic, i think, that all of the old urls lost their pr after enabling simplesef. :)
www.farmaceuti.com
www.farmaceuti.com/tekstovi

SlammedDime

I don't recall seeing that anywhere (unless someone came from a different SEO mod)... I think I've always had the 301 redirect in here
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Farmacija

Yes,my bad, it was talked about prety url mod :D

Quote from: Miss All Sunday on April 06, 2011, 10:10:32 AM
The old links tha pretty urls made will not longer work and google or any other search engine will just dismiss them, after you install simpleSEF the new links are going to be indexed, it just take time thats all.
www.farmaceuti.com
www.farmaceuti.com/tekstovi

spiros

Quote from: SlammedDime on June 30, 2011, 11:38:06 AM
spiros - what is the contents, if any, of your .htaccess in your public_html folder?  And what is the contents of the .htaccess in your /forum folder.

http://www.simplemachines.org/community/index.php?topic=352351.msg3090917#msg3090917

Adrek

Why my urls don't look like this one from example:
http://www.yourboard.com/index.php?board=1.0 =>> http://www.yourboard.com/general_discussion/
http://www.yourboard.com/index.php?topic=1.0 =>> http://www.yourboard.com/general_discussion/welcome_smf_1.0.html


Instead of this when i enable "Create Simple URLs" I have:
http://www.yourboard.com/index.php?board=1.0 =>> http://www.yourboard.com/board_1.0/
http://www.yourboard.com/index.php?topic=1.0 =>> http://www.yourboard.com/topic_1.msg1.html


and with disabled "Create Simple URLs"  urls look like this:
http://www.yourboard.com/index.php?board=1.0 =>> http://www.yourboard.com/board/
http://www.yourboard.com/index.php?board=2.0 =>> http://www.yourboard.com/a/
http://www.yourboard.com/index.php?board=3.0 =>> http://www.yourboard.com/n/
http://www.yourboard.com/index.php?topic=396.msg5356#new =>> http://www.yourboard.com/board/_396.msg5356.html


My server is LiteSpeed V5.5 with PHP 5.3 and MySQL 5.5.11-55
Earlier i had PrettyURLs, but i removed it before i installed SimpleSEF.
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

SlammedDime

Quote from: spiros on July 02, 2011, 03:36:21 AM
Quote from: SlammedDime on June 30, 2011, 11:38:06 AM
spiros - what is the contents, if any, of your .htaccess in your public_html folder?  And what is the contents of the .htaccess in your /forum folder.

http://www.simplemachines.org/community/index.php?topic=352351.msg3090917#msg3090917
If I had to guess, I'd say that Joomla's rewrites are interfering with SimpleSEF.  YOu can try to comment out the rewrite stuff in your public_html .htaccess file and see what happens then.  If that's the case, I'm not sure of the solution, I haven't run into that situation before.

ph4ntom - What language is your board in?  Are you using UTF-8?
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Adrek

Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Advertisement: