URL REQRITE NEED HELP QUICK!!

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

URL REQRITE NEED HELP QUICK!!

Postby slickdf » Fri Feb 15, 2008 2:27 am

Right, just installed advanced url rewrite. The index loads as normal but any other loads like there is no css styles in place. look:

Not working: http://www.wareswapper.com/vip-private-section/

Working: http://www.wareswapper.com/
slickdf
 
Posts: 16
Joined: Wed Feb 13, 2008 8:08 pm

Advertisement

Postby slickdf » Fri Feb 15, 2008 2:39 am

I disabled it for now so heres a screenshot:

Image

Image
slickdf
 
Posts: 16
Joined: Wed Feb 13, 2008 8:08 pm

Postby SeO » Fri Feb 15, 2008 1:36 pm

It's either because you did not perform the tpl code change for the template your are using or that you did not cleared phpBB's cache after you did.

You theme looks like based on prosilver, the prosilver code change should be easy to use with it.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby slickdf » Fri Feb 15, 2008 6:21 pm

Also, what mod you using so that the images stretch the content page instead of being cut off?

Ok right, refreshed cache and that works thanks!. Only problem now is when i try and send pm's or sometimes post look!

Image
slickdf
 
Posts: 16
Joined: Wed Feb 13, 2008 8:08 pm

Postby SeO » Sat Feb 16, 2008 9:19 am

postxx.html&ipr_p=xx where did you find this link ?

Was the ipr_p var added by a mod ?

Because I cannot find any occurrence of it in the original phpBB3 's code.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby slickdf » Sat Feb 16, 2008 10:50 am

not sure, i just installed optimal titles, dynamic meta tags (no problems with either of them ever), advanced url rewrite and no duplicate for it.

apart from that i had no errors on the board up to the url rewrite.
slickdf
 
Posts: 16
Joined: Wed Feb 13, 2008 8:08 pm

Postby slickdf » Sun Feb 17, 2008 3:37 pm

Any response SeO?
slickdf
 
Posts: 16
Joined: Wed Feb 13, 2008 8:08 pm

Postby SeO » Tue Feb 19, 2008 9:17 am

slickdf wrote:not sure


Well me neither ;)

As said, this bit does not looks like from the regular phpBB3 package.

The wrong format must only come from a mod not fully using append_sid to build urls, simple to fix, but we need to know where to look at.

Please tell me more about this, and better if you find the guilty bit of code in your phpBB3 files.
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby slickdf » Tue Feb 19, 2008 1:33 pm

thanks for help. not sure where im looking. is there a way to disable it from rewriting the most page? or that not good... im not really good with php... thanks alot up to now though!
slickdf
 
Posts: 16
Joined: Wed Feb 13, 2008 8:08 pm

Postby SeO » Thu Feb 21, 2008 10:30 am

Give a try searching for ipr_p in all your phpBB file, using search and replacefor example, and post here the lines of code where you find it (there should not be more than few).
SeO
Admin
Admin
 
Posts: 6334
Joined: Wed Mar 15, 2006 9:41 pm

Postby slickdf » Thu Feb 21, 2008 3:32 pm

Just going to check my edits in viewtopic.php but thisi s what i found:
Code: Select all
// 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");
}

It includes the "p=" and viewtopic whats being rewritten.
slickdf
 
Posts: 16
Joined: Wed Feb 13, 2008 8:08 pm

Postby slickdf » Thu Feb 21, 2008 3:37 pm

Just check my edits with no dupe and advanced rewrite and all are as they should be.
slickdf
 
Posts: 16
Joined: Wed Feb 13, 2008 8:08 pm

Postby HB » Thu Feb 21, 2008 3:49 pm

I googled "ipr_p"; it looks like you've installed the alternate version of Instant Post Redirect (the one that lets users select whether they want to redirect in the UCP).

An easy fix is back it out and go for the simple version (one line of code in posting.php).

Code: Select all
            meta_refresh(3, $redirect_url);


Add after:

Code: Select all
//-- mod : Instant Post Redirect ------------------------------------------------------------
//-- add
            redirect($redirect_url);
//-- fin mod : Instant Post Redirect --------------------------------------------------------

That's what I did and it works.
Dan Kehn
HB
phpBB SEO Team
phpBB SEO Team
 
Posts: 1510
Joined: Mon Oct 16, 2006 2:25 am

Postby slickdf » Thu Feb 21, 2008 5:11 pm

Thanks, it worked your a legend!
slickdf
 
Posts: 16
Joined: Wed Feb 13, 2008 8:08 pm


Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Baidu [Spider] and 9 guests