Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
How to create a static URL to point to a PHP page?
Old 09-23-2007, 09:45 PM How to create a static URL to point to a PHP page?
Average Talker

Posts: 18
Name: Paul Burani
Trades: 0
I've got a Products page on my client's PHP site which I want to make a hub for various link building efforts. Would also like it to show up as a clean looking URL such as www.laviolarestaurant.com/products.htm, instead of what it looks like now:
http://www.laviolarestaurant.com/php...&compcode=gene

Is there a way I can do this, with a redirect or some other measure which doesn't require rocket science? Can it be done without a major SEO sacrifice?

Thanks
PB
cavemanlawyer15 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-23-2007, 10:03 PM Re: How to create a static URL to point to a PHP page?
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
Trades: 0
This can be done using htaccess rewrite module:

Code:
RewriteEngine On
# This rule will convert: http://www.laviolarestaurant.com/product-59.html
# To: http://www.laviolarestaurant.com/php...&compcode=gene
RewriteRule ^product-([0-9]+).html$ php/mainSubPage\.php?linkid=$1&compcode=gene&%{QUERY_STRING} [L]
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is online now
Reply With Quote
View Public Profile
 
Old 09-24-2007, 05:17 AM Re: How to create a static URL to point to a PHP page?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,528
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Can it be done without a major SEO sacrifice?
Any time URLs are redirected there will be SE disruption.

301 redirected & rewritten URLs take around 3 months to restabilise
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to How to create a static URL to point to a PHP page?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12985 seconds with 12 queries