User

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


Login with username, password and session length

Select language:

Community



Donate

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

Stats

  • *Total Members: 4010
  • *Latest: kuki78

  • *Total Posts: 15656
  • *Total Topics: 2322
  • *Online Today: 23
  • *Most Online: 157
(27 Aug 09, 03:54:53)
  • *Users: 0
  • *Guests: 20
  • *Total: 20

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

0 Members and 1 Guest are viewing this topic.

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5224
  • 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: 714
  • 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
|I Use: SMF 2.0 | PortaMx 1.4
Q: What do you do when you see a bear in the woods?
A: Play Dead!

H-A-H-L = Happy Admins Have Linux

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5224
  • 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

  • PortaMx Language
  • *
  • Posts: 221
  • Gender: Male
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 ..

http://www.mazdaclubtr.com
http://www.subaruclubtr.com

Offline nend

  • Newbie
  • *
  • Posts: 21
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: 21
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: 21
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.