Forum Moderators: open

Message Too Old, No Replies

Should I use a Mod Rewrite to Regain Lost Yahoo Positions?

         

lizardlips

1:50 am on Jul 20, 2005 (gmt 0)

10+ Year Member



I need some expert advice on doing a mod rewrite on our site. We currently have around 50 static pages that rank very well top 5 of google.

The problem being is we were dropped by Yahoo and for the life of me can't find another reason we were banned. We were ranked in the 5 there also. I have contacted Yahoo and recived the generic email. No valid reason just a bunch of maybe's.

[edited by: martinibuster at 2:19 am (utc) on July 20, 2005]
[edit reason] tos#21 [/edit]

martinibuster

2:21 am on Jul 20, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I think that it would further the discussion if you explained why you think you need a mod rewrite.

lizardlips

2:46 am on Jul 20, 2005 (gmt 0)

10+ Year Member



There are a few reasons.

1. I am thinking about doing the mod rewrites to comply with Yahoo and hopefully get relisted.

2. While all are static pages are listed with Google none are liste with MSN. It would deffinitely be beneficial to our Members.

3. The peace of mind that comes with seeing some PageRank when I view our State pages.

Any advice would be greatly appreciated

martinibuster

3:12 am on Jul 20, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



So you mean that you have dynamic pages that need to be rewritten so that they are static, so that they rank well in Yahoo?

lizardlips

4:37 am on Jul 20, 2005 (gmt 0)

10+ Year Member



martinibuster,

We are using php on our State pages
Example www.#*$!#*$!xxxxxxx/inxxxxtors.php?st=fl

A mod rewrite would read www.xxxxxxxxxxxxx/florida.htm

Check you PM

bmsd33

9:17 pm on Jul 28, 2005 (gmt 0)

10+ Year Member



Have a Miva site, never had more than the directory listing and a couple of odd pages in Yahoo over several years. Now use mod_rewrite and have over 1,200 pages listed. Took a couple of months to show up, but it worked for us. BTW, no dynamic pages are included in the 1,200. Hasn't hurt in the other engines, either.

RichTC

12:03 am on Jul 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Lizard

We use a mixture of static and Dynamic on our site.

Have thought about this change myself and making them all Static but i just thought well Google can cope so why bother for Yahoo and MSN just because they cant cope!.

In MSN after the update it just ignored Dynamic pages from its index, for some reason it changed its algo by the looks of it. Likewise Yahoo since the new update.

I was amazed that msn would rank one of our less relevent static pages over a much more relevent Dynamic page so it proves it does now favour static over dynamic.

Would very much be interested to know how you get on if you take this action.

RichTC

11:24 pm on Jul 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can anyone tell me that has experience of using a mod rewrite to convert Dynamic pages into static if the search engines hit the new page with duplicate content issues?.

Im refering to the fact that i have a number of Dynamic pages that have been cashed by the search engines and if i use a mod rewrite im worried that when the bot next moves in, it might think these are new pages and duplicates of the previous cashed Dynamic ones?

Is this a possible issue i should worry about?

twist

2:42 am on Jul 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Redirect your old dynamic addresses to your new mod_rewrite static addresses.

A mod rewrite would read www.#*$!#*$!xxxxxxx/florida.htm

Why go to www.example.com/florida.htm? Your using mod_rewrite, get rid of the extentions altogether, www.example.com/florida/ or www.example.com/florida

Just pointing that option out before you redirect all your pages to .htm pages and then like that way better and have to redirect all over again.

jdMorgan

3:57 am on Jul 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Since I often see questions on this subject over in Apache, I'd like to just throw in a clarification for those thinking about doing this.

Mod_rewrite is only part of the solution; You also need to change all the links on all your pages from dynamic to static. In PHP it's often trivial to do this using preg_replace.

Search engines and users will then 'see' the static URLs linked on your pages and request them from your server.

When these requests arrive at your server, mod_rewrite kicks in, and converts the static URL back to the dynamic form needed to invoke your scripts. So in this scenario, mod_rewrite is used to internally rewrite from a static to a dynamic URL and not the reverse.

However, this leaves the situation where you may still have search engine listings or inbound links from other sites pointing to your old dynamic URLs. By use of a carefully-constructed RewriteRule, you can then 301-Redirect from the dynamic URL to the appropriate static URL, thereby informing the search engines to update their URL database. The trick is to prevent interacton between this redirect and the rewrite in the previous step to avoid a redirect-rewrite 'infinite' loop. Example [webmasterworld.com] (See msg#6) Note the difference between internal rewrites and external redirects -- it's important.

So, it's usually a three-step operation, a script change, a rewrite, and a redirect.

Jim