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

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:
You don't need a fax machine to get faxes. Get a fax-to-email fax number from CallWave. Try it free.
  #1  
Old May 8th, 2008, 06:54 AM
delhi.ankita delhi.ankita is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Posts: 5 delhi.ankita User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 12 sec
Reputation Power: 0
Mod-rewrite problem

Hi!

I had a product page with the following URL:


www(dot)xyz(dot)com/productdescription.php?keyval=27


Using mod_rewrite i have successfully 301 the page to:


www(dot)xyz(dot)com/Genee-DS.php


Now the problem is the link which points to the product page still shows the old dynamic URL. I want

to display the new URL: www(dot)xyz(dot)com/Genee-DS.php


Now what i should do.I used the following code in my .htaccess file:


RewriteCond %{QUERY_STRING} ^keyval\=27$ [nc]
RewriteRule ^productdescription\.php$ http://www(dot)xyz(dot)com/Genee-DS.php? [R=301,L]

Reply With Quote
  #2  
Old May 8th, 2008, 07:02 AM
full house's Avatar
full house full house is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 454 full house User rank is Lance Corporal (50 - 100 Reputation Level)full house User rank is Lance Corporal (50 - 100 Reputation Level)full house User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 2 Days 2 h 52 m 44 sec
Reputation Power: 2
I'm not code in htaccess but my point of view is, you try redirect the old dynamic url.
My site got that problem too, but its been fixed. every time I see the old url it redirect to the new url.

Reply With Quote
  #3  
Old May 8th, 2008, 07:12 AM
ClickyB's Avatar
ClickyB ClickyB is offline
Scru u guys I'm goin home
Click here for more information.
 
Join Date: Mar 2004
Location: Gloucester (South West UK).
Posts: 3,625 ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level)ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level)ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level)ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level)ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level)ClickyB User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 1 Day 12 h 27 m 4 sec
Reputation Power: 44
Rewriting the url with mod_rewrite will not change the fact that the shopping cart script creates a link with the original url... to do that you would need to alter the script.

Why do you want the new url displayed?
__________________
ClickyB
"The quality of the visitor is more important than the volume".. Egol 22nd Feb 2008
New to SEO? Start Here: SEO FAQ
Forum Rules & Posting Guidelines

Reply With Quote
  #4  
Old May 8th, 2008, 08:02 AM
delhi.ankita delhi.ankita is offline
Registered User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Feb 2008
Posts: 5 delhi.ankita User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 12 sec
Reputation Power: 0
Quote:
Originally Posted by ClickyB
Rewriting the url with mod_rewrite will not change the fact that the shopping cart script creates a link with the original url... to do that you would need to alter the script.

Why do you want the new url displayed?


I want to create seo firendly URLs. How i can alter the script.I spent so much time on the Apache module rewrite but still my problem is not solved

Reply With Quote
Reply

Viewing: SEO Chat ForumsGoogleGoogle Optimization > Mod-rewrite problem


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

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

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





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