| :: |
| Author |
Message |
Deneb87
Joined: 03 Apr 2008 Posts: 4
|
Posted: Thu Apr 03, 2008 6:22 pm Post subject: Instant Post Redirect & ADV Seo MOD |
|
|
There anyway to make the SEO MOD compatible with Instant Post Redirect Fix for IE7?
here is the code of the IPR Mod:
Posting.php
| Code: | // ipr_p
if (($pos = strrpos($redirect_url, '#')) !== false)
{
$redirect_url = substr_replace($redirect_url, "&ipr_p={$data['post_id']}", $pos);
}
|
viewtopic.php
| Code: | // ipr_p
if (isset($_GET['ipr_p']))
{
$ipr_p = request_var('ipr_p', 0);
redirect("{$phpbb_root_path}viewtopic.$phpEx?p=$ipr_p#p$ipr_p");
}
|
I get this Error 404 when posting replyes:
| Code: | Not Found
The requested URL /post1763.html&ipr_p=1763 was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/1.3.37 Server at xxxxxxxxx Port 80 |
thanks^^ |
|
|
| Back to top |
|
 |
|
 |
Murack
Joined: 16 Apr 2008 Posts: 2
|
Posted: Wed Apr 16, 2008 10:16 pm Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
HI!
Nobody working on this? ? ? ?? ? ? ? ?
It's very important for me......please
Thanks |
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 800
|
Posted: Thu Apr 17, 2008 12:00 am Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
Do you mean this one?
http://www.phpbb.com/community/viewtopic.php?f=69&t=584852
Open posting.php. Find:
| Code: | | meta_refresh(3, $redirect_url); |
Add after:
| Code: | | redirect($redirect_url); |
It worked for me. |
_________________ Dan Kehn |
|
| Back to top |
|
 |
Deneb87
Joined: 03 Apr 2008 Posts: 4
|
Posted: Fri Apr 18, 2008 12:51 pm Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
this one is only for firefox
if you download the script, you will find in the zip a IEFIX directory |
Last edited by Deneb87 on Fri Apr 18, 2008 12:53 pm; edited 1 time in total |
|
| Back to top |
|
 |
Murack
Joined: 16 Apr 2008 Posts: 2
|
Posted: Fri Apr 18, 2008 12:52 pm Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
Hi!
It work only for Mozilla Firefox!
the script in the first post is a fix for IE
it add a $var that redirect to the last post |
|
|
| Back to top |
|
 |
Deneb87
Joined: 03 Apr 2008 Posts: 4
|
Posted: Fri Apr 18, 2008 12:54 pm Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
| Murack wrote: | Hi!
It work only for Mozilla Firefox!
the script in the first post is a fix for IE
it add a $var that redirect to the last post |
this is the name of the var
ipr_p |
|
|
| Back to top |
|
 |
Stokerpiller PR0

Joined: 24 May 2007 Posts: 73
|
Posted: Sat Apr 19, 2008 9:21 am Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
It works for me too.
Also with IE. |
|
|
| Back to top |
|
 |
Deneb87
Joined: 03 Apr 2008 Posts: 4
|
Posted: Sat Apr 19, 2008 10:40 am Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
with IE you will be redirected to the topic, not to the last post
with this Fix you get the redirect to the last post |
|
|
| Back to top |
|
 |
Stokerpiller PR0

Joined: 24 May 2007 Posts: 73
|
Posted: Sat Apr 19, 2008 11:10 am Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
| Deneb87 wrote: | with IE you will be redirected to the topic, not to the last post
with this Fix you get the redirect to the last post |
Damn, You are right Sorry.
I have the Evil QR installed and when using that one, You get redirected to last post. |
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 800
|
Posted: Mon Apr 21, 2008 2:51 am Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
| Deneb87 wrote: | with IE you will be redirected to the topic, not to the last post
with this Fix you get the redirect to the last post |
Sorry, you clearly said IE7 and I missed it. Indeed, you're correct, the IE workaround fails in the phpbb-seo version. I coded around it by testing for the browser and skipping the redirect (call it my veiled attempt to promote Firefox at IE's expense).
| Deneb87 wrote: | | I get this Error 404 when posting replyes: |
That part I was not able to reproduce, but I'm also running the recently released version 3.0.1 |
_________________ Dan Kehn |
|
| Back to top |
|
 |
Stokerpiller PR0

Joined: 24 May 2007 Posts: 73
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3301
|
|
| Back to top |
|
 |
Stokerpiller PR0

Joined: 24 May 2007 Posts: 73
|
Posted: Wed Apr 30, 2008 11:31 am Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
| SeO wrote: | | So, do you really need a fix, or do I miss something ? |
The fix mentoined in that thread, makes the Instant Post Redirect mod work in IE and with the Advanced SEO Mod.
So no, I dont need a fix. I was giving a fix  |
|
|
| Back to top |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3301
|
|
| Back to top |
|
 |
abramelin
Joined: 29 Apr 2008 Posts: 9
|
Posted: Tue May 06, 2008 9:32 am Post subject: Re: Instant Post Redirect & ADV Seo MOD |
|
|
| but it does not redirect to the written url SeO, can you fix this? it redirects to the normal (dynamic) phpbb3 viewtopic url after postings.can we redirect it to the static url SeO? |
|
|
| Back to top |
|
 |
|
|