Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Other - Discussion
Author Message
drmike
Worker
Worker



Joined: Jul 15, 2004
Posts: 108
Location: Charlotte, NC

PostPosted: Sat Aug 07, 2004 2:57 pm Reply with quote

Greets:

Maybe someone can help me with a rewrite rule. I have both Yahoo and Google looking for links like this one:

Only registered users can see links on this board! Get registered or login!

Up to the php, it's PHPNuke, the Season3 is from the old pre-PHPNuke site, and everything after that is PHPNuke.

Needless to say, it's wrong. But PHPNuke is feeding the search engines (and you if you view the link) a really, really screwed up verson of my home page. It's also making all the links start with that URL above and making things worse.

Can anyone think of a good rewrite rule that would force the browser/ search engine to Only registered users can see links on this board! Get registered or login! ?

thanks,
-drmike

_________________
Only registered users can see links on this board! Get registered or login!

Last edited by drmike on Wed Dec 29, 2004 12:11 pm; edited 1 time in total 
View user's profile Send private message Visit poster's website ICQ Number
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Aug 07, 2004 6:45 pm Reply with quote

Bang Head Can you break this down for an old fart? I am not getting your drift here.
 
View user's profile Send private message
GanjaUK
Life Cycles Becoming CPU Cycles



Joined: Feb 14, 2004
Posts: 633
Location: England

PostPosted: Sat Aug 07, 2004 7:15 pm Reply with quote

Could try something like:

Code:


Redirect /season3/ http://www.tdjc.net/index.php


Put that in a .htaccess in the route.

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
drmike







PostPosted: Sun Aug 08, 2004 11:43 am Reply with quote

GanjaUK wrote:
Could try something like:

Code:


Redirect /season3/ http://www.tdjc.net/index.php


Put that in a .htaccess in the route.


nearly 1,200 subdirectories (Each article was a subdirectory basicly) each one having at least 7 ways of getting there.

That would be at least 8,400 rewrites, all of them manually rewritten as there really wasn't a set pattern.

Smile

Easier to get Yahoo and Google to fix their issues and just spider the site new. They also have pic links that are 4 years out of date.

Raven, try this as I just posted in on a different site:

Quote:
The old structure was something like:

http://www.tdjc.net/pages.php/l/307/

The new structure is:

http://www.tdjc.net/modules.php?name=News&...order=0&thold=0

with graphic links at:

http://www.tdjc.net/modules/Web_Links/images/newgreen.gif

What the webengines is doing is combining the old style URLs with the new ones. jmcgon made the comment and from the quick glance at the logs I took yesterday before my time run up here, most of the incorrect links at something along the lines of:

http://tdjc.net/index.php/abunchofgarbagehere

with the search engines thinking index.php is a directory, not an actual page.

Now, I tried doing a redirect of

redirect /index.php/* http://www.tdjc.net/index.php

and

redirect /index.php/* http://www.tdjc.net/

neither worked and it caused the real index.php not to load for visitors.

Individual page redirects aren't going to happen as each of the 1,200 pages was reached by a minimal of 7 (and up to 12) links which would mean a total of at least 8,400 redirects all of them handwritten as each one is different.

I did get it to finally take a redirect of

http://tdjc.net/index.php/index.php becomes http://www.tdjc.net/index.php

thinking that maybe that's the point of entry

....and got a total of 949 redirects within a 10 hour period. (Like I said, this is really screwed up.)

I've gone to check the logs to the last few days. Maybe there's been an improvement.

Lots of fun.

-drmike


thanks,
-drmike
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Other - Discussion

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©