Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Web Development & Graphic Design Problem Solving for Graphic Design, PHP, ASP, Perl, MySQL, SQL, XML, HTML issues

Reply
 
Topic Tools
  #1  
Old May 15th, 2008, 05:52 PM
SystemLord SystemLord is offline
Member
 
Join Date: Apr 2006
Posts: 92
.htaccess

Alright here is the problem; i want to display all my URL's in static form instead of dynamic form, so that search engines will index them.
I am trying to do this using .htaccess, my rewriteRule is below in code box:

Code:
RewriteRule ^cylinder_head-([^-]+)-([^-]+)-liter-([^-]+)-valve-([^-]+)-([^-]+)-side-([^-]+)-([^-]+)-([^/\.]+).html$ /headProduct.php?part_num=$8 [L]
Now the rule works, however it doesn’t just load the dynamic url but also changes the URL back to the dynamic form. How can i correct this so that the URL bar will display the static form of the url but load the dynamic one.

I have been trying this over 3 days now and cant seem to figure it out, hopefully someone can help me.

SyS
Reply With Quote
  #2  
Old May 15th, 2008, 10:06 PM
FrEaKmAn FrEaKmAn is offline
Senior Member
 
Join Date: Aug 2005
Posts: 477
what do u mean by changing back to dynamic? redirecting back to dynamic?
Reply With Quote
  #3  
Old May 15th, 2008, 10:49 PM
SystemLord SystemLord is offline
Member
 
Join Date: Apr 2006
Posts: 92
Well if i have a link, or enter
http://www.domainname.com/cylinder_h...T7-AC999C.html

it should display the above URL in the browser, but it should load the dynamic content below:
http://www.domainname.com/headProduc...art_num=AC999C

Right now if i enter the first URL or click on the link, it will load the dynamic content but also change the browser window URL to the dynamic form.

I want to internally load the dynamic content page, but to the user aka the search engine display the static form so that it will get index.
Reply With Quote
Reply

Bookmarks

Topic Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Topic Topic Starter Forum Replies Last Post
htaccess FrEaKmAn Web Development & Graphic Design 1 May 19th, 2007 06:29 PM
SSL & .htaccess Bluestcat Web Development & Graphic Design 5 February 26th, 2006 02:43 PM
.htaccess help please mkvl3 Web Development & Graphic Design 8 October 30th, 2005 10:47 PM
htaccess help meek Web Development & Graphic Design 8 May 11th, 2005 09:31 PM


All times are GMT +1. The time now is 03:56 PM.