* User

Welcome, Guest. Please login or register.
Did you miss your activation email?

15 Mar 10, 03:33:51

Login with username, password and session length

Select language:

* Recent Topics



Donate

Donate for PortaMx !
Your donation is safe and helps support the issues and causes you care most about.

* Stats

  • *Total Members: 1983
  • *Latest: Kleryk

  • *Total Posts: 9124
  • *Total Topics: 1328
  • *Online Today: 18
  • *Most Online: 157
(27 Aug 09, 03:54:53)
  • *Users: 1
  • *Guests: 17
  • *Spiders: 0
  • *Total: 18

* Themes

*

Author Topic: PortaMx and SimpleSEF test  (Read 1793 times)

0 Members and 1 Guest are viewing this topic.

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 2800
  • Gender: Female
Re: PortaMx and SimpleSEF test
« Reply #15 on: 18 Jan 10, 12:07:32 »
More problem I found and fixed ...

1) If you had enabled SMF Search engine friendly URLs, exist url (in posts) don't work.
find:
Code: [Select]
// Get the query string of the passed URL
$params = array();
$url_parts = parse_url(str_replace(array(',', '&', ';'), array('=', '&', '&'), $url));
replace:
Code: [Select]
// Get the query string of the passed URL
$params = array();
//> modify by PortaMx
$url_parts = parse_url(str_replace(array(',', '&', ';'), array('=', '&', '&'), str_replace($boardurl .'/index.php/', $scripturl .'?', $url)));

2) I see hundreds of url parse error in the apache error log.
I think this is a good fix ...
find:
Code: [Select]
// Parse the url
$url_parts = parse_url(str_replace($boardurl, '', $_SERVER['REQUEST_URL']));
if (empty($url_parts['path']) || $url_parts['path'] == '/')
return;
replace:
Code: [Select]
// Parse the url
//> modify by PortaMx
if(strpos($_SERVER['REQUEST_URL'], $boardurl) !== false)
{
$url_parts = parse_url(str_replace($boardurl, '', $_SERVER['REQUEST_URL']));
if (empty($url_parts['path']) || $url_parts['path'] == '/')
return;
}
else
return;

these fixes runs here.

Fel
Many are stubborn in relation to the path, a few in relation to the target.

Offline Cool

  • Free Tibet
  • Charter Member
  • *
  • Posts: 570
  • Gender: Male
  • I Hate Chinas Authority
Re: PortaMx and SimpleSEF test
« Reply #16 on: 18 Jan 10, 13:12:48 »
would be nice for others to know in wich files you did all the changes
Site:FikaGuide(Sv)|I Use:V0.971-2|SMF 2.0 RC2
Q: What do you do when you see a bear in the woods?
A: Play Dead!

EEE-PC:1000H-1TB_WD-2GB-Xp&Win7-BT_Gps-BT_Mouse-USB_Huawei_Hsdp

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 2800
  • Gender: Female
Re: PortaMx and SimpleSEF test
« Reply #17 on: 18 Jan 10, 17:12:56 »
We make a modification for SSEF 1.0.2 and PortaMx v0.971-2.
This will be developed today ..  ;)

Fel
Many are stubborn in relation to the path, a few in relation to the target.

Offline BurakG

  • Charter Member
  • *
  • Posts: 72
  • Gender: Male
    • MazdaClubTR
Re: PortaMx and SimpleSEF test
« Reply #18 on: 23 Jan 10, 23:02:20 »
*lol* ... no, no .. we have enough to do with the next major release of portamx.
# categories and articles
# designed front page

# download manager
and mutch more ...
I think, that is a long run  8)

Fel

I was looking for SimpleSEF and google got me here and was happy to see those :)

As far as I have seen  on mod's test site it doesnt have any affect on page descriptions. Wont that affect google indexes ?
Destiny. The design is clearly Ancient ..

Offline nend

  • Newbie
  • *
  • Posts: 13
Re: PortaMx and SimpleSEF test
« Reply #19 on: 26 Jan 10, 23:08:12 »
This does not work for me, ? Returns 500 server error. I need to look at the error logs but can't do that until tomorrow. Mod Rewrite is supported. ;)

Offline nend

  • Newbie
  • *
  • Posts: 13
Re: PortaMx and SimpleSEF test
« Reply #20 on: 26 Jan 10, 23:49:53 »
Ok, figured it out.

For Godaddy and maybe some other host your going to have to have your .htaccess like this instead.

Code: [Select]
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) /index.php

Almost the same code but a ^ and a / inserted.  ;D

Offline nend

  • Newbie
  • *
  • Posts: 13
Re: PortaMx and SimpleSEF test
« Reply #21 on: 27 Jan 10, 00:33:31 »
Well I guess this would be a integration bug. :(

I have hidden blocks on my site like ^arcade, but if I set it up this way to hide on a certain area on the site, it hides it everywhere. It somehow has to do with SimpleSEF.