SEO Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherSEO Scripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old March 2nd, 2008, 01:21 PM
pro_seo's Avatar
pro_seo pro_seo is online now
Moderator
Click here for more information.
 
Join Date: Apr 2006
Location: I N D I A
Posts: 2,806 pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level)pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level)pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level)pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level)pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level)pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 6 Days 22 h 8 m 4 sec
Reputation Power: 34
Send a message via AIM to pro_seo Send a message via MSN to pro_seo Send a message via Yahoo to pro_seo Send a message via Google Talk to pro_seo Send a message via Skype to pro_seo
Exclamation STUCK with URL Rewriting. Need Help!!!

Friends,

I have a site which has a few dynamic URLs that I want to redirect into static ones. The site is in PHP

Now honestly I know a little less than nothing when it comes to URL Rewriting [in both Apache and IIS] and so I desperately seek your help here.

The URLs that I want to rewrite are like:

http://www.domain.com/file_name.php?id=14

Now this is what I have done:

Using the URL Rewriting tool at SEOchat, I have got a code which looks like:

RewriteRule file_name-id-(.*)\.html$ file_name.php?id=$1

I have placed this code within the htaccess and uploaded it.

Now when I try the page with the new URL I find that the page is opening with it which looks like:

http://www.domain.com/file_name-id-14.php

But when I click on the link on the website navigation menu, the old page still shows up [the dynamic one]

A few questions:

While rewriting URLs, after placing the code, do we need to update the internal linking with the URL of the new pages?

OR

Is there a way by which I can click on the link to the old [dynamic] page and it will be automatically redirected [301 of course] to the new static URL. I am pretty sure there is a way of doing this which I don't know.

So please advise me on what should I do in a step-by-step order while rewriting URLs in APACHE.

Thanks a lot in advance!
__________________

SEO FAQs - You might find your answer here.
SEOchat Forum Rules - Read Before You Post


**Do what you feel in your heart to be right- for you'll be criticized anyway. You'll be damned if you do, and damned if you don't.**

Reply With Quote
  #2  
Old March 3rd, 2008, 05:31 AM
pro_seo's Avatar
pro_seo pro_seo is online now
Moderator
Click here for more information.
 
Join Date: Apr 2006
Location: I N D I A
Posts: 2,806 pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level)pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level)pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level)pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level)pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level)pro_seo User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 6 Days 22 h 8 m 4 sec
Reputation Power: 34
Send a message via AIM to pro_seo Send a message via MSN to pro_seo Send a message via Yahoo to pro_seo Send a message via Google Talk to pro_seo Send a message via Skype to pro_seo
I think I should have used a shocking thread title to get attention

Anybody???

Reply With Quote
  #3  
Old March 26th, 2008, 02:29 PM
Brabus Brabus is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Jan 2008
Posts: 4 Brabus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 59 m 24 sec
Reputation Power: 0
Rewriting

Hello Pal!
I have some directory with the same problems. Can you advise me more sites where I will find anything that halp me to rebuild my directory to SEO friendly?

Reply With Quote
  #4  
Old March 26th, 2008, 02:43 PM
FogHorn's Avatar
FogHorn FogHorn is offline
hctibselgoogtonmai
SEO Chat Beginner (1000 - 1499 posts)
 
Join Date: Apr 2004
Posts: 1,478 FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level)FogHorn User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Weeks 1 Day 18 h 11 m 53 sec
Reputation Power: 15
Quote:
Originally Posted by pro_seo
1. While rewriting URLs, after placing the code, do we need to update the internal linking with the URL of the new pages?

OR

2. Is there a way by which I can click on the link to the old [dynamic] page and it will be automatically redirected [301 of course] to the new static URL. I am pretty sure there is a way of doing this which I don't know.

1. Yes, the internal links should point to the new url's.
2. Yes, you should permanently redirect the old url's to the new but not to avoid updating your internal links.
__________________
hctibselgoogtonmai

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherSEO Scripts > STUCK with URL Rewriting. Need Help!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway